[AdvancedNetworkPolicy] MOC-SDK Changes for LNET and NIC - #332
Merged
Conversation
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Madhan Raj Mookkandy (madhanrm)
previously approved these changes
Aug 5, 2025
mjethwa-msft
dismissed stale reviews from Nithin Jose (nijosmsft) and Madhan Raj Mookkandy (madhanrm)
via
August 13, 2025 16:50
2e4a3f7
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
mjethwa-msft
force-pushed
the
user/mjethwa-msft/sdn-optionality
branch
from
September 2, 2025 19:39
1b04023 to
a1b9295
Compare
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
mjethwa-msft
force-pushed
the
user/mjethwa-msft/sdn-optionality
branch
from
September 4, 2025 17:14
a1b9295 to
1c28ed6
Compare
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
adfema
previously approved these changes
Sep 4, 2025
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
adfema
approved these changes
Sep 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for
AdvancedNetworkPolicyin theLogicalNetworkandNetworkInterface, enabling the representation and conversion of advanced network policy types between SDK and cloud agent formats. Key changes include the addition of new types and methods for advanced network policies, and integration of these policies into logical networks and network interfaces.Advanced Network Policy Implementation:
NetworkPolicyTypeandAdvancedNetworkPolicytypes to represent advanced network policies inservices/network/network.go. [1] [2]GetWssdAdvancedNetworkPolicies,GetNetworkAdvancedNetworkPolicies,getWssdPolicyType,getNetworkPolicyType) inservices/network/common.gofor converting policies between SDK and cloud agent representations.Logical Network Enhancements:
AdvancedNetworkPoliciesinto the logical network creation and retrieval processes inservices/network/logicalnetwork/logicalnetwork.go. [1] [2] [3]Network Interface Enhancements:
AdvancedNetworkPoliciesin network interface creation and retrieval inservices/network/networkinterface/networkinterface.go. [1] [2] [3]Dependency Updates:
TODO:
go.mod:github.com/microsoft/mocto a newer version once merged (v0.34.1-0.20250728164450-563bb240a68a).Feature design doc for more details:
Related PRs: