Skip to content

Add ProviderAddress network policy - #28

Open
David Schott (daschott) wants to merge 1 commit into
microsoft:mainfrom
daschott:user/daschott/provider_address_policy
Open

Add ProviderAddress network policy #28
David Schott (daschott) wants to merge 1 commit into
microsoft:mainfrom
daschott:user/daschott/provider_address_policy

Conversation

@daschott

Copy link
Copy Markdown
Collaborator

Add support for network-level policy "ProviderAddress" which selects Network Adapter during network creation based on the IP address assigned to the adapter.

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR adds a new HCN network policy setting type for selecting a network adapter by provider IP address.

Changes:

  • Introduces ProviderAddressNetworkPolicySetting with a ProviderAddress JSON field.
  • Adds a short doc comment describing the new setting.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment threadhcn/hcnpolicy.go
NetworkAdapterName string `json:",omitempty"`
}

// ProviderAddressNetworkPolicySetting sets network adapter of a network based on IP address.
Sign up for freeto 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

@daschott@princepereira