Directories ¶
Path | Synopsis |
---|---|
demo
|
|
bgp
Binary ocbgpdemo provides a demonstration application which uses the OpenConfig structs library to create a data instance of the BGP model, and output it as JSON.
|
Binary ocbgpdemo provides a demonstration application which uses the OpenConfig structs library to create a data instance of the BGP model, and output it as JSON. |
device
Binary devicedemo provides a demonstration application which uses the OpenConfig structs library to create a data instance of an entire device, and output it as JSON.
|
Binary devicedemo provides a demonstration application which uses the OpenConfig structs library to create a data instance of an entire device, and output it as JSON. |
getting_started
Binary interfaces is a getting started example for the ygot library.
|
Binary interfaces is a getting started example for the ygot library. |
getting_started/pkg/ocdemo
Package ocdemo is a demonstration package for use in the getting_started ygot demo.
|
Package ocdemo is a demonstration package for use in the getting_started ygot demo. |
gnmi_telemetry
Binary gnmi_telemetry provides an example application demonstrating the use of the ygot package to create gNMI telemetry notifications for use in the Subscribe RPC from a populated set of structs generated by ygen.
|
Binary gnmi_telemetry provides an example application demonstrating the use of the ygot package to create gNMI telemetry notifications for use in the Subscribe RPC from a populated set of structs generated by ygen. |
optical
Binary devicedemo provides a demonstration application which uses the OpenConfig structs library to create a data instance of an entire device, and output it as JSON.
|
Binary devicedemo provides a demonstration application which uses the OpenConfig structs library to create a data instance of an entire device, and output it as JSON. |
protobuf_getting_started
Package main contains a demo of using a protobuf schema generated by ygot to generate a Protobuf form of the OpenConfig RIB model.
|
Package main contains a demo of using a protobuf schema generated by ygot to generate a Protobuf form of the OpenConfig RIB model. |
protobuf_getting_started/ribproto/openconfig
Package openconfig is a generated protocol buffer package.
|
Package openconfig is a generated protocol buffer package. |
protobuf_getting_started/ribproto/openconfig/enums
Package openconfig_enums is a generated protocol buffer package.
|
Package openconfig_enums is a generated protocol buffer package. |
protobuf_getting_started/ribproto/openconfig/openconfig_rib_bgp
Package openconfig_openconfig_rib_bgp is a generated protocol buffer package.
|
Package openconfig_openconfig_rib_bgp is a generated protocol buffer package. |
uncompressed
Binary uncompressed is an example package showing the usage of ygot for an uncompressed schema.
|
Binary uncompressed is an example package showing the usage of ygot for an uncompressed schema. |
uncompressed/pkg/demo
Package demo is an example package demonstrating the use of the uncompressed structs produced by ygot.
|
Package demo is an example package demonstrating the use of the uncompressed structs produced by ygot. |
Package exampleoc is a generated package which contains definitions of structs which represent a YANG schema.
|
Package exampleoc is a generated package which contains definitions of structs which represent a YANG schema. |
experimental
|
|
ygotutils
Package ygotutils implements utility functions for users of github.com/openconfig/ygot.
|
Package ygotutils implements utility functions for users of github.com/openconfig/ygot. |
Binary generator generates Go code corresponding to an input YANG schema.
|
Binary generator generates Go code corresponding to an input YANG schema. |
proto
|
|
yext
package yext contains generated code for the yext protobuf.
|
package yext contains generated code for the yext protobuf. |
ywrapper
package ywrapper contains generated code for the ywrapper protobuf.
|
package ywrapper contains generated code for the ywrapper protobuf. |
Binary proto_generator generates Protobuf3 code corresponding to an input YANG schema.
|
Binary proto_generator generates Protobuf3 code corresponding to an input YANG schema. |
Package util implements utlity functions used in ygot.
|
Package util implements utlity functions used in ygot. |
Package ygen contains a library to generate Go structs from a YANG model.
|
Package ygen contains a library to generate Go structs from a YANG model. |
Package ygot contains helper methods for dealing with structs that represent a YANG schema.
|
Package ygot contains helper methods for dealing with structs that represent a YANG schema. |
Package ytypes implements YANG type validation logic.
|
Package ytypes implements YANG type validation logic. |
schema_tests
Package validate is used for testing with the default OpenConfig generated structs.
|
Package validate is used for testing with the default OpenConfig generated structs. |
Click to show internal directories.
Click to hide internal directories.