diff --git a/src/sonic-yang-models/setup.py b/src/sonic-yang-models/setup.py index 756ef83dabf8..fb8734e571b4 100644 --- a/src/sonic-yang-models/setup.py +++ b/src/sonic-yang-models/setup.py @@ -81,6 +81,7 @@ def run(self): './yang-models/sonic-auto_techsupport.yang', './yang-models/sonic-bgp-common.yang', './yang-models/sonic-bgp-global.yang', + './yang-models/sonic-bgp-monitor.yang', './yang-models/sonic-bgp-neighbor.yang', './yang-models/sonic-bgp-peergroup.yang', './yang-models/sonic-breakout_cfg.yang', @@ -145,6 +146,7 @@ def run(self): ('cvlyang-models', ['./cvlyang-models/sonic-acl.yang', './cvlyang-models/sonic-bgp-common.yang', './cvlyang-models/sonic-bgp-global.yang', + './cvlyang-models/sonic-bgp-monitor.yang', './cvlyang-models/sonic-bgp-neighbor.yang', './cvlyang-models/sonic-bgp-peergroup.yang', './cvlyang-models/sonic-breakout_cfg.yang', diff --git a/src/sonic-yang-models/tests/files/sample_config_db.json b/src/sonic-yang-models/tests/files/sample_config_db.json index 71ffcc15560f..e69255623144 100644 --- a/src/sonic-yang-models/tests/files/sample_config_db.json +++ b/src/sonic-yang-models/tests/files/sample_config_db.json @@ -1147,6 +1147,18 @@ "default|ipv4_unicast|21.0.0.0/8": { } }, + "BGP_MONITORS": { + "5.6.7.8": { + "admin_status": "up", + "asn": "65000", + "holdtime": "180", + "keepalive": "60", + "local_addr": "10.0.0.11", + "name": "BGPMonitor", + "nhopself": "0", + "rrclient": "0" + } + }, "BGP_NEIGHBOR": { "10.0.0.1": { "asn": "65200",