summaryrefslogtreecommitdiffhomepage
path: root/tools/pyang_plugins/README.rst
diff options
context:
space:
mode:
authorHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-04-24 20:30:30 +0900
committerHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-04-24 20:33:17 +0900
commit99133709be6c555b814347f7deb34f45129be5dd (patch)
tree45c206c8c25814ed0e7a4381b73c932bb29e90c2 /tools/pyang_plugins/README.rst
parentf7401e177a2a60d6537339e6ee11576d23f32c41 (diff)
config: add bgp-policy configuration
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