Last active
November 21, 2016 12:17
-
-
Save bluecmd/7986f49d97f4571d83663683b4f724de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: bgpPeer | |
| metadata: | |
| peerIP: 172.29.16.2 | |
| scope: global | |
| spec: | |
| asNumber: 64512 | |
| (from https://github.com/projectcalico/calico-containers/blob/bffb66da164375777e062aa0fb387cdfe7cb1106/test-data/bgppeer-global.yaml) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo docker exec 59e08e8f4abe wget -q -O - http://x.y.z:6666/v2/keys/calico/bgp/v1/global | python -m json.tool; echo | |
| { | |
| "action": "get", | |
| "node": { | |
| "createdIndex": 19, | |
| "dir": true, | |
| "key": "/calico/bgp/v1/global", | |
| "modifiedIndex": 19, | |
| "nodes": [ | |
| { | |
| "createdIndex": 19, | |
| "dir": true, | |
| "key": "/calico/bgp/v1/global/custom_filters", | |
| "modifiedIndex": 19 | |
| }, | |
| { | |
| "createdIndex": 21, | |
| "key": "/calico/bgp/v1/global/as_num", | |
| "modifiedIndex": 21, | |
| "value": "64511" | |
| }, | |
| { | |
| "createdIndex": 23, | |
| "key": "/calico/bgp/v1/global/node_mesh", | |
| "modifiedIndex": 23, | |
| "value": "{\"enabled\": true}" | |
| } | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment