summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/configs/odl
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-12-07 18:10:28 +0100
committerFilip Tehlar <ftehlar@cisco.com>2016-12-07 18:15:27 +0100
commitaae5e3f47fb4ac59c36b55b3d91da9bb5f747c22 (patch)
treea42ebf9bfaff37ec22349068b07fef99e9f66b4f /tests/data_plane/configs/odl
parent4ff1fc154b4b7460beeda06612b907004b7838c8 (diff)
Add a test for mapping expiration
Change-Id: I94004c1cf7651aef2bcfa408aafac6a9bec20b0b Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/odl')
-rw-r--r--tests/data_plane/configs/odl/map_timers/map1.json32
-rw-r--r--tests/data_plane/configs/odl/map_timers/map2.json33
-rw-r--r--tests/data_plane/configs/odl/map_timers/map3.json29
-rw-r--r--tests/data_plane/configs/odl/map_timers/map4.json29
4 files changed, 123 insertions, 0 deletions
diff --git a/tests/data_plane/configs/odl/map_timers/map1.json b/tests/data_plane/configs/odl/map_timers/map1.json
new file mode 100644
index 0000000..1c29da3
--- /dev/null
+++ b/tests/data_plane/configs/odl/map_timers/map1.json
@@ -0,0 +1,32 @@
+{
+ "input": {
+ "mapping-record": {
+ "recordTtl": 1,
+ "action": "NoAction",
+ "authoritative": true,
+ "eid": {
+ "address-type": "ietf-lisp-address-types:source-dest-key-lcaf",
+ "source-dest-key": {
+ "source": "6.0.1.0/24",
+ "dest": "6.0.2.0/24"
+ }
+ },
+ "LocatorRecord": [
+ {
+ "locator-id": "ISP1",
+ "priority": 1,
+ "weight": 1,
+ "multicastPriority": 255,
+ "multicastWeight": 0,
+ "localLocator": true,
+ "rlocProbed": false,
+ "routed": false,
+ "rloc": {
+ "address-type": "ietf-lisp-address-types:ipv4-afi",
+ "ipv4": "6.0.3.2"
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/tests/data_plane/configs/odl/map_timers/map2.json b/tests/data_plane/configs/odl/map_timers/map2.json
new file mode 100644
index 0000000..1e1b92d
--- /dev/null
+++ b/tests/data_plane/configs/odl/map_timers/map2.json
@@ -0,0 +1,33 @@
+{
+ "input": {
+ "mapping-record": {
+ "recordTtl": 1,
+ "action": "NoAction",
+ "authoritative": true,
+ "eid": {
+ "address-type": "ietf-lisp-address-types:source-dest-key-lcaf",
+ "source-dest-key": {
+ "source": "6.0.5.0/24",
+ "dest": "6.0.2.0/24"
+ }
+ },
+ "LocatorRecord": [
+ {
+ "locator-id": "ISP1",
+ "priority": 1,
+ "weight": 1,
+ "multicastPriority": 255,
+ "multicastWeight": 0,
+ "localLocator": true,
+ "rlocProbed": false,
+ "routed": true,
+ "rloc": {
+ "address-type": "ietf-lisp-address-types:ipv4-afi",
+ "ipv4": "6.0.3.3"
+ }
+ }
+ ]
+ }
+ }
+}
+
diff --git a/tests/data_plane/configs/odl/map_timers/map3.json b/tests/data_plane/configs/odl/map_timers/map3.json
new file mode 100644
index 0000000..db88cbd
--- /dev/null
+++ b/tests/data_plane/configs/odl/map_timers/map3.json
@@ -0,0 +1,29 @@
+{
+ "input": {
+ "mapping-record": {
+ "recordTtl": 1,
+ "action": "NoAction",
+ "authoritative": true,
+ "eid": {
+ "address-type": "ietf-lisp-address-types:ipv4-prefix-afi",
+ "ipv4-prefix": "6.0.1.0/24"
+ },
+ "LocatorRecord": [
+ {
+ "locator-id": "ISP1",
+ "priority": 1,
+ "weight": 1,
+ "multicastPriority": 255,
+ "multicastWeight": 0,
+ "localLocator": true,
+ "rlocProbed": false,
+ "routed": true,
+ "rloc": {
+ "address-type": "ietf-lisp-address-types:ipv4-afi",
+ "ipv4": "6.0.3.1"
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/tests/data_plane/configs/odl/map_timers/map4.json b/tests/data_plane/configs/odl/map_timers/map4.json
new file mode 100644
index 0000000..13d7c23
--- /dev/null
+++ b/tests/data_plane/configs/odl/map_timers/map4.json
@@ -0,0 +1,29 @@
+{
+ "input": {
+ "mapping-record": {
+ "recordTtl": 1,
+ "action": "NoAction",
+ "authoritative": true,
+ "eid": {
+ "address-type": "ietf-lisp-address-types:ipv4-prefix-afi",
+ "ipv4-prefix": "6.0.5.0/24"
+ },
+ "LocatorRecord": [
+ {
+ "locator-id": "ISP1",
+ "priority": 1,
+ "weight": 1,
+ "multicastPriority": 255,
+ "multicastWeight": 0,
+ "localLocator": true,
+ "rlocProbed": false,
+ "routed": true,
+ "rloc": {
+ "address-type": "ietf-lisp-address-types:ipv4-afi",
+ "ipv4": "6.0.3.1"
+ }
+ }
+ ]
+ }
+ }
+}
'n419' href='#n419'>419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621
{
	"info": {
		"_postman_id": "33515a05-1b90-4460-b444-797c58f68eda",
		"name": "Hc2vpp BGP RESTCONF calls",
		"description": "Examples of BGP configration based on \nhttp://docs.opendaylight.org/en/stable-nitrogen/user-guide/bgp-user-guide.html",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "show hc-bgp-instance",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/xml"
					},
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4="
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8183",
					"path": [
						"restconf",
						"operational",
						"bgp-rib:bgp-rib",
						"rib",
						"hc-bgp-instance"
					]
				}
			},
			"response": []
		},
		{
			"name": "add bgp peer",
			"request": {
				"method": "PUT",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					},
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4="
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{  \n  \"neighbor\":{  \n    \"neighbor-address\":\"127.0.0.2\",\n    \"config\":{  \n      \"peer-type\":\"INTERNAL\"\n    },\n    \"timers\":{  \n      \"config\":{  \n        \"connect-retry\":10,\n        \"hold-time\":90\n      }\n    },\n    \"transport\":{  \n      \"config\":{  \n        \"remote-port\":17900,\n        \"passive-mode\":false\n      }\n    },\n    \"afi-safis\":{  \n      \"afi-safi\":[  \n        {  \n          \"afi-safi-name\":\"openconfig-bgp-types:IPV4-UNICAST\"\n        }\n      ]\n    }\n  }\n}"
				},
				"url": {
					"raw": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/127.0.0.2",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8183",
					"path": [
						"restconf",
						"config",
						"openconfig-network-instance:network-instances",
						"network-instance",
						"global-bgp",
						"openconfig-network-instance:protocols",
						"protocol",
						"openconfig-policy-types:BGP",
						"hc-bgp-instance",
						"bgp",
						"bgp-openconfig-extensions:neighbors",
						"neighbor",
						"127.0.0.2"
					]
				}
			},
			"response": []
		},
		{
			"name": "read network instance (config)",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/xml"
					},
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4="
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8183",
					"path": [
						"restconf",
						"config",
						"openconfig-network-instance:network-instances",
						""
					]
				}
			},
			"response": []
		},
		{
			"name": "show 127.0.0.2 peer state",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/xml"
					},
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4="
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F127.0.0.2",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8183",
					"path": [
						"restconf",
						"operational",
						"bgp-rib:bgp-rib",
						"rib",
						"hc-bgp-instance",
						"peer",
						"bgp:%2F%2F127.0.0.2"
					]
				}
			},
			"response": []
		},
		{
			"name": "add application peer",
			"request": {
				"method": "PUT",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					},
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4="
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"neighbor\": {\n    \"neighbor-address\": \"127.0.0.1\",\n    \"config\": {\n      \"peer-group\": \"application-peers\"\n    },\n    \"afi-safis\": {\n      \"afi-safi\": [\n        {\n          \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\"\n        }\n      ]\n    }\n  }\n}"
				},
				"url": {
					"raw": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/127.0.0.1",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8183",
					"path": [
						"restconf",
						"config",
						"openconfig-network-instance:network-instances",
						"network-instance",
						"global-bgp",
						"openconfig-network-instance:protocols",
						"protocol",
						"openconfig-policy-types:BGP",
						"hc-bgp-instance",
						"bgp",
						"bgp-openconfig-extensions:neighbors",
						"neighbor",
						"127.0.0.1"
					]
				}
			},
			"response": []
		},
		{
			"name": "show 127.0.0.1 app peer state",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/xml"
					},
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4="
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F127.0.0.1",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8183",
					"path": [
						"restconf",
						"operational",
						"bgp-rib:bgp-rib",
						"rib",
						"hc-bgp-instance",
						"peer",
						"bgp:%2F%2F127.0.0.1"
					]
				}
			},
			"response": []
		},
		{
			"name": "add ipv4unicast route",
			"request": {
				"method": "PUT",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/xml"
					},
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4="
					}
				],
				"body": {
					"mode": "raw",
					"raw": "<ipv4-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-inet\">\n    <route-key>10.0.0.11/32</route-key>\n    <path-id>0</path-id>\n    <prefix>10.0.0.11/32</prefix>\n    <attributes>\n        <as-path></as-path>\n        <origin>\n            <value>igp</value>\n        </origin>\n        <local-pref>\n            <pref>100</pref>\n        </local-pref>\n        <ipv4-next-hop>\n            <global>10.11.1.1</global>\n        </ipv4-next-hop>\n    </attributes>\n</ipv4-route>"
				},
				"url": {
					"raw": "http://localhost:8183/restconf/config/bgp-rib:application-rib/127.0.0.1/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.11%2F32/0",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8183",
					"path": [
						"restconf",
						"config",
						"bgp-rib:application-rib",
						"127.0.0.1",
						"tables",
						"bgp-types:ipv4-address-family",
						"bgp-types:unicast-subsequent-address-family",
						"bgp-inet:ipv4-routes",
						"ipv4-route",
						"10.0.0.11%2F32",
						"0"
					]
				}
			},
			"response": []
		},
		{
			"name": "show 127.0.0.2 peer's adj-rib-out",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/xml"
					},
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4="
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F127.0.0.2/adj-rib-out/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8183",
					"path": [
						"restconf",
						"operational",
						"bgp-rib:bgp-rib",
						"rib",
						"hc-bgp-instance",
						"peer",
						"bgp:%2F%2F127.0.0.2",
						"adj-rib-out",
						"tables",
						"bgp-types:ipv4-address-family",
						"bgp-types:unicast-subsequent-address-family",
						"bgp-inet:ipv4-routes"
					]
				}
			},
			"response": []
		},
		{
			"name": "show speeker's Loc-RIB",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/xml"
					},
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4="
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/loc-rib",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8183",
					"path": [
						"restconf",
						"operational",
						"bgp-rib:bgp-rib",
						"rib",
						"hc-bgp-instance",
						"loc-rib"
					]
				}
			},
			"response": []
		},
		{
			"name": "add another ipv4unicast route",
			"request": {
				"method": "PUT",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/xml"
					},
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4="
					}
				],
				"body": {
					"mode": "raw",
					"raw": "<ipv4-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-inet\">\n    <route-key>10.0.0.12/32</route-key>\n    <path-id>0</path-id>\n    <prefix>10.0.0.12/32</prefix>\n    <attributes>\n        <as-path></as-path>\n        <origin>\n            <value>igp</value>\n        </origin>\n        <local-pref>\n            <pref>100</pref>\n        </local-pref>\n        <ipv4-next-hop>\n            <global>10.11.1.1</global>\n        </ipv4-next-hop>\n    </attributes>\n</ipv4-route>"
				},
				"url": {
					"raw": "http://localhost:8183/restconf/config/bgp-rib:application-rib/127.0.0.1/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.12%2F32/0",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8183",
					"path": [
						"restconf",
						"config",
						"bgp-rib:application-rib",
						"127.0.0.1",
						"tables",
						"bgp-types:ipv4-address-family",
						"bgp-types:unicast-subsequent-address-family",
						"bgp-inet:ipv4-routes",
						"ipv4-route",
						"10.0.0.12%2F32",
						"0"
					]
				}
			},
			"response": []
		},
		{
			"name": "get VPP IPv4 routes",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4="
					},
					{
						"key": "Content-Type",
						"value": "application/json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/control-plane-protocols/control-plane-protocol/hc2vpp-ietf-routing:static/learned-protocol-0/static-routes/ipv4",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8183",
					"path": [
						"restconf",
						"operational",
						"hc2vpp-ietf-routing:routing",
						"control-plane-protocols",
						"control-plane-protocol",
						"hc2vpp-ietf-routing:static",
						"learned-protocol-0",
						"static-routes",
						"ipv4"
					]
				}
			},
			"response": []
		},
		{
			"name": "update second ipv4unicast route",
			"request": {
				"method": "PUT",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/xml"
					},
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4="
					}
				],
				"body": {
					"mode": "raw",
					"raw": "<ipv4-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-inet\">\n    <route-key>10.0.0.12/32</route-key>\n    <path-id>0</path-id>\n    <prefix>10.0.0.12/32</prefix>\n    <attributes>\n        <as-path></as-path>\n        <origin>\n            <value>igp</value>\n        </origin>\n        <local-pref>\n            <pref>102</pref>\n        </local-pref>\n        <ipv4-next-hop>\n            <global>10.11.1.1</global>\n        </ipv4-next-hop>\n    </attributes>\n</ipv4-route>"
				},
				"url": {
					"raw": "http://localhost:8183/restconf/config/bgp-rib:application-rib/127.0.0.1/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.12%2F32/0",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8183",
					"path": [
						"restconf",
						"config",
						"bgp-rib:application-rib",
						"127.0.0.1",
						"tables",
						"bgp-types:ipv4-address-family",
						"bgp-types:unicast-subsequent-address-family",
						"bgp-inet:ipv4-routes",
						"ipv4-route",
						"10.0.0.12%2F32",
						"0"
					]
				}
			},
			"response": []
		},
		{
			"name": "remove second ipv4unicast route",
			"request": {
				"method": "DELETE",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/xml"
					},
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4="
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "http://localhost:8183/restconf/config/bgp-rib:application-rib/127.0.0.1/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.12%2F32/0",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8183",
					"path": [
						"restconf",
						"config",
						"bgp-rib:application-rib",
						"127.0.0.1",
						"tables",
						"bgp-types:ipv4-address-family",
						"bgp-types:unicast-subsequent-address-family",
						"bgp-inet:ipv4-routes",
						"ipv4-route",
						"10.0.0.12%2F32",
						"0"
					]
				}
			},
			"response": []
		},
		{
			"name": "update bgp peer",
			"request": {
				"method": "PUT",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					},
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4="
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"neighbor\": {\n    \"neighbor-address\": \"127.0.0.2\",\n    \"config\": {\n      \"peer-type\": \"INTERNAL\"\n  },\n  \"timers\": {\n    \"config\": {\n      \"connect-retry\": 10,\n      \"hold-time\": 91\n    }\n  },\n  \"transport\": {\n    \"config\": {\n      \"remote-port\": 17900,\n      \"passive-mode\": false\n    }\n  },\n  \"afi-safis\": {\n    \"afi-safi\": [\n      {\n        \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\"\n      }\n    ]\n  }\n}\n}"
				},
				"url": {
					"raw": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/127.0.0.2",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8183",
					"path": [
						"restconf",
						"config",
						"openconfig-network-instance:network-instances",
						"network-instance",
						"global-bgp",
						"openconfig-network-instance:protocols",
						"protocol",
						"openconfig-policy-types:BGP",
						"hc-bgp-instance",
						"bgp",
						"bgp-openconfig-extensions:neighbors",
						"neighbor",
						"127.0.0.2"
					]
				}
			},
			"response": []
		},
		{
			"name": "delete bgp peer",
			"request": {
				"method": "DELETE",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					},
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4="
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/127.0.0.2",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8183",
					"path": [
						"restconf",
						"config",
						"openconfig-network-instance:network-instances",
						"network-instance",
						"global-bgp",
						"openconfig-network-instance:protocols",
						"protocol",
						"openconfig-policy-types:BGP",
						"hc-bgp-instance",
						"bgp",
						"bgp-openconfig-extensions:neighbors",
						"neighbor",
						"127.0.0.2"
					]
				}
			},
			"response": []
		}
	]
}