diff options
Diffstat (limited to 'tests/topotests/evpn_pim_1/spine')
-rw-r--r-- | tests/topotests/evpn_pim_1/spine/bgp.summ.json | 41 | ||||
-rw-r--r-- | tests/topotests/evpn_pim_1/spine/bgpd.conf | 13 | ||||
-rw-r--r-- | tests/topotests/evpn_pim_1/spine/join-info.json | 34 | ||||
-rw-r--r-- | tests/topotests/evpn_pim_1/spine/pimd.conf | 14 | ||||
-rw-r--r-- | tests/topotests/evpn_pim_1/spine/zebra.conf | 8 |
5 files changed, 110 insertions, 0 deletions
diff --git a/tests/topotests/evpn_pim_1/spine/bgp.summ.json b/tests/topotests/evpn_pim_1/spine/bgp.summ.json new file mode 100644 index 0000000..5ff4b09 --- /dev/null +++ b/tests/topotests/evpn_pim_1/spine/bgp.summ.json @@ -0,0 +1,41 @@ +{ + "routerId":"192.168.100.1", + "as":65001, + "vrfName":"default", + "tableVersion":7, + "peerCount":2, + "peers":{ + "192.168.1.2":{ + "remoteAs":65002, + "version":4, + "tableVersion":0, + "outq":0, + "inq":0, + "pfxRcd":3, + "pfxSnt":7, + "state":"Established", + "connectionsEstablished":1, + "connectionsDropped":0, + "idType":"ipv4" + }, + "192.168.2.3":{ + "remoteAs":65003, + "version":4, + "tableVersion":0, + "outq":0, + "inq":0, + "pfxRcd":3, + "pfxSnt":7, + "state":"Established", + "connectionsEstablished":1, + "connectionsDropped":0, + "idType":"ipv4" + } + }, + "failedPeers":0, + "totalPeers":2, + "dynamicPeers":0, + "bestPath":{ + "multiPathRelax":"false" + } +} diff --git a/tests/topotests/evpn_pim_1/spine/bgpd.conf b/tests/topotests/evpn_pim_1/spine/bgpd.conf new file mode 100644 index 0000000..81ab802 --- /dev/null +++ b/tests/topotests/evpn_pim_1/spine/bgpd.conf @@ -0,0 +1,13 @@ + +router bgp 65001 + no bgp ebgp-requires-policy + neighbor 192.168.1.2 remote-as external + neighbor 192.168.1.2 timers 3 10 + neighbor 192.168.2.3 remote-as external + neighbor 192.168.2.3 timers 3 10 + redistribute connected + address-family l2vpn evpn + neighbor 192.168.1.2 activate + neighbor 192.168.2.3 activate + exit-address-family +! diff --git a/tests/topotests/evpn_pim_1/spine/join-info.json b/tests/topotests/evpn_pim_1/spine/join-info.json new file mode 100644 index 0000000..3d135fb --- /dev/null +++ b/tests/topotests/evpn_pim_1/spine/join-info.json @@ -0,0 +1,34 @@ +{ + "spine-eth0":{ + "name":"spine-eth0", + "state":"up", + "address":"192.168.1.1", + "flagMulticast":true, + "flagBroadcast":true, + "lanDelayEnabled":true, + "239.1.1.1":{ + "*":{ + "source":"*", + "group":"239.1.1.1", + "prune":"--:--", + "channelJoinName":"JOIN" + } + } + }, + "spine-eth1":{ + "name":"spine-eth1", + "state":"up", + "address":"192.168.2.1", + "flagMulticast":true, + "flagBroadcast":true, + "lanDelayEnabled":true, + "239.1.1.1":{ + "*":{ + "source":"*", + "group":"239.1.1.1", + "prune":"--:--", + "channelJoinName":"JOIN" + } + } + } +} diff --git a/tests/topotests/evpn_pim_1/spine/pimd.conf b/tests/topotests/evpn_pim_1/spine/pimd.conf new file mode 100644 index 0000000..12c6d6f --- /dev/null +++ b/tests/topotests/evpn_pim_1/spine/pimd.conf @@ -0,0 +1,14 @@ +ip pim rp 192.168.100.1 +ip pim join-prune-interval 5 +! +int lo + ip pim +! +int spine-eth0 + ip pim +! +int spine-eth1 + ip pim +! + + diff --git a/tests/topotests/evpn_pim_1/spine/zebra.conf b/tests/topotests/evpn_pim_1/spine/zebra.conf new file mode 100644 index 0000000..2cb7194 --- /dev/null +++ b/tests/topotests/evpn_pim_1/spine/zebra.conf @@ -0,0 +1,8 @@ +int spine-eth0 + ip addr 192.168.1.1/24 +! +int spine-eth1 + ip addr 192.168.2.1/24 +! +int lo + ip addr 192.168.100.1/32 |