mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
c37b50a024
This patch suppose the default interval of the BMP stats reports is 0 which disable this feature and the range of this interval is 15 though 65535 seconds to follow Junos OS configuration. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
What's this ? ============= This is a pyang plugin to generate config/bgp_configs.go from openconfig yang files (see https://github.com/openconfig/public). How to use ========== :: $ git clone https://github.com/osrg/public $ git clone https://github.com/YangModels/yang $ YANG_DIR=`pwd` $ cd $PYANG_INSTALL_DIR $ source ./env.sh $ PYTHONPATH=. ./bin/pyang --plugindir $GOBGP_PATH/tools/pyang_plugins \ -p $YANG_DIR/yang/standard/ietf/RFC \ -p $YANG_DIR/public/release/models \ -p $YANG_DIR/public/release/models/bgp \ -p $YANG_DIR/public/release/models/policy \ -f golang $YANG_DIR/public/release/models/bgp/openconfig-bgp.yang \ $YANG_DIR/public/release/models/policy/openconfig-routing-policy.yang \ $GOBGP_PATH/tools/pyang_plugins/gobgp.yang \ | gofmt > $GOBGP_PATH/config/bgp_configs.go