diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-03-03 13:24:27 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-03-03 13:24:27 +0900 |
commit | c61f97fcfec30025aa2ee29b966d31143483bccd (patch) | |
tree | f36af576764ff1bbebbe8d0925e1cadd8a360623 | |
parent | 84a846719d75cad500ac83f34eda11035a332599 (diff) |
tools: cosmetic fixes for README for yang plugin
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | tools/pyang_plugins/README.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/pyang_plugins/README.rst b/tools/pyang_plugins/README.rst index 04d25614..7fcb3018 100644 --- a/tools/pyang_plugins/README.rst +++ b/tools/pyang_plugins/README.rst @@ -10,11 +10,12 @@ Currently, we made some modifications to the yang files: How to use ========== +:: + $ git clone -b gobgp https://github.com/osrg/yang $ YANG_DIR=`pwd`/yang/experimental/openconfig $ cd $PYANG_INSTALL_DIR - $ source ./env.sh + $ source ./env.sh $ PYTHONPATH=. ./bin/pyang --plugindir $GOBGP_PATH/tools/pyang_plugins \ - -p $YANG_DIR/bgp \ - -p $YANG_DIR/policy \ - -f golang $YANG_DIR/bgp/bgp.yang |gofmt > $GOBGP_PATH/config/bgp_configs.go + -p $YANG_DIR/bgp -p $YANG_DIR/policy \ + -f golang $YANG_DIR/bgp/bgp.yang |gofmt > $GOBGP_PATH/config/bgp_configs.go |