Skip to content

bisdn/basebox-protobuf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protocol Buffer for basebox

This repository is a collection of protocol buffer used in basebox.

Contents

The folder common contains the proto files generated from the public yang model:

  • The empty.proto defines a empty message.
  • The ietf-network.proto is generated from the RFC 8345 and define the data model for the topology.
  • The openconfig-interfaces.proto is generated from the openconfig-interfaces extension for the vlan and layer 3 information. This model is used for the statistics and the vlan configuration.
  • The ietf-vxlan.proto is generated from the draft-chen-nvo3-vxlan-yang-06 and it used to configure vxlan.

In the folder api are defined the APIs for the vlan and vxlan configuration.

In the folder statistics are defined the APIs for the statistics.

In the folder topology are defined the APIs for the topology.

Protocol Buffer generation

To generate the proto file from the YANG data model, goyang was used. Example:

goyang  --format proto  --proto_flat --proto_dir /path/to/protos/ --path /path/to/yang/dependencies model.yang

License

In folder the common each file is under the same license as the model from which it is generated. The other files are licensed under the Mozilla Public License Version 2.0. A local copy can be found here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published