From 106fdfe560a0e76c28780eceb3362cd78b06ebf2 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Fri, 30 Jun 2017 13:11:22 +0200 Subject: HONEYCOMB-374: move BGP to minimal-distribution Separate BGP distribution was temporary workaround for HONEYCOMB-358 and (partially) HONEYCOMB-360. BGP northbound interface is disabled by default. Change-Id: I72a0f83f40ea96bee478be7d6560f2112611d80f Signed-off-by: Marek Gradzki --- .../config/activation.json | 4 ++ .../config/bgp-peers.json | 53 ++++++++++++++++++++++ .../honeycomb-minimal-resources/config/bgp.json | 9 ++++ 3 files changed, 66 insertions(+) create mode 100644 infra/northbound/bgp/src/main/resources/honeycomb-minimal-resources/config/activation.json create mode 100644 infra/northbound/bgp/src/main/resources/honeycomb-minimal-resources/config/bgp-peers.json create mode 100644 infra/northbound/bgp/src/main/resources/honeycomb-minimal-resources/config/bgp.json (limited to 'infra/northbound/bgp/src/main/resources/honeycomb-minimal-resources/config') diff --git a/infra/northbound/bgp/src/main/resources/honeycomb-minimal-resources/config/activation.json b/infra/northbound/bgp/src/main/resources/honeycomb-minimal-resources/config/activation.json new file mode 100644 index 000000000..8dd168702 --- /dev/null +++ b/infra/northbound/bgp/src/main/resources/honeycomb-minimal-resources/config/activation.json @@ -0,0 +1,4 @@ +{ + "modules-resource-path": "../modules/", + "yang-modules-index-path": "../yang-mapping/" +} \ No newline at end of file diff --git a/infra/northbound/bgp/src/main/resources/honeycomb-minimal-resources/config/bgp-peers.json b/infra/northbound/bgp/src/main/resources/honeycomb-minimal-resources/config/bgp-peers.json new file mode 100644 index 000000000..93405fba6 --- /dev/null +++ b/infra/northbound/bgp/src/main/resources/honeycomb-minimal-resources/config/bgp-peers.json @@ -0,0 +1,53 @@ +{ + "bgp-openconfig-extensions:neighbors": { + "neighbor": [ + { + "neighbor-address": "10.25.1.9", + "config": { + "peer-group": "application-peers" + }, + "afi-safis": { + "afi-safi": [ + { + "afi-safi-name": "openconfig-bgp-types:IPV4-UNICAST", + "receive": true, + "send-max": 0 + }, + { + "afi-safi-name": "openconfig-bgp-types:IPV4-LABELLED-UNICAST", + "receive": true, + "send-max": 0 + } + ] + } + }, + { + "neighbor-address": "127.0.0.2", + "config": { + "peer-type": "INTERNAL" + }, + "timers": { + "config": { + "connect-retry": 10, + "hold-time": 90 + } + }, + "transport": { + "config": { + "remote-port": 17900, + "passive-mode": false + } + }, + "afi-safis": { + "afi-safi": [ + { + "afi-safi-name": "openconfig-bgp-types:IPV4-UNICAST", + "receive": true, + "send-max": 0 + } + ] + } + } + ] + } +} \ No newline at end of file diff --git a/infra/northbound/bgp/src/main/resources/honeycomb-minimal-resources/config/bgp.json b/infra/northbound/bgp/src/main/resources/honeycomb-minimal-resources/config/bgp.json new file mode 100644 index 000000000..c0981429f --- /dev/null +++ b/infra/northbound/bgp/src/main/resources/honeycomb-minimal-resources/config/bgp.json @@ -0,0 +1,9 @@ +{ + "bgp-enabled": "false", + "bgp-binding-address": "127.0.0.1", + "bgp-port": 1790, + "bgp-as-number": 65000, + "bgp-receive-multiple-paths": "true", + "bgp-send-max-paths": 0, + "bgp-netty-threads": 2 +} \ No newline at end of file -- cgit 1.2.3-korg