diff --git a/go.mod b/go.mod index 557d92e6..ad72b523 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,7 @@ require ( github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.8.3 go.uber.org/multierr v1.11.0 - google.golang.org/grpc v1.76.0 + google.golang.org/grpc v1.59.0 gopkg.in/yaml.v3 v3.0.1 ) @@ -23,9 +23,9 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect golang.org/x/net v0.42.0 // indirect golang.org/x/sys v0.34.0 // indirect - golang.org/x/text v0.31.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20251111163417-95abcf5c77ba // indirect - google.golang.org/protobuf v1.36.10 // indirect + golang.org/x/text v0.33.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20260114163908-3f89685c29c3 // indirect + google.golang.org/protobuf v1.36.11 // indirect ) replace ( diff --git a/go.sum b/go.sum index 41869ff9..54650959 100644 --- a/go.sum +++ b/go.sum @@ -3,8 +3,6 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= -github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/golang-jwt/jwt/v4 v4.5.2 h1:YtQM7lnr8iZ+j5q71MGKkNw9Mn7AjHM68uc9g5fXeUI= github.com/golang-jwt/jwt/v4 v4.5.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= @@ -14,8 +12,6 @@ github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6 github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= -github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= -github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/hectane/go-acl v0.0.0-20230122075934-ca0b05cb1adb h1:PGufWXXDq9yaev6xX1YQauaO1MV90e6Mpoq1I7Lz/VM= github.com/hectane/go-acl v0.0.0-20230122075934-ca0b05cb1adb/go.mod h1:QiyDdbZLaJ/mZP4Zwc9g2QsfaEA4o7XvvgZegSci5/E= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= @@ -31,18 +27,6 @@ github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gt github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= -go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A= -go.opentelemetry.io/otel v1.37.0 h1:9zhNfelUvx0KBfu/gb+ZgeAfAgtWrfHJZcAqFC228wQ= -go.opentelemetry.io/otel v1.37.0/go.mod h1:ehE/umFRLnuLa/vSccNq9oS1ErUlkkK71gMcN34UG8I= -go.opentelemetry.io/otel/metric v1.37.0 h1:mvwbQS5m0tbmqML4NqK+e3aDiO02vsf/WgbsdpcPoZE= -go.opentelemetry.io/otel/metric v1.37.0/go.mod h1:04wGrZurHYKOc+RKeye86GwKiTb9FKm1WHtO+4EVr2E= -go.opentelemetry.io/otel/sdk v1.37.0 h1:ItB0QUqnjesGRvNcmAcU0LyvkVyGJ2xftD29bWdDvKI= -go.opentelemetry.io/otel/sdk v1.37.0/go.mod h1:VredYzxUvuo2q3WRcDnKDjbdvmO0sCzOvVAiY+yUkAg= -go.opentelemetry.io/otel/sdk/metric v1.37.0 h1:90lI228XrB9jCMuSdA0673aubgRobVZFhbjxHHspCPc= -go.opentelemetry.io/otel/sdk/metric v1.37.0/go.mod h1:cNen4ZWfiD37l5NhS+Keb5RXVWZWpRE+9WyVCpbo5ps= -go.opentelemetry.io/otel/trace v1.37.0 h1:HLdcFNbRQBE2imdSEgm/kwqmQj1Or1l/7bW6mxVK7z4= -go.opentelemetry.io/otel/trace v1.37.0/go.mod h1:TlgrlQ+PtQO5XFerSPUYG0JSgGyryXewPGyayAWSBS0= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= golang.org/x/crypto v0.37.0/go.mod h1:vg+k43peMZ0pUMhYmVAWysMK35e6ioLh3wB8ZCAfbVc= @@ -70,8 +54,8 @@ golang.org/x/term v0.31.0/go.mod h1:R4BeIy7D95HzImkxGkTW1UQTtP54tio2RyHz7PwK0aw= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.24.0/go.mod h1:L8rBsPeo2pSS+xqN0d5u2ikmjtmoJbDBT1b7nHvFCdU= -golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM= -golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM= +golang.org/x/text v0.33.0 h1:B3njUFyqtHDUI5jMn1YIr5B0IE2U0qck04r6d4KPAxE= +golang.org/x/text v0.33.0/go.mod h1:LuMebE6+rBincTi9+xWTY8TztLzKHc/9C1uBCG27+q8= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= @@ -82,14 +66,12 @@ golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxb golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gonum.org/v1/gonum v0.16.0 h1:5+ul4Swaf3ESvrOnidPp4GZbzf0mxVQpDCYUQE7OJfk= -gonum.org/v1/gonum v0.16.0/go.mod h1:fef3am4MQ93R2HHpKnLk4/Tbh/s0+wqD5nfa6Pnwy4E= -google.golang.org/genproto/googleapis/rpc v0.0.0-20251111163417-95abcf5c77ba h1:UKgtfRM7Yh93Sya0Fo8ZzhDP4qBckrrxEr2oF5UIVb8= -google.golang.org/genproto/googleapis/rpc v0.0.0-20251111163417-95abcf5c77ba/go.mod h1:7i2o+ce6H/6BluujYR+kqX3GKH+dChPTQU19wjRPiGk= -google.golang.org/grpc v1.76.0 h1:UnVkv1+uMLYXoIz6o7chp59WfQUYA2ex/BXQ9rHZu7A= -google.golang.org/grpc v1.76.0/go.mod h1:Ju12QI8M6iQJtbcsV+awF5a4hfJMLi4X0JLo94ULZ6c= -google.golang.org/protobuf v1.36.10 h1:AYd7cD/uASjIL6Q9LiTjz8JLcrh/88q5UObnmY3aOOE= -google.golang.org/protobuf v1.36.10/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260114163908-3f89685c29c3 h1:C4WAdL+FbjnGlpp2S+HMVhBeCq2Lcib4xZqfPNF6OoQ= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260114163908-3f89685c29c3/go.mod h1:j9x/tPzZkyxcgEFkiKEEGxfvyumM01BEtsW8xzOahRQ= +google.golang.org/grpc v1.59.0 h1:Z5Iec2pjwb+LEOqzpB2MR12/eKFhDPhuqW91O+4bwUk= +google.golang.org/grpc v1.59.0/go.mod h1:aUPDwccQo6OTjy7Hct4AfBPD1GptF4fyUjIkQ9YtF98= +google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE= +google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/rpc/cloudagent/network/logicalnetwork/moc_cloudagent_logicalnetwork.proto b/rpc/cloudagent/network/logicalnetwork/moc_cloudagent_logicalnetwork.proto index e3e4df20..aceea472 100644 --- a/rpc/cloudagent/network/logicalnetwork/moc_cloudagent_logicalnetwork.proto +++ b/rpc/cloudagent/network/logicalnetwork/moc_cloudagent_logicalnetwork.proto @@ -42,6 +42,7 @@ message LogicalNetwork { string macPoolName = 7 [(sensitive) = true]; Tags tags = 8; repeated AdvancedNetworkPolicy advancedPolicies = 9; + NetworkControllerConfig networkControllerConfig = 10; } message LogicalSubnet { diff --git a/rpc/cloudagent/network/moc_cloudagent_logicalnetwork.pb.go b/rpc/cloudagent/network/moc_cloudagent_logicalnetwork.pb.go index 6693d636..f25f8413 100644 --- a/rpc/cloudagent/network/moc_cloudagent_logicalnetwork.pb.go +++ b/rpc/cloudagent/network/moc_cloudagent_logicalnetwork.pb.go @@ -226,6 +226,7 @@ type LogicalNetwork struct { MacPoolName string `protobuf:"bytes,7,opt,name=macPoolName,proto3" json:"macPoolName,omitempty"` Tags *common.Tags `protobuf:"bytes,8,opt,name=tags,proto3" json:"tags,omitempty"` AdvancedPolicies []*common.AdvancedNetworkPolicy `protobuf:"bytes,9,rep,name=advancedPolicies,proto3" json:"advancedPolicies,omitempty"` + NetworkControllerConfig *common.NetworkControllerConfig `protobuf:"bytes,10,opt,name=networkControllerConfig,proto3" json:"networkControllerConfig,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -319,6 +320,13 @@ func (m *LogicalNetwork) GetAdvancedPolicies() []*common.AdvancedNetworkPolicy { return nil } +func (m *LogicalNetwork) GetNetworkControllerConfig() *common.NetworkControllerConfig { + if m != nil { + return m.NetworkControllerConfig + } + return nil +} + type LogicalSubnet struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` @@ -452,53 +460,55 @@ func init() { } var fileDescriptor_37e4212e5c247b0a = []byte{ - // 735 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xdd, 0x6e, 0xe3, 0x44, - 0x14, 0xc6, 0x49, 0x36, 0x3f, 0x27, 0x24, 0xa0, 0x01, 0xb6, 0x56, 0xc4, 0x56, 0x91, 0x97, 0x5d, - 0xe5, 0x06, 0x5b, 0x84, 0xbf, 0x4b, 0xd4, 0x88, 0x05, 0xad, 0x04, 0x25, 0x9a, 0xae, 0xf6, 0x02, - 0x21, 0x55, 0x93, 0xf1, 0x24, 0x1d, 0x6a, 0x7b, 0xdc, 0x99, 0x71, 0x4b, 0xe1, 0x05, 0xb8, 0xe5, - 0x09, 0x78, 0x01, 0x2e, 0xe1, 0xf1, 0x90, 0x90, 0x4f, 0xc6, 0x69, 0x1c, 0x5a, 0x48, 0x2f, 0x7a, - 0x65, 0xfb, 0x7c, 0xdf, 0xf9, 0xce, 0x39, 0xdf, 0x8c, 0x0f, 0x3c, 0x4d, 0x15, 0x3f, 0xe5, 0x89, - 0x2a, 0x62, 0xb6, 0x12, 0x99, 0x3d, 0x4d, 0xd4, 0x4a, 0x72, 0x96, 0x64, 0xc2, 0x5e, 0x29, 0x7d, - 0x1e, 0xe6, 0x5a, 0x59, 0x45, 0x1e, 0xa7, 0x8a, 0x87, 0x37, 0xa4, 0xd0, 0xa1, 0xa3, 0xc3, 0x95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a0, 0x5b, - 0xed, 0x08, 0xf2, 0xe9, 0x7e, 0xd9, 0x3b, 0x6b, 0x6c, 0xf4, 0xd9, 0x7d, 0xd3, 0xaa, 0xe2, 0xb3, - 0x8f, 0xbe, 0x8f, 0x56, 0xd2, 0x9e, 0x15, 0x8b, 0x90, 0xab, 0x34, 0x4a, 0x25, 0xd7, 0xca, 0xa8, - 0xa5, 0x8d, 0x52, 0xc5, 0x23, 0x9d, 0xf3, 0xe8, 0x46, 0x33, 0x72, 0x9a, 0x8b, 0x36, 0xee, 0xa9, - 0x8f, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0xce, 0x6d, 0x63, 0x28, 0x4c, 0x07, 0x00, 0x00, + // 763 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xdd, 0x6e, 0x1b, 0x45, + 0x14, 0x66, 0x63, 0xd7, 0xb1, 0x8f, 0x89, 0x41, 0x03, 0x34, 0x2b, 0xab, 0x8d, 0xac, 0x2d, 0xad, + 0x72, 0xc3, 0x5a, 0x98, 0xbf, 0x4b, 0x94, 0x94, 0x82, 0x2a, 0x41, 0xb0, 0x26, 0x55, 0x2e, 0x10, + 0x52, 0x35, 0x9e, 0x1d, 0x3b, 0x43, 0x67, 0x67, 0xb6, 0x33, 0xb3, 0x29, 0x81, 0x17, 0xe0, 0x2d, + 0x78, 0x01, 0x2e, 0xe1, 0xa1, 0x78, 0x08, 0x24, 0xb4, 0xc7, 0xb3, 0x8e, 0xd7, 0x24, 0xd4, 0xbd, + 0xc8, 0x95, 0xbd, 0xe7, 0xfb, 0xce, 0x77, 0x7e, 0xbe, 0xdd, 0x03, 0x0f, 0x72, 0xc3, 0x9f, 0x73, + 0x65, 0xca, 0x8c, 0x2d, 0x84, 0xf6, 0xcf, 0x95, 0x59, 0x48, 0xce, 0x94, 0x16, 0xfe, 0x95, 0xb1, + 0x2f, 0xd2, 0xc2,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 0x89, 0xc9, 0x3f, 0x11, 0xbc, 0xd7, 0xfc, 0x34, 0x8f, 0xaa, 0x2f, 0x8b, + 0x48, 0xe8, 0x3c, 0xd5, 0x17, 0xe6, 0x85, 0x20, 0x1f, 0x6d, 0x79, 0x61, 0x96, 0x97, 0x6a, 0x98, + 0x6e, 0x4b, 0x5f, 0x5e, 0x99, 0xe4, 0x2d, 0xf2, 0x2b, 0x74, 0xeb, 0xdb, 0x43, 0x3e, 0xdb, 0x2e, + 0x7b, 0xe3, 0x3c, 0x0e, 0x3f, 0x7f, 0xd3, 0xb4, 0xba, 0xf8, 0xf1, 0xc7, 0x3f, 0x8c, 0x17, 0xd2, + 0x9f, 0x97, 0xb3, 0x94, 0x9b, 0x7c, 0x9c, 0x4b, 0x6e, 0x8d, 0x33, 0x73, 0x3f, 0xce, 0x0d, 0x1f, + 0xdb, 0x82, 0x8f, 0xaf, 0x34, 0xc7, 0x41, 0x73, 0xd6, 0xc1, 0xfb, 0xf7, 0xc9, 0xbf, 0x01, 0x00, + 0x00, 0xff, 0xff, 0xd7, 0xbd, 0xe2, 0x59, 0xa4, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/rpc/cloudagent/network/moc_cloudagent_virtualnetwork.pb.go b/rpc/cloudagent/network/moc_cloudagent_virtualnetwork.pb.go index 212d761a..49a19444 100644 --- a/rpc/cloudagent/network/moc_cloudagent_virtualnetwork.pb.go +++ b/rpc/cloudagent/network/moc_cloudagent_virtualnetwork.pb.go @@ -271,22 +271,23 @@ func (m *VirtualNetworkPrecheckResponse) GetError() string { } type VirtualNetwork struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - Subnets []*Subnet `protobuf:"bytes,3,rep,name=subnets,proto3" json:"subnets,omitempty"` - Dns *common.Dns `protobuf:"bytes,4,opt,name=dns,proto3" json:"dns,omitempty"` - Type VirtualNetworkType `protobuf:"varint,5,opt,name=type,proto3,enum=moc.cloudagent.network.VirtualNetworkType" json:"type,omitempty"` - Nodefqdn string `protobuf:"bytes,6,opt,name=nodefqdn,proto3" json:"nodefqdn,omitempty"` - GroupName string `protobuf:"bytes,7,opt,name=groupName,proto3" json:"groupName,omitempty"` - Status *common.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` - LocationName string `protobuf:"bytes,9,opt,name=locationName,proto3" json:"locationName,omitempty"` - MacPoolName string `protobuf:"bytes,10,opt,name=macPoolName,proto3" json:"macPoolName,omitempty"` - Tags *common.Tags `protobuf:"bytes,12,opt,name=tags,proto3" json:"tags,omitempty"` - LogicalNetwork *common.NetworkReference `protobuf:"bytes,13,opt,name=logicalNetwork,proto3" json:"logicalNetwork,omitempty"` - Cidr []string `protobuf:"bytes,14,rep,name=cidr,proto3" json:"cidr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Subnets []*Subnet `protobuf:"bytes,3,rep,name=subnets,proto3" json:"subnets,omitempty"` + Dns *common.Dns `protobuf:"bytes,4,opt,name=dns,proto3" json:"dns,omitempty"` + Type VirtualNetworkType `protobuf:"varint,5,opt,name=type,proto3,enum=moc.cloudagent.network.VirtualNetworkType" json:"type,omitempty"` + Nodefqdn string `protobuf:"bytes,6,opt,name=nodefqdn,proto3" json:"nodefqdn,omitempty"` + GroupName string `protobuf:"bytes,7,opt,name=groupName,proto3" json:"groupName,omitempty"` + Status *common.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` + LocationName string `protobuf:"bytes,9,opt,name=locationName,proto3" json:"locationName,omitempty"` + MacPoolName string `protobuf:"bytes,10,opt,name=macPoolName,proto3" json:"macPoolName,omitempty"` + Tags *common.Tags `protobuf:"bytes,12,opt,name=tags,proto3" json:"tags,omitempty"` + LogicalNetwork *common.NetworkReference `protobuf:"bytes,13,opt,name=logicalNetwork,proto3" json:"logicalNetwork,omitempty"` + Cidr []string `protobuf:"bytes,14,rep,name=cidr,proto3" json:"cidr,omitempty"` + NetworkControllerConfig *common.NetworkControllerConfig `protobuf:"bytes,15,opt,name=networkControllerConfig,proto3" json:"networkControllerConfig,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *VirtualNetwork) Reset() { *m = VirtualNetwork{} } @@ -405,6 +406,13 @@ func (m *VirtualNetwork) GetCidr() []string { return nil } +func (m *VirtualNetwork) GetNetworkControllerConfig() *common.NetworkControllerConfig { + if m != nil { + return m.NetworkControllerConfig + } + return nil +} + type Subnet struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` @@ -571,62 +579,64 @@ func init() { } var fileDescriptor_65af3e74534f0214 = []byte{ - // 875 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xdd, 0x6e, 0xe3, 0x44, - 0x14, 0x5e, 0x27, 0x69, 0x7e, 0x8e, 0xdb, 0xd4, 0x1a, 0xd8, 0xad, 0x15, 0xb1, 0x55, 0xe4, 0x15, - 0xab, 0xb2, 0x12, 0x8e, 0x08, 0xbf, 0x37, 0x20, 0xb5, 0x80, 0x50, 0x56, 0x6c, 0x37, 0x9a, 0x46, - 0xbd, 0x40, 0x48, 0xab, 0xa9, 0x3d, 0x49, 0xcd, 0xda, 0x33, 0xee, 0xcc, 0x38, 0xab, 0x8a, 0x17, - 0x80, 0xf7, 0x81, 0x97, 0xe0, 0x15, 0x78, 0x0c, 0xae, 0x91, 0xd0, 0x1c, 0x3b, 0xbf, 0x6c, 0xa5, - 0xf4, 0x62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f, 0xef, 0x66, 0xbd, - 0xb5, 0xb9, 0x7b, 0x5f, 0xdc, 0xd7, 0x6c, 0x11, 0xfc, 0xec, 0x93, 0x9f, 0x06, 0xb3, 0xc4, 0x5c, - 0x17, 0x57, 0x61, 0x24, 0xb3, 0x41, 0x96, 0x44, 0x4a, 0x6a, 0x39, 0x35, 0x83, 0x4c, 0x46, 0x03, - 0x95, 0x47, 0x83, 0x95, 0xcf, 0x41, 0xe5, 0xf3, 0xaa, 0x89, 0xab, 0xf9, 0xd3, 0xff, 0x02, 0x00, - 0x00, 0xff, 0xff, 0x96, 0x88, 0x02, 0x94, 0x6a, 0x08, 0x00, 0x00, + // 902 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xdb, 0x6a, 0xdc, 0x46, + 0x18, 0x8e, 0x76, 0xe5, 0x3d, 0xfc, 0xb2, 0xd7, 0x62, 0xda, 0xc4, 0x62, 0x49, 0x8c, 0x51, 0x68, + 0x70, 0x03, 0xd5, 0xd2, 0xed, 0xf1, 0xa6, 0x05, 0xdb, 0x2d, 0x65, 0x43, 0xe3, 0x2c, 0xe3, 0xc5, + 0x17, 0xa5, 0x10, 0x64, 0x69, 0x56, 0x56, 0x23, 0xcd, 0xc8, 0x33, 0xa3, 0x0d, 0xa6, 0x2f, 0xd0, + 0xbe, 0x4f, 0xfb, 0x12, 0xed, 0x23, 0xf4, 0x59, 0x0a, 0x65, 0x7e, 0x69, 0x8f, 0x8d, 0x61, 0x7d, + 0x91, 0xab, 0xd5, 0xcc, 0xf7, 0xfd, 0xdf, 0x7f, 0x9e, 0x85, 0xa7, 0xb9, 0x88, 0x5e, 0x47, 0x99, + 0x28, 0xe3, 0x30, 0x61, 0x5c, 0xbf, 0x9e, 0xa5, 0x52, 0x97, 0x61, 0xc6, 0x99, 0x7e, 0x2b, 0xe4, + 0x9b, 0xa0, 0x90, 0x42, 0x0b, 0xf2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x7d, 0xcd, 0xe6, 0xce, 0x4f, 0x3f, 0xfd, 0x69, 0x90, 0xa4, 0xfa, 0xba, 0xbc, 0x0a, 0x22, 0x91, + 0x0f, 0xf2, 0x34, 0x92, 0x42, 0x89, 0xa9, 0x1e, 0xe4, 0x22, 0x1a, 0xc8, 0x22, 0x1a, 0x2c, 0x35, + 0x07, 0xb5, 0xe6, 0x55, 0x0b, 0x9f, 0xfc, 0xcf, 0xfe, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xd5, 0x3b, + 0x8f, 0xd4, 0xc2, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/rpc/cloudagent/network/virtualnetwork/moc_cloudagent_virtualnetwork.proto b/rpc/cloudagent/network/virtualnetwork/moc_cloudagent_virtualnetwork.proto index 019f9afc..f80a9b88 100644 --- a/rpc/cloudagent/network/virtualnetwork/moc_cloudagent_virtualnetwork.proto +++ b/rpc/cloudagent/network/virtualnetwork/moc_cloudagent_virtualnetwork.proto @@ -60,6 +60,7 @@ message VirtualNetwork { Tags tags = 12; NetworkReference logicalNetwork = 13; repeated string cidr = 14; + NetworkControllerConfig networkControllerConfig = 15; } message Subnet { diff --git a/rpc/common/moc_common_networkcommon.pb.go b/rpc/common/moc_common_networkcommon.pb.go index 04a4dd06..46639df7 100644 --- a/rpc/common/moc_common_networkcommon.pb.go +++ b/rpc/common/moc_common_networkcommon.pb.go @@ -689,6 +689,77 @@ func (m *AdvancedNetworkPolicy) GetEnabled() bool { return false } +type NetworkControllerConfig struct { + IsSdnEnabled bool `protobuf:"varint,1,opt,name=isSdnEnabled,proto3" json:"isSdnEnabled,omitempty"` + IsSdnVnetEnabled bool `protobuf:"varint,2,opt,name=isSdnVnetEnabled,proto3" json:"isSdnVnetEnabled,omitempty"` + IsSdnVnetV2Enabled bool `protobuf:"varint,3,opt,name=isSdnVnetV2Enabled,proto3" json:"isSdnVnetV2Enabled,omitempty"` + IsSdnLBV2Enabled bool `protobuf:"varint,4,opt,name=isSdnLBV2Enabled,proto3" json:"isSdnLBV2Enabled,omitempty"` + IsLegacySdnEnabled bool `protobuf:"varint,5,opt,name=isLegacySdnEnabled,proto3" json:"isLegacySdnEnabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NetworkControllerConfig) Reset() { *m = NetworkControllerConfig{} } +func (m *NetworkControllerConfig) String() string { return proto.CompactTextString(m) } +func (*NetworkControllerConfig) ProtoMessage() {} +func (*NetworkControllerConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_ba09ae1dfdbe03d2, []int{10} +} + +func (m *NetworkControllerConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NetworkControllerConfig.Unmarshal(m, b) +} +func (m *NetworkControllerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NetworkControllerConfig.Marshal(b, m, deterministic) +} +func (m *NetworkControllerConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkControllerConfig.Merge(m, src) +} +func (m *NetworkControllerConfig) XXX_Size() int { + return xxx_messageInfo_NetworkControllerConfig.Size(m) +} +func (m *NetworkControllerConfig) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkControllerConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkControllerConfig proto.InternalMessageInfo + +func (m *NetworkControllerConfig) GetIsSdnEnabled() bool { + if m != nil { + return m.IsSdnEnabled + } + return false +} + +func (m *NetworkControllerConfig) GetIsSdnVnetEnabled() bool { + if m != nil { + return m.IsSdnVnetEnabled + } + return false +} + +func (m *NetworkControllerConfig) GetIsSdnVnetV2Enabled() bool { + if m != nil { + return m.IsSdnVnetV2Enabled + } + return false +} + +func (m *NetworkControllerConfig) GetIsSdnLBV2Enabled() bool { + if m != nil { + return m.IsSdnLBV2Enabled + } + return false +} + +func (m *NetworkControllerConfig) GetIsLegacySdnEnabled() bool { + if m != nil { + return m.IsLegacySdnEnabled + } + return false +} + type ProbeReference struct { ResourceRef *ResourceReference `protobuf:"bytes,1,opt,name=resourceRef,proto3" json:"resourceRef,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -700,7 +771,7 @@ func (m *ProbeReference) Reset() { *m = ProbeReference{} } func (m *ProbeReference) String() string { return proto.CompactTextString(m) } func (*ProbeReference) ProtoMessage() {} func (*ProbeReference) Descriptor() ([]byte, []int) { - return fileDescriptor_ba09ae1dfdbe03d2, []int{10} + return fileDescriptor_ba09ae1dfdbe03d2, []int{11} } func (m *ProbeReference) XXX_Unmarshal(b []byte) error { @@ -739,7 +810,7 @@ func (m *FrontendIPConfigurationReference) Reset() { *m = FrontendIPConf func (m *FrontendIPConfigurationReference) String() string { return proto.CompactTextString(m) } func (*FrontendIPConfigurationReference) ProtoMessage() {} func (*FrontendIPConfigurationReference) Descriptor() ([]byte, []int) { - return fileDescriptor_ba09ae1dfdbe03d2, []int{11} + return fileDescriptor_ba09ae1dfdbe03d2, []int{12} } func (m *FrontendIPConfigurationReference) XXX_Unmarshal(b []byte) error { @@ -778,7 +849,7 @@ func (m *LoadBalancerReference) Reset() { *m = LoadBalancerReference{} } func (m *LoadBalancerReference) String() string { return proto.CompactTextString(m) } func (*LoadBalancerReference) ProtoMessage() {} func (*LoadBalancerReference) Descriptor() ([]byte, []int) { - return fileDescriptor_ba09ae1dfdbe03d2, []int{12} + return fileDescriptor_ba09ae1dfdbe03d2, []int{13} } func (m *LoadBalancerReference) XXX_Unmarshal(b []byte) error { @@ -818,7 +889,7 @@ func (m *BackendAddressPoolReference) Reset() { *m = BackendAddressPoolR func (m *BackendAddressPoolReference) String() string { return proto.CompactTextString(m) } func (*BackendAddressPoolReference) ProtoMessage() {} func (*BackendAddressPoolReference) Descriptor() ([]byte, []int) { - return fileDescriptor_ba09ae1dfdbe03d2, []int{13} + return fileDescriptor_ba09ae1dfdbe03d2, []int{14} } func (m *BackendAddressPoolReference) XXX_Unmarshal(b []byte) error { @@ -870,6 +941,7 @@ func init() { proto.RegisterType((*SubnetReference)(nil), "moc.SubnetReference") proto.RegisterType((*PublicIPAddressReference)(nil), "moc.PublicIPAddressReference") proto.RegisterType((*AdvancedNetworkPolicy)(nil), "moc.AdvancedNetworkPolicy") + proto.RegisterType((*NetworkControllerConfig)(nil), "moc.NetworkControllerConfig") proto.RegisterType((*ProbeReference)(nil), "moc.ProbeReference") proto.RegisterType((*FrontendIPConfigurationReference)(nil), "moc.FrontendIPConfigurationReference") proto.RegisterType((*LoadBalancerReference)(nil), "moc.LoadBalancerReference") @@ -879,56 +951,61 @@ func init() { func init() { proto.RegisterFile("moc_common_networkcommon.proto", fileDescriptor_ba09ae1dfdbe03d2) } var fileDescriptor_ba09ae1dfdbe03d2 = []byte{ - // 812 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x51, 0x6f, 0xe3, 0x44, - 0x10, 0xae, 0xe3, 0x34, 0x6d, 0x26, 0xba, 0xeb, 0x76, 0xa1, 0xc5, 0x3a, 0x38, 0x28, 0x3e, 0x21, - 0x4a, 0x84, 0x1a, 0xa9, 0x9c, 0x4e, 0x08, 0x09, 0xa4, 0xf4, 0xd2, 0x1e, 0x86, 0x5c, 0xce, 0x38, - 0x69, 0x10, 0x08, 0x54, 0x6d, 0xd6, 0x9b, 0x74, 0x75, 0xf6, 0xae, 0xb5, 0x5e, 0x87, 0x8b, 0xc4, - 0x03, 0x7f, 0x84, 0x9f, 0xc0, 0x7f, 0x44, 0xbb, 0x76, 0x88, 0xef, 0xda, 0x07, 0x1e, 0xf2, 0x36, - 0x33, 0xfb, 0x7d, 0xdf, 0xce, 0x7c, 0x1e, 0xdb, 0xf0, 0x71, 0x2a, 0xe9, 0x0d, 0x95, 0x69, 0x2a, - 0xc5, 0x8d, 0x60, 0xfa, 0x0f, 0xa9, 0x5e, 0x97, 0xd9, 0x59, 0xa6, 0xa4, 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0x74, 0x3f, 0x5d, 0x7f, 0xaa, 0xcd, 0x16, 0xe1, 0x16, 0x34, 0xa6, 0x2f, 0x4b, 0xf8, - 0xb4, 0x2c, 0x23, 0xa7, 0x7b, 0x05, 0x9d, 0xda, 0x9b, 0x88, 0xdf, 0x83, 0x83, 0x69, 0x10, 0x4d, - 0xae, 0xfb, 0xc3, 0x9b, 0xd1, 0xe5, 0xe4, 0xe7, 0x57, 0xd1, 0x8f, 0x68, 0xc7, 0x14, 0x87, 0xaf, - 0x5e, 0x04, 0xcf, 0x6b, 0x45, 0x07, 0x3f, 0x80, 0xf6, 0xf5, 0x68, 0x70, 0x79, 0x15, 0x8c, 0x2e, - 0x07, 0xa8, 0xd1, 0xfd, 0x04, 0xda, 0x41, 0x38, 0x65, 0x2a, 0xe7, 0x52, 0xe0, 0x7d, 0x68, 0x06, - 0xe1, 0xf2, 0x29, 0xda, 0xa9, 0xa2, 0x67, 0xc8, 0xe9, 0x7e, 0x01, 0x87, 0x77, 0x16, 0xdb, 0x8e, - 0x31, 0x9a, 0xf6, 0x87, 0xc1, 0xa0, 0xf4, 0x64, 0x3c, 0x18, 0x21, 0xe7, 0xe2, 0xb3, 0x5f, 0x9f, - 0x2c, 0xb8, 0xbe, 0x2d, 0x66, 0x67, 0x54, 0xa6, 0xbd, 0x94, 0x53, 0x25, 0x73, 0x39, 0xd7, 0xbd, - 0x54, 0xd2, 0x9e, 0xca, 0x68, 0xaf, 0xfc, 0xf3, 0xcd, 0x5a, 0xf6, 0xd7, 0xf7, 0xd5, 0xbf, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x54, 0x0a, 0xfa, 0xbf, 0x3a, 0x07, 0x00, 0x00, + // 892 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5d, 0x6f, 0x23, 0x35, + 0x14, 0xed, 0x24, 0x69, 0xda, 0xdc, 0xb0, 0x5b, 0xd7,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30, 0x72, 0x5a, 0x17, 0xd0, 0x2c, 0xfd, 0x81, 0xf0, 0xfb, 0xb0, 0x37, 0xf6, 0xc3, + 0xd1, 0x65, 0xa7, 0x7f, 0x35, 0xe8, 0x8d, 0x7e, 0x7e, 0x13, 0xfe, 0x88, 0xb6, 0x0c, 0xd8, 0x7f, + 0xf3, 0xca, 0x3f, 0x2f, 0x81, 0x0e, 0x7e, 0x04, 0x8d, 0xcb, 0x41, 0xb7, 0x77, 0xe1, 0x0f, 0x7a, + 0x5d, 0x54, 0x69, 0x7d, 0x02, 0x0d, 0x3f, 0x18, 0x33, 0x95, 0x71, 0x29, 0xf0, 0x2e, 0xd4, 0xfc, + 0x60, 0xf1, 0x02, 0x6d, 0x15, 0xd1, 0x4b, 0xe4, 0xb4, 0xbe, 0x80, 0xfd, 0x7b, 0x03, 0x6d, 0x8f, + 0x31, 0x18, 0x77, 0xfa, 0x7e, 0x37, 0xef, 0xc9, 0xb0, 0x3b, 0x40, 0xce, 0xd9, 0x67, 0xbf, 0x3e, + 0x9f, 0x71, 0x7d, 0x3d, 0x9f, 0x9c, 0x50, 0x99, 0xb4, 0x13, 0x4e, 0x95, 0xcc, 0xe4, 0x54, 0xb7, + 0x13, 0x49, 0xdb, 0x2a, 0xa5, 0xed, 0xfc, 0xc5, 0x9f, 0xd4, 0xed, 0x93, 0xff, 0xd5, 0x7f, 0x01, + 0x00, 0x00, 0xff, 0xff, 0xc5, 0xa2, 0x7f, 0x7c, 0x32, 0x08, 0x00, 0x00, } diff --git a/rpc/common/moc_common_networkcommon.proto b/rpc/common/moc_common_networkcommon.proto index 593b7c80..98344d10 100644 --- a/rpc/common/moc_common_networkcommon.proto +++ b/rpc/common/moc_common_networkcommon.proto @@ -97,6 +97,14 @@ message AdvancedNetworkPolicy { bool enabled = 2; } +message NetworkControllerConfig { + bool isSdnEnabled = 1; + bool isSdnVnetEnabled = 2; + bool isSdnVnetV2Enabled = 3; + bool isSdnLBV2Enabled = 4; + bool isLegacySdnEnabled = 5; +} + message ProbeReference { ResourceReference resourceRef = 1;