Name: contrail-go-api
Owner: Juniper Networks
Description: golang API bindings for OpenContrail
Created: 2014-11-22 00:15:31.0
Updated: 2017-04-13 21:19:52.0
Pushed: 2018-02-06 09:52:02.0
Homepage: null
Size: 222
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
golang API bindings for OpenContrail
The library consists on the contrail package plus an autogenerated package “contrail-go-api/types” that contains types corresponding to the OpenContrail datamodel defined in contrail-controller/src/schema.
The contail-go-api package can be installed with the “go get” command:
et github.com/Juniper/contrail-go-api
The types package is generated using the command:
s/generateds/generateDS.py -f -o $GOPATH/src/github.com/Juniper/contrail-go-api/types -g golang-api controller/src/schema/vnc_cfg.xsd
Pre-generated tar files with the generated types are also available as part of each release. The golang types corresponding to the schema defined by OpenContrail R2.20 are available at:
To build the CLI command:
nstall github.com/Juniper/contrail-go-api/cli
TODO items: