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 SDN optionality parameter in Network Interface #326

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
220 changes: 154 additions & 66 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 @@ -71,6 +81,7 @@ message NetworkInterface {
string virtualMachineName = 11;
uint32 iovWeight = 12;
Tags tags = 13;
repeated AdvancedNetworkPolicy policies = 14;
}

service NetworkInterfaceAgent {
Expand Down
Loading