From e535f1335b770c140d4edd9df288f5ff47e0639f Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Mon, 6 Jul 2015 22:28:11 +0900 Subject: tools/pyang_plugins: update README.rst Signed-off-by: ISHIDA Wataru --- tools/pyang_plugins/README.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tools/pyang_plugins/README.rst b/tools/pyang_plugins/README.rst index 4d45904e..dc4e2a0e 100644 --- a/tools/pyang_plugins/README.rst +++ b/tools/pyang_plugins/README.rst @@ -13,10 +13,13 @@ How to use :: $ git clone -b gobgp https://github.com/osrg/yang - $ YANG_DIR=`pwd`/yang/experimental/openconfig + $ YANG_DIR=`pwd`/yang $ cd $PYANG_INSTALL_DIR $ 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 \ - --augment $YANG_DIR/bgp/bgp-policy.yang |gofmt > $GOBGP_PATH/config/bgp_configs.go + -p $YANG_DIR/standard/ietf/RFC \ + -p $YANG_DIR/experimental/openconfig/bgp \ + -p $YANG_DIR/experimental/openconfig/policy \ + -f golang $YANG_DIR/experimental/openconfig/bgp/bgp.yang \ + --augment $YANG_DIR/experimental/openconfig/bgp/bgp-policy.yang \ + | gofmt > $GOBGP_PATH/config/bgp_configs.go -- cgit v1.2.3