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. |
integration_tests
|
|
uncompressed
Package uncompressed is an integration test for ygot that tests features of uncompressed schemas using real YANG schemas.
|
Package uncompressed is an integration test for ygot that tests features of uncompressed schemas using real YANG schemas. |
uncompressed/cschema
Package cschema is a compressed schema generated based on the yang/uncompressed.yang schema.
|
Package cschema is a compressed schema generated based on the yang/uncompressed.yang schema. |
uncompressed/uschema
Package uschema is a compressed schema generated based on the yang/uncompressed.yang schema.
|
Package uschema is a compressed schema generated based on the yang/uncompressed.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 yangplugin is a plugin to protoc-gen-go which adds additional output to the generated .pb.go.
|
Package yangplugin is a plugin to protoc-gen-go which adds additional output to the generated .pb.go. |
Package testcmp contains a functions that can be used alongside the Go cmp or ygot testutil packages to provide comparisons between particular gNMI or ygot data structures with more intelligence than the base cmp or proto.Equal functions.
|
Package testcmp contains a functions that can be used alongside the Go cmp or ygot testutil packages to provide comparisons between particular gNMI or ygot data structures with more intelligence than the base cmp or proto.Equal functions. |
Package testutil contains a set of utilities that are useful within tests of ygot-related data.
|
Package testutil contains a set of utilities that are useful within tests of ygot-related data. |
Package uexampleoc is a generated package which contains definitions of structs which represent a YANG schema.
|
Package uexampleoc is a generated package which contains definitions of structs which represent a 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. |
schema_tests
Package schematest is used for testing with the default OpenConfig generated structs.
|
Package schematest is used for testing with the default OpenConfig generated structs. |
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. |
pathtranslate
Package pathtranslate exports api to transform given string slice into different forms in a schema aware manner.
|
Package pathtranslate exports api to transform given string slice into different forms in a schema aware manner. |
schema_tests
Package schematest is used for testing with the default OpenConfig generated structs.
|
Package schematest is used for testing with the default OpenConfig generated structs. |
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.