From e2bbf175a2184bd76f6c54ccf8456babeb1a46fc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 9 Apr 2024 15:16:35 +0200 Subject: Adding upstream version 9.1. Signed-off-by: Daniel Baumann --- tests/topotests/isis_snmp/r5/isisd.conf | 25 ++++++++++++++ tests/topotests/isis_snmp/r5/ldpd.conf | 25 ++++++++++++++ tests/topotests/isis_snmp/r5/ldpdconf | 25 ++++++++++++++ .../r5/show_yang_interface_isis_adjacencies.ref | 40 ++++++++++++++++++++++ tests/topotests/isis_snmp/r5/snmpd.conf | 18 ++++++++++ tests/topotests/isis_snmp/r5/zebra.conf | 24 +++++++++++++ 6 files changed, 157 insertions(+) create mode 100644 tests/topotests/isis_snmp/r5/isisd.conf create mode 100644 tests/topotests/isis_snmp/r5/ldpd.conf create mode 100644 tests/topotests/isis_snmp/r5/ldpdconf create mode 100644 tests/topotests/isis_snmp/r5/show_yang_interface_isis_adjacencies.ref create mode 100644 tests/topotests/isis_snmp/r5/snmpd.conf create mode 100644 tests/topotests/isis_snmp/r5/zebra.conf (limited to 'tests/topotests/isis_snmp/r5') diff --git a/tests/topotests/isis_snmp/r5/isisd.conf b/tests/topotests/isis_snmp/r5/isisd.conf new file mode 100644 index 0000000..fe3ca0f --- /dev/null +++ b/tests/topotests/isis_snmp/r5/isisd.conf @@ -0,0 +1,25 @@ +hostname r5 +log file isisd.log +! debug isis adj-packets +! debug isis events +! debug isis update-packets +agentx +! +router isis 1 + net 10.0000.0000.0000.0000.0000.0000.0000.0000.0005.00 + metric-style wide + redistribute ipv4 connected level-1 + redistribute ipv6 connected level-1 +! +interface r5-eth0 + ip router isis 1 + ipv6 router isis 1 + isis network point-to-point + isis circuit-type level-1 +! +interface r5-eth1 + ip router isis 1 + ipv6 router isis 1 + isis network point-to-point + isis circuit-type level-1 +! diff --git a/tests/topotests/isis_snmp/r5/ldpd.conf b/tests/topotests/isis_snmp/r5/ldpd.conf new file mode 100644 index 0000000..fd273d5 --- /dev/null +++ b/tests/topotests/isis_snmp/r5/ldpd.conf @@ -0,0 +1,25 @@ +hostname r5 +log file ldpd.log +! +! debug mpls ldp zebra +! debug mpls ldp event +! debug mpls ldp errors +! debug mpls ldp sync +! +mpls ldp + router-id 5.5.5.5 + ! + address-family ipv4 + discovery transport-address 5.5.5.5 + label local allocate host-routes + ! + ttl-security disable + ! + interface r5-eth0 + ! + interface r5-eth1 + ! + ! +! +line vty +! diff --git a/tests/topotests/isis_snmp/r5/ldpdconf b/tests/topotests/isis_snmp/r5/ldpdconf new file mode 100644 index 0000000..b3d10b0 --- /dev/null +++ b/tests/topotests/isis_snmp/r5/ldpdconf @@ -0,0 +1,25 @@ +hostname r5 +log file ldpd.log +! +!debug mpls ldp zebra +!debug mpls ldp event +!debug mpls ldp errors +!debug mpls ldp sync +! +mpls ldp + router-id 3.3.3.3 + ! + address-family ipv4 + discovery transport-address 5.5.5.5 + label local allocate host-routes + ! + ttl-security disable + ! + interface r5-eth0 + ! + interface r5-eth1 + ! + ! +! +line vty +! diff --git a/tests/topotests/isis_snmp/r5/show_yang_interface_isis_adjacencies.ref b/tests/topotests/isis_snmp/r5/show_yang_interface_isis_adjacencies.ref new file mode 100644 index 0000000..994e816 --- /dev/null +++ b/tests/topotests/isis_snmp/r5/show_yang_interface_isis_adjacencies.ref @@ -0,0 +1,40 @@ +{ + "frr-interface:lib": { + "interface": [ + { + "name": "r5-eth0", + "vrf": "default", + "state": { + "frr-isisd:isis": { + "adjacencies": { + "adjacency": [ + { + "neighbor-sys-type": "level-1", + "neighbor-sysid": "0000.0000.0002", + "state": "up" + } + ] + } + } + } + }, + { + "name": "r5-eth1", + "vrf": "default", + "state": { + "frr-isisd:isis": { + "adjacencies": { + "adjacency": [ + { + "neighbor-sys-type": "level-1", + "neighbor-sysid": "0000.0000.0004", + "state": "up" + } + ] + } + } + } + } + ] + } +} diff --git a/tests/topotests/isis_snmp/r5/snmpd.conf b/tests/topotests/isis_snmp/r5/snmpd.conf new file mode 100644 index 0000000..5b11cfc --- /dev/null +++ b/tests/topotests/isis_snmp/r5/snmpd.conf @@ -0,0 +1,18 @@ +agentAddress udp::161 + +com2sec public 5.5.5.5 public + +group public_group v1 public +group public_group v2c public + +access public_group "" any noauth prefix all all none + +view all included .1 + +iquerySecName frr +rouser frr + +master agentx + +agentXSocket /etc/frr/agentx +agentXPerms 777 755 root frr diff --git a/tests/topotests/isis_snmp/r5/zebra.conf b/tests/topotests/isis_snmp/r5/zebra.conf new file mode 100644 index 0000000..5607fab --- /dev/null +++ b/tests/topotests/isis_snmp/r5/zebra.conf @@ -0,0 +1,24 @@ +log file zebra.log +! +hostname r5 +! +! debug zebra rib detailed +! debug zebra dplane detailed +! debug zebra kernel +! debug zebra nht +! +interface lo + ip address 5.5.5.5/32 +! +interface r5-eth0 + description to rt2 + ip address 25.0.0.5/24 +! +interface r5-eth1 + description to rt4 + ip address 45.0.0.5/24 +! +ip forwarding +! +line vty +! -- cgit v1.2.3