From 3e0872a38aff02dc945090e08aba24b20a9e4d03 Mon Sep 17 00:00:00 2001 From: David Avnerson Date: Mon, 11 Mar 2024 15:15:38 +0200 Subject: [PATCH] update vendor service defaults --- topo/node/drivenets/drivenets.go | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/topo/node/drivenets/drivenets.go b/topo/node/drivenets/drivenets.go index e6907bd4..f83a2cab 100644 --- a/topo/node/drivenets/drivenets.go +++ b/topo/node/drivenets/drivenets.go @@ -255,21 +255,13 @@ func cdnosDefaults(pb *tpb.Node) *tpb.Node { pb.Services = map[uint32]*tpb.Service{ // https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=gnmi 9339: { - Name: "gnmi", + Names: []string{"gnmi", "gnoi", "gnsi"}, Inside: 9339, }, 9340: { - Name: "gribi", + Names: []string{"gribi"}, Inside: 9340, }, - 9341: { - Name: "gnsi", - Inside: 9339, - }, - 9342: { - Name: "gnoi", - Inside: 9339, - }, } } return pb