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

api/gNMI support for getVersion and DHCPv4/v6 #105

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
9 changes: 4 additions & 5 deletions binding/grpcutil/testservice/gen/testservice.pb.go

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

30 changes: 24 additions & 6 deletions binding/grpcutil/testservice/gen/testservice_grpc.pb.go

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

5 changes: 5 additions & 0 deletions gnmi/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ OTG_YANG_FILES=(
models-yang/models/lldp/open-traffic-generator-lldp.yang
models-yang/models/rsvp/open-traffic-generator-rsvp.yang
models-yang/models/types/open-traffic-generator-types.yang
models-yang/models/dhcp/v4client/open-traffic-generator-dhcpv4client.yang
models-yang/models/dhcp/v4server/open-traffic-generator-dhcpv4server.yang
models-yang/models/platform/open-traffic-generator-platform.yang
models-yang/models/dhcp/v6client/open-traffic-generator-dhcpv6client.yang
models-yang/models/dhcp/v6server/open-traffic-generator-dhcpv6server.yang
)

go run github.com/openconfig/ygnmi/app/ygnmi generator \
Expand Down
91,987 changes: 45,992 additions & 45,995 deletions gnmi/oc/schema.go

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions gnmi/otg/bgp/bgp-0.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ using the following YANG input files:
- models-yang/models/lldp/open-traffic-generator-lldp.yang
- models-yang/models/rsvp/open-traffic-generator-rsvp.yang
- models-yang/models/types/open-traffic-generator-types.yang
- models-yang/models/dhcp/v4client/open-traffic-generator-dhcpv4client.yang
- models-yang/models/dhcp/v4server/open-traffic-generator-dhcpv4server.yang
- models-yang/models/platform/open-traffic-generator-platform.yang
- models-yang/models/dhcp/v6client/open-traffic-generator-dhcpv6client.yang
- models-yang/models/dhcp/v6server/open-traffic-generator-dhcpv6server.yang

Imported modules were sourced from:
- models-yang/models/...
Expand Down Expand Up @@ -345,7 +350,7 @@ func (n *BgpPeerPathAny) Counters() *BgpPeer_CountersPathAny {
return ps
}

// Name (leaf): An arbitary name of the BGP peer determined by the ATE
// Name (leaf): An arbitrary name of the BGP peer determined by the ATE
// configuration.
//
// Defining module: "open-traffic-generator-bgp"
Expand All @@ -364,7 +369,7 @@ func (n *BgpPeerPath) Name() *BgpPeer_NamePath {
return ps
}

// Name (leaf): An arbitary name of the BGP peer determined by the ATE
// Name (leaf): An arbitrary name of the BGP peer determined by the ATE
// configuration.
//
// Defining module: "open-traffic-generator-bgp"
Expand Down
Loading