From 2ad85893f3bf9d33da4c5b1fb8e5ed0b4ad857df Mon Sep 17 00:00:00 2001 From: mjethwa-msft Date: Wed, 18 Dec 2024 14:31:45 -0800 Subject: [PATCH 1/3] Add SDN optionality parameter --- .../moc_cloudagent_networkinterface.pb.go | 218 ++++++++++++------ .../moc_cloudagent_networkinterface.proto | 11 + ...oc_nodeagent_virtualnetworkinterface.pb.go | 194 +++++++++++----- ...oc_nodeagent_virtualnetworkinterface.proto | 11 + 4 files changed, 315 insertions(+), 119 deletions(-) diff --git a/rpc/cloudagent/network/moc_cloudagent_networkinterface.pb.go b/rpc/cloudagent/network/moc_cloudagent_networkinterface.pb.go index dfa59e7b..8b65a2b2 100644 --- a/rpc/cloudagent/network/moc_cloudagent_networkinterface.pb.go +++ b/rpc/cloudagent/network/moc_cloudagent_networkinterface.pb.go @@ -26,6 +26,31 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type PolicyType int32 + +const ( + PolicyType_UNKNOWN PolicyType = 0 + PolicyType_SDN_ALL PolicyType = 1 +) + +var PolicyType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "SDN_ALL", +} + +var PolicyType_value = map[string]int32{ + "UNKNOWN": 0, + "SDN_ALL": 1, +} + +func (x PolicyType) String() string { + return proto.EnumName(PolicyType_name, int32(x)) +} + +func (PolicyType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_641284ba8360303c, []int{0} +} + type NetworkInterface_NetworkInterfaceType int32 const ( @@ -48,7 +73,54 @@ func (x NetworkInterface_NetworkInterfaceType) String() string { } func (NetworkInterface_NetworkInterfaceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_641284ba8360303c, []int{6, 0} + return fileDescriptor_641284ba8360303c, []int{7, 0} +} + +type AdvancedNetworkPolicy struct { + Type PolicyType `protobuf:"varint,1,opt,name=type,proto3,enum=moc.cloudagent.network.PolicyType" json:"type,omitempty"` + Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdvancedNetworkPolicy) Reset() { *m = AdvancedNetworkPolicy{} } +func (m *AdvancedNetworkPolicy) String() string { return proto.CompactTextString(m) } +func (*AdvancedNetworkPolicy) ProtoMessage() {} +func (*AdvancedNetworkPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_641284ba8360303c, []int{0} +} + +func (m *AdvancedNetworkPolicy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdvancedNetworkPolicy.Unmarshal(m, b) +} +func (m *AdvancedNetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdvancedNetworkPolicy.Marshal(b, m, deterministic) +} +func (m *AdvancedNetworkPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdvancedNetworkPolicy.Merge(m, src) +} +func (m *AdvancedNetworkPolicy) XXX_Size() int { + return xxx_messageInfo_AdvancedNetworkPolicy.Size(m) +} +func (m *AdvancedNetworkPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_AdvancedNetworkPolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_AdvancedNetworkPolicy proto.InternalMessageInfo + +func (m *AdvancedNetworkPolicy) GetType() PolicyType { + if m != nil { + return m.Type + } + return PolicyType_UNKNOWN +} + +func (m *AdvancedNetworkPolicy) GetEnabled() bool { + if m != nil { + return m.Enabled + } + return false } type NetworkInterfaceRequest struct { @@ -63,7 +135,7 @@ func (m *NetworkInterfaceRequest) Reset() { *m = NetworkInterfaceRequest func (m *NetworkInterfaceRequest) String() string { return proto.CompactTextString(m) } func (*NetworkInterfaceRequest) ProtoMessage() {} func (*NetworkInterfaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_641284ba8360303c, []int{0} + return fileDescriptor_641284ba8360303c, []int{1} } func (m *NetworkInterfaceRequest) XXX_Unmarshal(b []byte) error { @@ -111,7 +183,7 @@ func (m *NetworkInterfaceResponse) Reset() { *m = NetworkInterfaceRespon func (m *NetworkInterfaceResponse) String() string { return proto.CompactTextString(m) } func (*NetworkInterfaceResponse) ProtoMessage() {} func (*NetworkInterfaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_641284ba8360303c, []int{1} + return fileDescriptor_641284ba8360303c, []int{2} } func (m *NetworkInterfaceResponse) XXX_Unmarshal(b []byte) error { @@ -164,7 +236,7 @@ func (m *NetworkInterfacePrecheckRequest) Reset() { *m = NetworkInterfac func (m *NetworkInterfacePrecheckRequest) String() string { return proto.CompactTextString(m) } func (*NetworkInterfacePrecheckRequest) ProtoMessage() {} func (*NetworkInterfacePrecheckRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_641284ba8360303c, []int{2} + return fileDescriptor_641284ba8360303c, []int{3} } func (m *NetworkInterfacePrecheckRequest) XXX_Unmarshal(b []byte) error { @@ -206,7 +278,7 @@ func (m *NetworkInterfacePrecheckResponse) Reset() { *m = NetworkInterfa func (m *NetworkInterfacePrecheckResponse) String() string { return proto.CompactTextString(m) } func (*NetworkInterfacePrecheckResponse) ProtoMessage() {} func (*NetworkInterfacePrecheckResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_641284ba8360303c, []int{3} + return fileDescriptor_641284ba8360303c, []int{4} } func (m *NetworkInterfacePrecheckResponse) XXX_Unmarshal(b []byte) error { @@ -252,7 +324,7 @@ func (m *InboundNatRule) Reset() { *m = InboundNatRule{} } func (m *InboundNatRule) String() string { return proto.CompactTextString(m) } func (*InboundNatRule) ProtoMessage() {} func (*InboundNatRule) Descriptor() ([]byte, []int) { - return fileDescriptor_641284ba8360303c, []int{4} + return fileDescriptor_641284ba8360303c, []int{5} } func (m *InboundNatRule) XXX_Unmarshal(b []byte) error { @@ -303,7 +375,7 @@ func (m *IpConfiguration) Reset() { *m = IpConfiguration{} } func (m *IpConfiguration) String() string { return proto.CompactTextString(m) } func (*IpConfiguration) ProtoMessage() {} func (*IpConfiguration) Descriptor() ([]byte, []int) { - return fileDescriptor_641284ba8360303c, []int{5} + return fileDescriptor_641284ba8360303c, []int{6} } func (m *IpConfiguration) XXX_Unmarshal(b []byte) error { @@ -429,6 +501,7 @@ type NetworkInterface struct { VirtualMachineName string `protobuf:"bytes,11,opt,name=virtualMachineName,proto3" json:"virtualMachineName,omitempty"` IovWeight uint32 `protobuf:"varint,12,opt,name=iovWeight,proto3" json:"iovWeight,omitempty"` Tags *common.Tags `protobuf:"bytes,13,opt,name=tags,proto3" json:"tags,omitempty"` + Policies []*AdvancedNetworkPolicy `protobuf:"bytes,14,rep,name=policies,proto3" json:"policies,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -438,7 +511,7 @@ func (m *NetworkInterface) Reset() { *m = NetworkInterface{} } func (m *NetworkInterface) String() string { return proto.CompactTextString(m) } func (*NetworkInterface) ProtoMessage() {} func (*NetworkInterface) Descriptor() ([]byte, []int) { - return fileDescriptor_641284ba8360303c, []int{6} + return fileDescriptor_641284ba8360303c, []int{7} } func (m *NetworkInterface) XXX_Unmarshal(b []byte) error { @@ -550,8 +623,17 @@ func (m *NetworkInterface) GetTags() *common.Tags { return nil } +func (m *NetworkInterface) GetPolicies() []*AdvancedNetworkPolicy { + if m != nil { + return m.Policies + } + return nil +} + func init() { + proto.RegisterEnum("moc.cloudagent.network.PolicyType", PolicyType_name, PolicyType_value) proto.RegisterEnum("moc.cloudagent.network.NetworkInterface_NetworkInterfaceType", NetworkInterface_NetworkInterfaceType_name, NetworkInterface_NetworkInterfaceType_value) + proto.RegisterType((*AdvancedNetworkPolicy)(nil), "moc.cloudagent.network.AdvancedNetworkPolicy") proto.RegisterType((*NetworkInterfaceRequest)(nil), "moc.cloudagent.network.NetworkInterfaceRequest") proto.RegisterType((*NetworkInterfaceResponse)(nil), "moc.cloudagent.network.NetworkInterfaceResponse") proto.RegisterType((*NetworkInterfacePrecheckRequest)(nil), "moc.cloudagent.network.NetworkInterfacePrecheckRequest") @@ -566,64 +648,68 @@ func init() { } var fileDescriptor_641284ba8360303c = []byte{ - // 901 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x4d, 0x6f, 0xe3, 0x44, - 0x18, 0xde, 0x7c, 0x36, 0x79, 0xd3, 0x66, 0xc3, 0xa8, 0x10, 0x2b, 0x62, 0x4b, 0x64, 0x16, 0xc8, - 0x01, 0x1c, 0x08, 0x48, 0xbb, 0x17, 0x0e, 0x2d, 0x20, 0x14, 0x44, 0x4b, 0x98, 0xae, 0x16, 0x09, - 0x21, 0xad, 0x26, 0xf6, 0xc4, 0x19, 0xd5, 0x9e, 0x31, 0xe3, 0x71, 0x4b, 0x4e, 0x1c, 0xe1, 0x9f, - 0xc0, 0x1f, 0xe0, 0xc6, 0x95, 0xff, 0x85, 0xfc, 0xda, 0x6e, 0x9c, 0x2f, 0xa9, 0x7b, 0xd8, 0x53, - 0x32, 0xef, 0xf3, 0xbc, 0xcf, 0xbc, 0x9f, 0x63, 0xf8, 0x20, 0x54, 0xee, 0x2b, 0x37, 0x50, 0x89, - 0xc7, 0x7c, 0x2e, 0xcd, 0x2b, 0xc9, 0xcd, 0x9d, 0xd2, 0x37, 0x42, 0x1a, 0xae, 0x17, 0xcc, 0xe5, - 0x4e, 0xa4, 0x95, 0x51, 0xe4, 0x9d, 0x50, 0xb9, 0xce, 0x9a, 0xe6, 0xe4, 0xb4, 0xc1, 0x99, 0xaf, - 0x94, 0x1f, 0xf0, 0x31, 0xb2, 0xe6, 0xc9, 0x62, 0x7c, 0xa7, 0x59, 0x14, 0x71, 0x1d, 0x67, 0x7e, - 0x83, 0x3e, 0xca, 0xab, 0x30, 0x54, 0x32, 0xff, 0xc9, 0x81, 0xb3, 0x12, 0x90, 0x8b, 0x95, 0x71, - 0xfb, 0xaf, 0x0a, 0xf4, 0xaf, 0x32, 0xfb, 0xb4, 0x88, 0x85, 0xf2, 0x5f, 0x13, 0x1e, 0x1b, 0xf2, - 0x12, 0xde, 0xda, 0x86, 0x62, 0xab, 0x32, 0xac, 0x8d, 0x3a, 0x93, 0x91, 0xb3, 0x3f, 0x50, 0x67, - 0x47, 0x6b, 0x57, 0x82, 0x7c, 0x01, 0x27, 0x3f, 0x44, 0x5c, 0x33, 0x23, 0x94, 0x7c, 0xb1, 0x8a, - 0xb8, 0x55, 0x1d, 0x56, 0x46, 0xdd, 0x49, 0x17, 0x35, 0xef, 0x11, 0xba, 0x49, 0xb2, 0xff, 0xad, - 0x80, 0xb5, 0x1b, 0x69, 0x1c, 0x29, 0x19, 0xf3, 0x37, 0x16, 0xea, 0x04, 0x9a, 0x94, 0xc7, 0x49, - 0x60, 0x30, 0xc6, 0xce, 0x64, 0xe0, 0x64, 0x8d, 0x70, 0x8a, 0x46, 0x38, 0x17, 0x4a, 0x05, 0x2f, - 0x59, 0x90, 0x70, 0x9a, 0x33, 0xc9, 0x29, 0x34, 0xbe, 0xd1, 0x5a, 0x69, 0xab, 0x36, 0xac, 0x8c, - 0xda, 0x34, 0x3b, 0xd8, 0x2b, 0x78, 0x6f, 0x5b, 0x7e, 0xa6, 0xb9, 0xbb, 0xe4, 0xee, 0xcd, 0x1b, - 0xae, 0xb7, 0x1d, 0xc0, 0xf0, 0xf0, 0xd5, 0x79, 0x01, 0xd7, 0x89, 0x56, 0x5e, 0x3f, 0xd1, 0x6a, - 0x39, 0xd1, 0xa7, 0xd0, 0x9d, 0xca, 0xb9, 0x4a, 0xa4, 0x77, 0xc5, 0x0c, 0x4d, 0x02, 0x4e, 0x08, - 0xd4, 0x25, 0x0b, 0x39, 0x2a, 0xb7, 0x29, 0xfe, 0xb7, 0xff, 0x6e, 0xc0, 0xe3, 0x69, 0xf4, 0x95, - 0x92, 0x0b, 0xe1, 0x27, 0x59, 0x97, 0x89, 0x0d, 0x6d, 0x11, 0x31, 0xcf, 0xd3, 0x3c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 0xdc, - 0x25, 0x48, 0x09, 0x00, 0x00, + // 971 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x8e, 0x1b, 0x45, + 0x10, 0xce, 0xac, 0xff, 0xcb, 0xbb, 0x8e, 0x69, 0x6d, 0xf0, 0xc8, 0x82, 0xc5, 0x1a, 0x42, 0xb0, + 0x10, 0x19, 0x83, 0x41, 0x24, 0x17, 0x0e, 0xbb, 0x04, 0x21, 0xc3, 0xc6, 0x59, 0x7a, 0x43, 0x22, + 0x21, 0xa4, 0x55, 0x7b, 0xa6, 0x3d, 0x6e, 0xed, 0x4c, 0xf7, 0xd0, 0xd3, 0xb3, 0x8b, 0x4f, 0x1c, + 0xe1, 0xc8, 0x5b, 0xf0, 0x04, 0xdc, 0x78, 0x11, 0xde, 0x06, 0x4d, 0x4f, 0xdb, 0x1e, 0xff, 0x49, + 0x9b, 0x43, 0x4e, 0x76, 0x57, 0x7d, 0xf5, 0x75, 0x55, 0xd7, 0x57, 0x53, 0xf0, 0x51, 0x24, 0xbc, + 0x2b, 0x2f, 0x14, 0xa9, 0x4f, 0x02, 0xca, 0xd5, 0x15, 0xa7, 0xea, 0x56, 0xc8, 0x6b, 0xc6, 0x15, + 0x95, 0x53, 0xe2, 0x51, 0x37, 0x96, 0x42, 0x09, 0xf4, 0x6e, 0x24, 0x3c, 0x77, 0x05, 0x73, 0x0d, + 0xac, 0x7b, 0x12, 0x08, 0x11, 0x84, 0x74, 0xa0, 0x51, 0x93, 0x74, 0x3a, 0xb8, 0x95, 0x24, 0x8e, + 0xa9, 0x4c, 0xf2, 0xb8, 0x6e, 0x47, 0xd3, 0x8b, 0x28, 0x12, 0xdc, 0xfc, 0x18, 0xc7, 0x49, 0xc1, + 0x61, 0xc8, 0x8a, 0x7e, 0x87, 0xc1, 0x83, 0x53, 0xff, 0x86, 0x70, 0x8f, 0xfa, 0xe3, 0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 0x50, 0x5f, 0xec, 0x08, 0xf4, 0xe4, 0xae, 0xf1, + 0x1b, 0x0b, 0xad, 0xfb, 0xf4, 0xcd, 0x03, 0x17, 0x09, 0x9c, 0x7d, 0xfe, 0xf3, 0x20, 0x60, 0x6a, + 0x96, 0x4e, 0x5c, 0x4f, 0x44, 0x83, 0x88, 0x79, 0x52, 0x24, 0x62, 0xaa, 0x06, 0x91, 0xf0, 0x06, + 0x32, 0xf6, 0x06, 0x2b, 0xd6, 0x81, 0x61, 0x9d, 0x54, 0xf5, 0xae, 0xfa, 0xe2, 0xff, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x2b, 0xad, 0x64, 0x49, 0xd7, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/rpc/cloudagent/network/networkinterface/moc_cloudagent_networkinterface.proto b/rpc/cloudagent/network/networkinterface/moc_cloudagent_networkinterface.proto index 6ed0b50c..23fa62bb 100644 --- a/rpc/cloudagent/network/networkinterface/moc_cloudagent_networkinterface.proto +++ b/rpc/cloudagent/network/networkinterface/moc_cloudagent_networkinterface.proto @@ -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; @@ -71,6 +81,7 @@ message NetworkInterface { string virtualMachineName = 11; uint32 iovWeight = 12; Tags tags = 13; + repeated AdvancedNetworkPolicy policies = 14; } service NetworkInterfaceAgent { diff --git a/rpc/nodeagent/network/moc_nodeagent_virtualnetworkinterface.pb.go b/rpc/nodeagent/network/moc_nodeagent_virtualnetworkinterface.pb.go index 0ab5ccf2..b3270663 100644 --- a/rpc/nodeagent/network/moc_nodeagent_virtualnetworkinterface.pb.go +++ b/rpc/nodeagent/network/moc_nodeagent_virtualnetworkinterface.pb.go @@ -52,6 +52,31 @@ func (NetworkType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_031864a4497d6a65, []int{0} } +type PolicyType int32 + +const ( + PolicyType_UNKNOWN PolicyType = 0 + PolicyType_SDN_ALL PolicyType = 1 +) + +var PolicyType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "SDN_ALL", +} + +var PolicyType_value = map[string]int32{ + "UNKNOWN": 0, + "SDN_ALL": 1, +} + +func (x PolicyType) String() string { + return proto.EnumName(PolicyType_name, int32(x)) +} + +func (PolicyType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_031864a4497d6a65, []int{1} +} + type VirtualNetworkInterface_NetworkInterfaceType int32 const ( @@ -74,7 +99,7 @@ func (x VirtualNetworkInterface_NetworkInterfaceType) String() string { } func (VirtualNetworkInterface_NetworkInterfaceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_031864a4497d6a65, []int{3, 0} + return fileDescriptor_031864a4497d6a65, []int{4, 0} } type VirtualNetworkInterfaceRequest struct { @@ -179,6 +204,53 @@ func (m *VirtualNetworkInterfaceResponse) GetError() string { return "" } +type AdvancedNetworkPolicy struct { + Type PolicyType `protobuf:"varint,1,opt,name=type,proto3,enum=moc.nodeagent.network.PolicyType" json:"type,omitempty"` + Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdvancedNetworkPolicy) Reset() { *m = AdvancedNetworkPolicy{} } +func (m *AdvancedNetworkPolicy) String() string { return proto.CompactTextString(m) } +func (*AdvancedNetworkPolicy) ProtoMessage() {} +func (*AdvancedNetworkPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_031864a4497d6a65, []int{2} +} + +func (m *AdvancedNetworkPolicy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdvancedNetworkPolicy.Unmarshal(m, b) +} +func (m *AdvancedNetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdvancedNetworkPolicy.Marshal(b, m, deterministic) +} +func (m *AdvancedNetworkPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdvancedNetworkPolicy.Merge(m, src) +} +func (m *AdvancedNetworkPolicy) XXX_Size() int { + return xxx_messageInfo_AdvancedNetworkPolicy.Size(m) +} +func (m *AdvancedNetworkPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_AdvancedNetworkPolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_AdvancedNetworkPolicy proto.InternalMessageInfo + +func (m *AdvancedNetworkPolicy) GetType() PolicyType { + if m != nil { + return m.Type + } + return PolicyType_UNKNOWN +} + +func (m *AdvancedNetworkPolicy) GetEnabled() bool { + if m != nil { + return m.Enabled + } + return false +} + type IpConfiguration struct { Ipaddress string `protobuf:"bytes,1,opt,name=ipaddress,proto3" json:"ipaddress,omitempty"` Prefixlength string `protobuf:"bytes,2,opt,name=prefixlength,proto3" json:"prefixlength,omitempty"` @@ -196,7 +268,7 @@ func (m *IpConfiguration) Reset() { *m = IpConfiguration{} } func (m *IpConfiguration) String() string { return proto.CompactTextString(m) } func (*IpConfiguration) ProtoMessage() {} func (*IpConfiguration) Descriptor() ([]byte, []int) { - return fileDescriptor_031864a4497d6a65, []int{2} + return fileDescriptor_031864a4497d6a65, []int{3} } func (m *IpConfiguration) XXX_Unmarshal(b []byte) error { @@ -278,6 +350,7 @@ type VirtualNetworkInterface struct { Entity *common.Entity `protobuf:"bytes,9,opt,name=entity,proto3" json:"entity,omitempty"` IovWeight uint32 `protobuf:"varint,10,opt,name=iovWeight,proto3" json:"iovWeight,omitempty"` Tags *common.Tags `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"` + Policies []*AdvancedNetworkPolicy `protobuf:"bytes,12,rep,name=policies,proto3" json:"policies,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -287,7 +360,7 @@ func (m *VirtualNetworkInterface) Reset() { *m = VirtualNetworkInterface func (m *VirtualNetworkInterface) String() string { return proto.CompactTextString(m) } func (*VirtualNetworkInterface) ProtoMessage() {} func (*VirtualNetworkInterface) Descriptor() ([]byte, []int) { - return fileDescriptor_031864a4497d6a65, []int{3} + return fileDescriptor_031864a4497d6a65, []int{4} } func (m *VirtualNetworkInterface) XXX_Unmarshal(b []byte) error { @@ -385,11 +458,20 @@ func (m *VirtualNetworkInterface) GetTags() *common.Tags { return nil } +func (m *VirtualNetworkInterface) GetPolicies() []*AdvancedNetworkPolicy { + if m != nil { + return m.Policies + } + return nil +} + func init() { proto.RegisterEnum("moc.nodeagent.network.NetworkType", NetworkType_name, NetworkType_value) + proto.RegisterEnum("moc.nodeagent.network.PolicyType", PolicyType_name, PolicyType_value) proto.RegisterEnum("moc.nodeagent.network.VirtualNetworkInterface_NetworkInterfaceType", VirtualNetworkInterface_NetworkInterfaceType_name, VirtualNetworkInterface_NetworkInterfaceType_value) proto.RegisterType((*VirtualNetworkInterfaceRequest)(nil), "moc.nodeagent.network.VirtualNetworkInterfaceRequest") proto.RegisterType((*VirtualNetworkInterfaceResponse)(nil), "moc.nodeagent.network.VirtualNetworkInterfaceResponse") + proto.RegisterType((*AdvancedNetworkPolicy)(nil), "moc.nodeagent.network.AdvancedNetworkPolicy") proto.RegisterType((*IpConfiguration)(nil), "moc.nodeagent.network.IpConfiguration") proto.RegisterType((*VirtualNetworkInterface)(nil), "moc.nodeagent.network.VirtualNetworkInterface") } @@ -399,56 +481,62 @@ func init() { } var fileDescriptor_031864a4497d6a65 = []byte{ - // 784 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xdd, 0x72, 0xe3, 0x34, - 0x18, 0xad, 0xdb, 0x34, 0x89, 0x3f, 0xb3, 0xdd, 0x22, 0x16, 0x6a, 0xc2, 0x6e, 0xc8, 0x18, 0x86, - 0xc9, 0xc0, 0xe0, 0xec, 0x84, 0x9f, 0xbd, 0x6e, 0xd3, 0x0c, 0x64, 0xe8, 0xa6, 0x8c, 0x36, 0xb4, - 0x33, 0xdc, 0x74, 0x14, 0x5b, 0x71, 0x44, 0x6d, 0xc9, 0x48, 0x72, 0x4b, 0xde, 0x80, 0x67, 0xe0, - 0x21, 0xb8, 0xe3, 0x05, 0x78, 0x09, 0x1e, 0x80, 0x17, 0x61, 0x2c, 0x3b, 0x89, 0x5b, 0xea, 0x8b, - 0xde, 0xec, 0x55, 0xa2, 0x73, 0xce, 0xf7, 0x7b, 0x14, 0x05, 0xbe, 0x48, 0x44, 0x70, 0xc5, 0x45, - 0x48, 0x49, 0x44, 0xb9, 0xbe, 0xba, 0x61, 0x52, 0x67, 0x24, 0xe6, 0x54, 0xdf, 0x0a, 0x79, 0xcd, - 0xb8, 0xa6, 0x72, 0x41, 0x02, 0xea, 0xa7, 0x52, 0x68, 0x81, 0xde, 0x4f, 0x44, 0xe0, 0x6f, 0xc4, - 0x7e, 0xa9, 0xea, 0x74, 0x23, 0x21, 0xa2, 0x98, 0x0e, 0x8c, 0x68, 0x9e, 0x2d, 0x06, 0xb7, 0x92, - 0xa4, 0x29, 0x95, 0xaa, 0x08, 0xeb, 0x7c, 0x74, 0x9f, 0xa7, 0x49, 0xaa, 0x57, 0x25, 0x79, 0x94, - 0x37, 0x10, 0x88, 0x24, 0x11, 0xbc, 0xfc, 0x28, 0x89, 0x17, 0x15, 0x82, 0x0b, 0xcd, 0x16, 0x2c, - 0x20, 0x9a, 0x6d, 0xe8, 0x6e, 0x95, 0x2e, 0x1a, 0xa9, 0x86, 0x7b, 0x7f, 0x5b, 0xd0, 0xbd, 0x28, - 0xa6, 0x99, 0x16, 0xf4, 0x64, 0x3d, 0x0d, 0xa6, 0xbf, 0x66, 0x54, 0x69, 0xf4, 0x0b, 0xb8, 0x35, - 0x0a, 0xe5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 0x32, 0x0d, 0x06, 0x9b, 0xee, 0x06, 0x65, 0x77, 0xf3, 0xa6, 0x49, - 0xff, 0xd5, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xa6, 0xbe, 0x01, 0x9d, 0x1f, 0x07, 0x00, 0x00, + // 873 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xdd, 0x72, 0xdb, 0x44, + 0x14, 0x8e, 0x12, 0xc7, 0xb6, 0x8e, 0xda, 0xd4, 0x2c, 0x2d, 0x11, 0xa6, 0x0d, 0x41, 0x30, 0x9d, + 0x4c, 0x01, 0xb9, 0x63, 0x28, 0xbd, 0x76, 0x7e, 0x86, 0x7a, 0xea, 0x2a, 0x9d, 0x4d, 0x9a, 0xcc, + 0x70, 0x93, 0x59, 0x4b, 0x6b, 0x79, 0x89, 0xb4, 0x2b, 0xb4, 0x2b, 0x07, 0xbf, 0x01, 0x4f, 0xc3, + 0x1d, 0x2f, 0xc0, 0x4b, 0xf0, 0x00, 0xf0, 0x20, 0x8c, 0x56, 0xb2, 0xad, 0x04, 0xeb, 0x22, 0x37, + 0x5c, 0xd9, 0x7b, 0xce, 0x77, 0xfe, 0xbe, 0xef, 0x68, 0x17, 0xbe, 0x8e, 0x85, 0x7f, 0xc5, 0x45, + 0x40, 0x49, 0x48, 0xb9, 0xba, 0x9a, 0xb1, 0x54, 0x65, 0x24, 0xe2, 0x54, 0xdd, 0x88, 0xf4, 0x9a, + 0x71, 0x45, 0xd3, 0x09, 0xf1, 0xa9, 0x9b, 0xa4, 0x42, 0x09, 0xf4, 0x24, 0x16, 0xbe, 0xbb, 0x04, + 0xbb, 0x25, 0xaa, 0xbb, 0x17, 0x0a, 0x11, 0x46, 0xb4, 0xa7, 0x41, 0xe3, 0x6c, 0xd2, 0xbb, 0x49, + 0x49, 0x92, 0xd0, 0x54, 0x16, 0x61, 0xdd, 0xcf, 0xee,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0x42, 0xd1, 0x8e, 0xf1, 0xe2, 0x35, + 0x58, 0x95, 0x15, 0x44, 0x1f, 0xc3, 0xa3, 0x8b, 0x21, 0x3e, 0xff, 0x30, 0x18, 0x5d, 0x79, 0x27, + 0xe7, 0x97, 0xa7, 0xf8, 0x6d, 0x67, 0x23, 0x37, 0x8e, 0x4e, 0x7f, 0x1c, 0x1e, 0x55, 0x8c, 0xc6, + 0x8b, 0xe7, 0x00, 0xab, 0xcf, 0x1f, 0x59, 0xd0, 0xfa, 0xe0, 0xbd, 0xf5, 0x4e, 0x2f, 0xbd, 0xce, + 0x46, 0x7e, 0x38, 0x3b, 0xf6, 0xae, 0x06, 0xa3, 0x51, 0xc7, 0xe8, 0xff, 0x6d, 0xc0, 0xd3, 0x9a, + 0x2d, 0x1b, 0xe4, 0x83, 0xa1, 0x39, 0x34, 0x87, 0x7c, 0x26, 0xae, 0x29, 0x7a, 0x75, 0xcf, 0x1b, + 0xb2, 0x78, 0x40, 0xba, 0x3f, 0xdc, 0x37, 0xac, 0xb8, 0xb2, 0x9d, 0x0d, 0xf4, 0x06, 0x3e, 0x3a, + 0x9a, 0x52, 0xff, 0xda, 0xab, 0x3c, 0x6c, 0xe8, 0x93, 0xff, 0xdc, 0xa6, 0x27, 0xf9, 0x43, 0xd9, + 0xfd, 0x54, 0x97, 0xa9, 0x42, 0x57, 0x99, 0x0e, 0x5f, 0xfe, 0xe4, 0x86, 0x4c, 0x4d, 0xb3, 0xb1, + 0xeb, 0x8b, 0xb8, 0x17, 0x33, 0x3f, 0x15, 0x52, 0x4c, 0x54, 0x2f, 0x16, 0x7e, 0x2f, 0x4d, 0xfc, + 0xde, 0xb2, 0xbb, 0x5e, 0xd9, 0xdd, 0xb8, 0xa9, 0xd3, 0x7f, 0xf7, 0x6f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x07, 0xc8, 0x19, 0x50, 0xfb, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/rpc/nodeagent/network/virtualnetworkinterface/moc_nodeagent_virtualnetworkinterface.proto b/rpc/nodeagent/network/virtualnetworkinterface/moc_nodeagent_virtualnetworkinterface.proto index 51762d44..e953a164 100644 --- a/rpc/nodeagent/network/virtualnetworkinterface/moc_nodeagent_virtualnetworkinterface.proto +++ b/rpc/nodeagent/network/virtualnetworkinterface/moc_nodeagent_virtualnetworkinterface.proto @@ -27,6 +27,16 @@ enum NetworkType { LOGICAL_NETWORK = 1; } +enum PolicyType { + UNKNOWN = 0; + SDN_ALL = 1; +} + +message AdvancedNetworkPolicy { + PolicyType type = 1; + bool enabled = 2; +} + message IpConfiguration { string ipaddress = 1 [(sensitive) = true]; string prefixlength = 2; @@ -53,6 +63,7 @@ message VirtualNetworkInterface { Entity entity = 9; uint32 iovWeight = 10; Tags tags = 11; + repeated AdvancedNetworkPolicy policies = 12; } service VirtualNetworkInterfaceAgent { From a41d31b5bb5399c659f970c10ef81c0199f069df Mon Sep 17 00:00:00 2001 From: mjethwa-msft Date: Thu, 19 Dec 2024 12:20:28 -0800 Subject: [PATCH 2/3] Add compiled proto file --- .../moc_cloudagent_networkinterface.pb.go | 126 +++++++++--------- 1 file changed, 64 insertions(+), 62 deletions(-) diff --git a/rpc/cloudagent/network/moc_cloudagent_networkinterface.pb.go b/rpc/cloudagent/network/moc_cloudagent_networkinterface.pb.go index 8b65a2b2..5d276d8f 100644 --- a/rpc/cloudagent/network/moc_cloudagent_networkinterface.pb.go +++ b/rpc/cloudagent/network/moc_cloudagent_networkinterface.pb.go @@ -648,68 +648,70 @@ func init() { } var fileDescriptor_641284ba8360303c = []byte{ - // 971 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x8e, 0x1b, 0x45, - 0x10, 0xce, 0xac, 0xff, 0xcb, 0xbb, 0x8e, 0x69, 0x6d, 0xf0, 0xc8, 0x82, 0xc5, 0x1a, 0x42, 0xb0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a5, 0x92, 0xa9, 0xf9, 0x77, 0x52, 0xa4, 0x31, 0xa6, 0x53, 0xfb, 0x50, 0xdf, 0xe2, - 0x14, 0xe3, 0x37, 0x31, 0x54, 0x52, 0xee, 0x51, 0xbc, 0x8f, 0x02, 0x7d, 0x0a, 0xd5, 0xbc, 0x77, - 0xf6, 0x91, 0x26, 0x3b, 0xd6, 0x64, 0x97, 0xda, 0xb4, 0x0a, 0x37, 0x98, 0xef, 0xcb, 0xf5, 0x66, - 0xfb, 0xd0, 0xf9, 0xab, 0x02, 0xed, 0x4d, 0xc1, 0xef, 0x12, 0x21, 0x6a, 0xc1, 0x01, 0xf3, 0x8d, - 0x84, 0x0e, 0x98, 0x8f, 0x7e, 0x34, 0x9f, 0xd7, 0x92, 0xae, 0xfb, 0xeb, 0xbb, 0xce, 0xdc, 0x96, - 0xa1, 0xf0, 0xe5, 0xbd, 0x84, 0x36, 0x5b, 0x97, 0x79, 0x62, 0x97, 0x75, 0x0f, 0x3f, 0xde, 0xdb, - 0xc3, 0x75, 0x3c, 0xde, 0x22, 0x40, 0x0f, 0x01, 0x22, 0xe2, 0x2d, 0x26, 0xa5, 0x52, 0x90, 0x4e, - 0xc1, 0x8e, 0x7a, 0x50, 0xf2, 0x79, 0xa2, 0xf5, 0xd8, 0x1c, 0xd6, 0xf5, 0x6d, 0xcf, 0x78, 0x62, - 0x80, 0x99, 0x2b, 0x1b, 0x14, 0x2e, 0x7c, 0x3a, 0xce, 0xde, 0xa5, 0x96, 0x0f, 0xca, 0xe2, 0x8c, - 0xde, 0x83, 0x46, 0x90, 0x35, 0x41, 0x3b, 0xeb, 0xda, 0xb9, 0x32, 0x64, 0x63, 0xb8, 0x50, 0xb1, - 0x06, 0x34, 0xf2, 0x31, 0x2c, 0xda, 0xd0, 0x87, 0x50, 0x4d, 0x14, 0x51, 0x69, 0xa2, 0x75, 0xd4, - 0x1c, 0x36, 0xf3, 0xd6, 0x69, 0x13, 0x36, 0x2e, 0xe4, 0x02, 0xba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6, 0x06, 0x2b, 0xd6, 0x81, 0x61, 0x9d, 0x54, 0xf5, 0xae, 0xfa, 0xe2, 0xff, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x2b, 0xad, 0x64, 0x49, 0xd7, 0x09, 0x00, 0x00, + // 999 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcf, 0x6e, 0x23, 0xc5, + 0x13, 0xce, 0x24, 0xb6, 0x63, 0x97, 0x13, 0xaf, 0x7f, 0xad, 0xec, 0x2f, 0x23, 0x8b, 0x0d, 0xd6, + 0xb0, 0x2c, 0x16, 0x62, 0xc7, 0x60, 0x10, 0xbb, 0x17, 0x0e, 0x0e, 0x8b, 0x90, 0x21, 0xf1, 0x9a, + 0xce, 0xb2, 0x2b, 0x21, 0xa4, 0xa8, 0x3d, 0xd3, 0x1e, 0xb7, 0x32, 0xd3, 0x3d, 0xf4, 0xf4, 0x24, + 0xf8, 0xc4, 0x11, 0x8e, 0xbc, 0x05, 0xbc, 0x00, 0x37, 0x1e, 0x0e, 0x4d, 0x4f, 0xdb, 0x1e, 0xff, + 0x93, 0xb2, 0x87, 0x3d, 0xd9, 0x5d, 0xf5, 0xd5, 0xd7, 0x55, 0x5d, 0xf5, 0x4d, 0xc1, 0x87, 0x91, + 0xf0, 0xae, 0xbd, 0x50, 0xa4, 0x3e, 0x09, 0x28, 0x57, 0xd7, 0x9c, 0xaa, 0x3b, 0x21, 0x6f, 0x18, + 0x57, 0x54, 0x4e, 0x88, 0x47, 0xdd, 0x58, 0x0a, 0x25, 0xd0, 0xff, 0x23, 0xe1, 0xb9, 0x4b, 0x98, + 0x6b, 0x60, 0xad, 0xb3, 0x40, 0x88, 0x20, 0xa4, 0x5d, 0x8d, 0x1a, 0xa7, 0x93, 0xee, 0x9d, 0x24, + 0x71, 0x4c, 0x65, 0x92, 0xc7, 0xb5, 0x4e, 0x35, 0xbd, 0x88, 0x22, 0xc1, 0xcd, 0x8f, 0x71, 0x9c, + 0x15, 0x1c, 0x86, 0xac, 0xe8, 0x77, 0x18, 0x3c, 0xec, 0xfb, 0xb7, 0x84, 0x7b, 0xd4, 0x1f, 0xe6, + 0xee, 0x91, 0x08, 0x99, 0x37, 0x43, 0x5f, 0x42, 0x49, 0xcd, 0x62, 0x6a, 0x5b, 0x6d, 0xab, 0xd3, + 0xe8, 0x39, 0xee, 0xf6, 0xc4, 0xdc, 0x1c, 0xfd, 0x6a, 0x16, 0x53, 0xac, 0xf1, 0xc8, 0x86, 0x43, + 0xca, 0xc9, 0x38, 0xa4, 0xbe, 0xbd, 0xdf, 0xb6, 0x3a, 0x55, 0x3c, 0x3f, 0x3a, 0x7f, 0x59, 0x70, + 0x6a, 0xee, 0x18, 0xcc, 0xcb, 0xc6, 0xf4, 0x97, 0x94, 0x26, 0x0a, 0xbd, 0x86, 0xff, 0xad, 0xbb, + 0x12, 0xdb, 0x6a, 0x1f, 0x74, 0xea, 0xbd, 0xce, 0xae, 0xab, 0x37, 0xb8, 0x36, 0x29, 0xd0, 0x17, + 0x70, 0xfc, 0x32, 0xa6, 0x92, 0x28, 0x26, 0x78, 0x96, 0xa4, 0xce, 0xa9, 0xd1, 0x6b, 0x68, 0xce, + 0x85, 0x07, 0xaf, 0x82, 0x9c, 0x7f, 0x2d, 0xb0, 0x37, 0x33, 0x4d, 0x62, 0xc1, 0x13, 0xfa, 0xce, + 0x52, 0xed, 0x41, 0x05, 0xd3, 0x24, 0x0d, 0x95, 0xce, 0xb1, 0xde, 0x6b, 0xb9, 0x79, 0xcf, 0xdd, + 0x79, 0xcf, 0xdd, 0x73, 0x21, 0xc2, 0xd7, 0x24, 0x4c, 0x29, 0x36, 0x48, 0x74, 0x02, 0xe5, 0x6f, + 0xa4, 0x14, 0xd2, 0x3e, 0x68, 0x5b, 0x9d, 0x1a, 0xce, 0x0f, 0xce, 0x0c, 0xde, 0x5f, 0xa7, 0x1f, + 0x49, 0xea,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0x7c, 0xf9, 0x66, 0xd8, 0xdc, 0xcb, 0x0e, 0x57, 0x2f, 0x86, 0xd7, 0xfd, 0x8b, 0x8b, + 0xa6, 0xd5, 0xfb, 0x7d, 0x1f, 0x1e, 0xae, 0xf3, 0xf6, 0xb3, 0xc4, 0x50, 0x04, 0x95, 0x01, 0xbf, + 0x15, 0x37, 0x14, 0x75, 0xef, 0xbd, 0x5a, 0xf2, 0x35, 0xd5, 0xfa, 0xf4, 0xfe, 0x01, 0xf9, 0x72, + 0x71, 0xf6, 0xd0, 0x6f, 0x50, 0x9d, 0xaf, 0x1c, 0xf4, 0xec, 0xbe, 0xf1, 0x6b, 0xfb, 0xb1, 0xf5, + 0xfc, 0xed, 0x03, 0xe7, 0x09, 0x9c, 0x7f, 0xf6, 0x53, 0x37, 0x60, 0x6a, 0x9a, 0x8e, 0x5d, 0x4f, + 0x44, 0xdd, 0x88, 0x79, 0x52, 0x24, 0x62, 0xa2, 0xba, 0x91, 0xf0, 0xba, 0x32, 0xf6, 0xba, 0x4b, + 0xd6, 0xae, 0x61, 0x1d, 0x57, 0xf4, 0xea, 0xfb, 0xfc, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x41, + 0x7b, 0x66, 0x29, 0x26, 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. From 3fb086b0c68d1f5ca5c0d45e8135a13599cd3f5e Mon Sep 17 00:00:00 2001 From: mjethwa-msft Date: Tue, 7 Jan 2025 09:31:10 -0800 Subject: [PATCH 3/3] Revert nodeagent changes --- ...oc_nodeagent_virtualnetworkinterface.pb.go | 194 +++++------------- ...oc_nodeagent_virtualnetworkinterface.proto | 11 - 2 files changed, 53 insertions(+), 152 deletions(-) diff --git a/rpc/nodeagent/network/moc_nodeagent_virtualnetworkinterface.pb.go b/rpc/nodeagent/network/moc_nodeagent_virtualnetworkinterface.pb.go index b3270663..0ab5ccf2 100644 --- a/rpc/nodeagent/network/moc_nodeagent_virtualnetworkinterface.pb.go +++ b/rpc/nodeagent/network/moc_nodeagent_virtualnetworkinterface.pb.go @@ -52,31 +52,6 @@ func (NetworkType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_031864a4497d6a65, []int{0} } -type PolicyType int32 - -const ( - PolicyType_UNKNOWN PolicyType = 0 - PolicyType_SDN_ALL PolicyType = 1 -) - -var PolicyType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SDN_ALL", -} - -var PolicyType_value = map[string]int32{ - "UNKNOWN": 0, - "SDN_ALL": 1, -} - -func (x PolicyType) String() string { - return proto.EnumName(PolicyType_name, int32(x)) -} - -func (PolicyType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_031864a4497d6a65, []int{1} -} - type VirtualNetworkInterface_NetworkInterfaceType int32 const ( @@ -99,7 +74,7 @@ func (x VirtualNetworkInterface_NetworkInterfaceType) String() string { } func (VirtualNetworkInterface_NetworkInterfaceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_031864a4497d6a65, []int{4, 0} + return fileDescriptor_031864a4497d6a65, []int{3, 0} } type VirtualNetworkInterfaceRequest struct { @@ -204,53 +179,6 @@ func (m *VirtualNetworkInterfaceResponse) GetError() string { return "" } -type AdvancedNetworkPolicy struct { - Type PolicyType `protobuf:"varint,1,opt,name=type,proto3,enum=moc.nodeagent.network.PolicyType" json:"type,omitempty"` - Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdvancedNetworkPolicy) Reset() { *m = AdvancedNetworkPolicy{} } -func (m *AdvancedNetworkPolicy) String() string { return proto.CompactTextString(m) } -func (*AdvancedNetworkPolicy) ProtoMessage() {} -func (*AdvancedNetworkPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_031864a4497d6a65, []int{2} -} - -func (m *AdvancedNetworkPolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdvancedNetworkPolicy.Unmarshal(m, b) -} -func (m *AdvancedNetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdvancedNetworkPolicy.Marshal(b, m, deterministic) -} -func (m *AdvancedNetworkPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdvancedNetworkPolicy.Merge(m, src) -} -func (m *AdvancedNetworkPolicy) XXX_Size() int { - return xxx_messageInfo_AdvancedNetworkPolicy.Size(m) -} -func (m *AdvancedNetworkPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_AdvancedNetworkPolicy.DiscardUnknown(m) -} - -var xxx_messageInfo_AdvancedNetworkPolicy proto.InternalMessageInfo - -func (m *AdvancedNetworkPolicy) GetType() PolicyType { - if m != nil { - return m.Type - } - return PolicyType_UNKNOWN -} - -func (m *AdvancedNetworkPolicy) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - type IpConfiguration struct { Ipaddress string `protobuf:"bytes,1,opt,name=ipaddress,proto3" json:"ipaddress,omitempty"` Prefixlength string `protobuf:"bytes,2,opt,name=prefixlength,proto3" json:"prefixlength,omitempty"` @@ -268,7 +196,7 @@ func (m *IpConfiguration) Reset() { *m = IpConfiguration{} } func (m *IpConfiguration) String() string { return proto.CompactTextString(m) } func (*IpConfiguration) ProtoMessage() {} func (*IpConfiguration) Descriptor() ([]byte, []int) { - return fileDescriptor_031864a4497d6a65, []int{3} + return fileDescriptor_031864a4497d6a65, []int{2} } func (m *IpConfiguration) XXX_Unmarshal(b []byte) error { @@ -350,7 +278,6 @@ type VirtualNetworkInterface struct { Entity *common.Entity `protobuf:"bytes,9,opt,name=entity,proto3" json:"entity,omitempty"` IovWeight uint32 `protobuf:"varint,10,opt,name=iovWeight,proto3" json:"iovWeight,omitempty"` Tags *common.Tags `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"` - Policies []*AdvancedNetworkPolicy `protobuf:"bytes,12,rep,name=policies,proto3" json:"policies,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -360,7 +287,7 @@ func (m *VirtualNetworkInterface) Reset() { *m = VirtualNetworkInterface func (m *VirtualNetworkInterface) String() string { return proto.CompactTextString(m) } func (*VirtualNetworkInterface) ProtoMessage() {} func (*VirtualNetworkInterface) Descriptor() ([]byte, []int) { - return fileDescriptor_031864a4497d6a65, []int{4} + return fileDescriptor_031864a4497d6a65, []int{3} } func (m *VirtualNetworkInterface) XXX_Unmarshal(b []byte) error { @@ -458,20 +385,11 @@ func (m *VirtualNetworkInterface) GetTags() *common.Tags { return nil } -func (m *VirtualNetworkInterface) GetPolicies() []*AdvancedNetworkPolicy { - if m != nil { - return m.Policies - } - return nil -} - func init() { proto.RegisterEnum("moc.nodeagent.network.NetworkType", NetworkType_name, NetworkType_value) - proto.RegisterEnum("moc.nodeagent.network.PolicyType", PolicyType_name, PolicyType_value) proto.RegisterEnum("moc.nodeagent.network.VirtualNetworkInterface_NetworkInterfaceType", VirtualNetworkInterface_NetworkInterfaceType_name, VirtualNetworkInterface_NetworkInterfaceType_value) proto.RegisterType((*VirtualNetworkInterfaceRequest)(nil), "moc.nodeagent.network.VirtualNetworkInterfaceRequest") proto.RegisterType((*VirtualNetworkInterfaceResponse)(nil), "moc.nodeagent.network.VirtualNetworkInterfaceResponse") - proto.RegisterType((*AdvancedNetworkPolicy)(nil), "moc.nodeagent.network.AdvancedNetworkPolicy") proto.RegisterType((*IpConfiguration)(nil), "moc.nodeagent.network.IpConfiguration") proto.RegisterType((*VirtualNetworkInterface)(nil), "moc.nodeagent.network.VirtualNetworkInterface") } @@ -481,62 +399,56 @@ func init() { } var fileDescriptor_031864a4497d6a65 = []byte{ - // 873 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xdd, 0x72, 0xdb, 0x44, - 0x14, 0x8e, 0x12, 0xc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 0xf5, 0x4e, 0x2f, 0xbd, 0xce, - 0x46, 0x7e, 0x38, 0x3b, 0xf6, 0xae, 0x06, 0xa3, 0x51, 0xc7, 0xe8, 0xff, 0x6d, 0xc0, 0xd3, 0x9a, - 0x2d, 0x1b, 0xe4, 0x83, 0xa1, 0x39, 0x34, 0x87, 0x7c, 0x26, 0xae, 0x29, 0x7a, 0x75, 0xcf, 0x1b, - 0xb2, 0x78, 0x40, 0xba, 0x3f, 0xdc, 0x37, 0xac, 0xb8, 0xb2, 0x9d, 0x0d, 0xf4, 0x06, 0x3e, 0x3a, - 0x9a, 0x52, 0xff, 0xda, 0xab, 0x3c, 0x6c, 0xe8, 0x93, 0xff, 0xdc, 0xa6, 0x27, 0xf9, 0x43, 0xd9, - 0xfd, 0x54, 0x97, 0xa9, 0x42, 0x57, 0x99, 0x0e, 0x5f, 0xfe, 0xe4, 0x86, 0x4c, 0x4d, 0xb3, 0xb1, - 0xeb, 0x8b, 0xb8, 0x17, 0x33, 0x3f, 0x15, 0x52, 0x4c, 0x54, 0x2f, 0x16, 0x7e, 0x2f, 0x4d, 0xfc, - 0xde, 0xb2, 0xbb, 0x5e, 0xd9, 0xdd, 0xb8, 0xa9, 0xd3, 0x7f, 0xf7, 0x6f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x07, 0xc8, 0x19, 0x50, 0xfb, 0x07, 0x00, 0x00, + // 784 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xdd, 0x72, 0xe3, 0x34, + 0x18, 0xad, 0xdb, 0x34, 0x89, 0x3f, 0xb3, 0xdd, 0x22, 0x16, 0x6a, 0xc2, 0x6e, 0xc8, 0x18, 0x86, + 0xc9, 0xc0, 0xe0, 0xec, 0x84, 0x9f, 0xbd, 0x6e, 0xd3, 0x0c, 0x64, 0xe8, 0xa6, 0x8c, 0x36, 0xb4, + 0x33, 0xdc, 0x74, 0x14, 0x5b, 0x71, 0x44, 0x6d, 0xc9, 0x48, 0x72, 0x4b, 0xde, 0x80, 0x67, 0xe0, + 0x21, 0xb8, 0xe3, 0x05, 0x78, 0x09, 0x1e, 0x80, 0x17, 0x61, 0x2c, 0x3b, 0x89, 0x5b, 0xea, 0x8b, + 0xde, 0xec, 0x55, 0xa2, 0x73, 0xce, 0xf7, 0x7b, 0x14, 0x05, 0xbe, 0x48, 0x44, 0x70, 0xc5, 0x45, + 0x48, 0x49, 0x44, 0xb9, 0xbe, 0xba, 0x61, 0x52, 0x67, 0x24, 0xe6, 0x54, 0xdf, 0x0a, 0x79, 0xcd, + 0xb8, 0xa6, 0x72, 0x41, 0x02, 0xea, 0xa7, 0x52, 0x68, 0x81, 0xde, 0x4f, 0x44, 0xe0, 0x6f, 0xc4, + 0x7e, 0xa9, 0xea, 0x74, 0x23, 0x21, 0xa2, 0x98, 0x0e, 0x8c, 0x68, 0x9e, 0x2d, 0x06, 0xb7, 0x92, + 0xa4, 0x29, 0x95, 0xaa, 0x08, 0xeb, 0x7c, 0x74, 0x9f, 0xa7, 0x49, 0xaa, 0x57, 0x25, 0x79, 0x94, + 0x37, 0x10, 0x88, 0x24, 0x11, 0xbc, 0xfc, 0x28, 0x89, 0x17, 0x15, 0x82, 0x0b, 0xcd, 0x16, 0x2c, + 0x20, 0x9a, 0x6d, 0xe8, 0x6e, 0x95, 0x2e, 0x1a, 0xa9, 0x86, 0x7b, 0x7f, 0x5b, 0xd0, 0xbd, 0x28, + 0xa6, 0x99, 0x16, 0xf4, 0x64, 0x3d, 0x0d, 0xa6, 0xbf, 0x66, 0x54, 0x69, 0xf4, 0x0b, 0xb8, 0x35, + 0x0a, 0xe5, 0x5a, 0xbd, 0xbd, 0xbe, 0x33, 0xf4, 0xfd, 0x07, 0x27, 0xf6, 0xeb, 0x12, 0xd7, 0xe6, + 0x43, 0x5f, 0xc3, 0x93, 0xf3, 0x94, 0x4a, 0x33, 0xc1, 0x6c, 0x95, 0x52, 0x77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 0x43, 0x93, 0x48, 0xb9, 0x8e, 0x49, + 0x60, 0x9b, 0x04, 0x33, 0x12, 0x29, 0x6c, 0x60, 0xef, 0x4b, 0x78, 0xf6, 0xd0, 0xca, 0x91, 0x0d, + 0xfb, 0x67, 0x22, 0x20, 0xf1, 0xe1, 0x0e, 0x82, 0xfc, 0xb7, 0x98, 0x08, 0x4d, 0x0f, 0xad, 0xcf, + 0x5f, 0x81, 0x53, 0xb9, 0x38, 0xe8, 0x3d, 0x78, 0x7a, 0x31, 0xc1, 0xb3, 0x9f, 0x8e, 0xcf, 0xae, + 0xa6, 0xe3, 0xd9, 0xe5, 0x39, 0xfe, 0xe1, 0x70, 0x27, 0x07, 0xcf, 0xce, 0xbf, 0x9b, 0x8c, 0x2a, + 0xa0, 0x35, 0xfc, 0xd7, 0x82, 0xe7, 0x35, 0x9e, 0x1f, 0xe7, 0xd6, 0xa1, 0x15, 0x34, 0x27, 0xfc, + 0x46, 0x5c, 0x53, 0xf4, 0xcd, 0x23, 0x5f, 0x91, 0xe2, 0x91, 0xed, 0x7c, 0xfb, 0xd8, 0xb0, 0xe2, + 0x59, 0xf3, 0x76, 0xd0, 0xf7, 0xf0, 0xee, 0x68, 0x49, 0x83, 0xeb, 0x69, 0xe5, 0xf1, 0x47, 0x1f, + 0xfc, 0xef, 0xc5, 0x19, 0xe7, 0x7f, 0x26, 0x9d, 0x0f, 0x4d, 0x99, 0xaa, 0x74, 0x9b, 0xe9, 0xe4, + 0xe5, 0xcf, 0x7e, 0xc4, 0xf4, 0x32, 0x9b, 0xfb, 0x81, 0x48, 0x06, 0x09, 0x0b, 0xa4, 0x50, 0x62, + 0xa1, 0x07, 0x89, 0x08, 0x06, 0x32, 0x0d, 0x06, 0x9b, 0xee, 0x06, 0x65, 0x77, 0xf3, 0xa6, 0x49, + 0xff, 0xd5, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xa6, 0xbe, 0x01, 0x9d, 0x1f, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/rpc/nodeagent/network/virtualnetworkinterface/moc_nodeagent_virtualnetworkinterface.proto b/rpc/nodeagent/network/virtualnetworkinterface/moc_nodeagent_virtualnetworkinterface.proto index e953a164..51762d44 100644 --- a/rpc/nodeagent/network/virtualnetworkinterface/moc_nodeagent_virtualnetworkinterface.proto +++ b/rpc/nodeagent/network/virtualnetworkinterface/moc_nodeagent_virtualnetworkinterface.proto @@ -27,16 +27,6 @@ enum NetworkType { LOGICAL_NETWORK = 1; } -enum PolicyType { - UNKNOWN = 0; - SDN_ALL = 1; -} - -message AdvancedNetworkPolicy { - PolicyType type = 1; - bool enabled = 2; -} - message IpConfiguration { string ipaddress = 1 [(sensitive) = true]; string prefixlength = 2; @@ -63,7 +53,6 @@ message VirtualNetworkInterface { Entity entity = 9; uint32 iovWeight = 10; Tags tags = 11; - repeated AdvancedNetworkPolicy policies = 12; } service VirtualNetworkInterfaceAgent {