reworking bgp clustering (prefixcount) suite to support openconfig in carbon
[integration/test.git] / csit / variables / bgpclustering / bgp_peer / data.json
index d7f9df91721e7e5a02a3bca6e62a53840ba039f1..7e7af33232884d96126003699d9a1ee06b2f3d10 100644 (file)
@@ -1,33 +1,34 @@
 {
-    "module": [
+    "bgp-openconfig-extensions:neighbor": [
         {
-            "type": "odl-bgp-rib-impl-cfg:bgp-peer",
-            "name": "$BGP_NAME",
-            "odl-bgp-rib-impl-cfg:rib": {
-                "type": "odl-bgp-rib-impl-cfg:rib-instance",
-                "name": "$BGP_RIB"
+            "neighbor-address": "$IP",
+            "timers": {
+                "config": {
+                    "hold-time": $HOLDTIME,
+                    "connect-retry": 10
+                }
+            },
+            "afi-safis": {
+                "afi-safi": [
+                    {
+                        "afi-safi-name": "openconfig-bgp-types:IPV4-UNICAST"
+                    },
+                    {
+                        "afi-safi-name": "openconfig-bgp-types:L3VPN-IPV4-UNICAST"
+                    },
+                    {
+                        "afi-safi-name": "openconfig-bgp-types:L2VPN-EVPN"
+                    }
+                ]
             },
-            "odl-bgp-rib-impl-cfg:holdtimer": $HOLDTIME,
-            "odl-bgp-rib-impl-cfg:port": $PEER_PORT,
-            "odl-bgp-rib-impl-cfg:advertized-table": [
-                {
-                    "type": "odl-bgp-rib-impl-cfg:bgp-table-type",
-                    "name": "ipv4-unicast"
-                },
-                {
-                    "type": "odl-bgp-rib-impl-cfg:bgp-table-type",
-                    "name": "linkstate"
-                },
-                {
-                    "type": "odl-bgp-rib-impl-cfg:bgp-table-type",
-                    "name": "ipv6-unicast"
+            "transport": {
+                "config": {
+                    "remote-port": $PEER_PORT,
+                    "passive-mode": $PASSIVE_MODE
                 }
-            ],
-            "odl-bgp-rib-impl-cfg:host": "$IP",
-            "odl-bgp-rib-impl-cfg:initiate-connection": $INITIATE,
-            "odl-bgp-rib-impl-cfg:peer-registry": {
-                "type": "odl-bgp-rib-impl-cfg:bgp-peer-registry",
-                "name": "global-bgp-peer-registry"
+            },
+            "config": {
+                "peer-type": "INTERNAL"
             }
         }
     ]