summaryrefslogtreecommitdiffhomepage
path: root/tools/pyang_plugins/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pyang_plugins/README.rst')
-rw-r--r--tools/pyang_plugins/README.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/pyang_plugins/README.rst b/tools/pyang_plugins/README.rst
index 7fcb3018..4d45904e 100644
--- a/tools/pyang_plugins/README.rst
+++ b/tools/pyang_plugins/README.rst
@@ -18,4 +18,5 @@ How to use
$ 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
+ -f golang $YANG_DIR/bgp/bgp.yang \
+ --augment $YANG_DIR/bgp/bgp-policy.yang |gofmt > $GOBGP_PATH/config/bgp_configs.go