Skip to content

Commit

Permalink
Add SDN optionality parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
mjethwa-msft committed Dec 18, 2024
1 parent 0ba01fe commit 0d72037
Show file tree
Hide file tree
Showing 4 changed files with 315 additions and 117 deletions.
216 changes: 152 additions & 64 deletions rpc/cloudagent/network/moc_cloudagent_networkinterface.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ import "google/protobuf/wrappers.proto";
import "moc_common_common.proto";
import "moc_common_networkcommon.proto";

enum PolicyType {
UNKNOWN = 0;
SDN_ALL = 1;
}

message AdvancedNetworkPolicy {
PolicyType type = 1;
bool enabled = 2;
}

message NetworkInterfaceRequest {
repeated NetworkInterface NetworkInterfaces = 1;
Operation OperationType = 2;
Expand Down Expand Up @@ -70,6 +80,7 @@ message NetworkInterface {
string virtualMachineName = 11;
uint32 iovWeight = 12;
Tags tags = 13;
repeated AdvancedNetworkPolicy policies = 14;
}

service NetworkInterfaceAgent {
Expand Down
Loading

0 comments on commit 0d72037

Please sign in to comment.