Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Logical Network Support #160

Merged
merged 21 commits into from
Jan 23, 2024
Merged

Add Logical Network Support #160

merged 21 commits into from
Jan 23, 2024

Conversation

mjethwa-msft
Copy link
Contributor

@mjethwa-msft mjethwa-msft commented May 10, 2023

Design Spec: Link

Sample Test Commands: Added to the spec

// AddressSpace - The AddressSpace that contains an array of IP address ranges that can be used by subnets.
AddressSpace *AddressSpace `json:"addressSpace,omitempty"`
// DhcpOptions - The dhcpOptions that contains an array of DNS servers available to VMs deployed in the Logical network.
DhcpOptions *DhcpOptions `json:"dhcpOptions,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we have dhcp options here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For LNET in SDN it is per subnet so I moved the dnsservers per subnet for LNET.

wssdsubnet.Dns = &wssdcommonproto.Dns{
Servers: *subnet.DhcpOptions.DNSServers,
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did we decide to use dhcp options for moc-sdk but just dnsservers for cloudagent?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to keep the contract similar to virtual network.

@mjethwa-msft mjethwa-msft merged commit 6901e2d into main Jan 23, 2024
6 checks passed
@mjethwa-msft mjethwa-msft deleted the user/mjethwa-msft/lnet branch March 21, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants