backup_nhg_trigger_test - openconfig/featureprofiles GitHub Wiki
Validate that the software-driven/external gRIBI BACKUP_ACTIVATE AFT operation triggers immediate dataplane failover to the configured backup_next_hop_group (configured as a fallback to REPAIR_VRF with decapsulation and re-encapsulation into TRANSIT_VRF), and verify that the FIB_PROGRAMMED status in ModifyResponse correlates with hardware ASIC path switching within the expected convergence threshold (backup-active), query feedback via the gRIBI Get RPC, graceful restoration upon deletion (op: DELETE), dual-stack (IPv4 and IPv6) forwarding behaviors, hierarchical tunnel group activation across multiple egress trunks, and robust exception handling. This includes rejecting operations on non-existent groups, groups lacking a backup path, deletion of active groups, reverse deletion of inactive triggers, AFT state and identifier reclamation, local gRIBI process restart resilience, Non-Stop Routing (NSR) supervisor switchover synchronization, and asynchronous late-binding of backup next-hop groups.
BACKUP_ACTIVATE is a trigger, not the mechanism that creates the backup path. All primary and backup NextHop and NextHopGroup entries, including the primary group's backup_next_hop_group reference, must first be installed in the DEFAULT network instance through ordinary gRIBI ADD operations and acknowledged with RIB_AND_FIB_ACK. In accordance with WBB gRIBI forwarding designs, the backup NHG points to a next-hop that falls back to REPAIR_VRF (network_instance: "REPAIR_VRF"), where a matching route performs decapsulation and re-encapsulation (decap + re-encap) into TRANSIT_VRF. The backup NHG and repair pipeline are therefore programmed and available in the FIB before activation; BACKUP_ACTIVATE selects that already-installed backup group for forwarding. Removing the trigger restores the primary group, while deleting referenced groups is expected to fail until the trigger is removed.
Implementations supporting NSR must preserve and synchronize the gRIBI ownership, NHG relationship, active backup-trigger state, and resulting RIB/FIB programming status to the standby process or control-plane component. A switchover or process restart must reconcile the persisted trigger and both NHGs; it must not transiently select the primary path, lose the backup relationship, or report FIB_PROGRAMMED before hardware programming is complete. The restart scenario in TE-11.4.5 verifies this behavior and requires forwarding continuity and no duplicate or orphaned AFT entries.
The forwarding driver should pre-resolve backup next hops, including ARP/ND and egress rewrite entries, and install them in a dormant hardware FRR indirection entry. Activation should atomically switch the hardware pointer rather than perform route recomputation or neighbor resolution during failover.
The mechanism complements physical link-down or BFD-driven FRR by handling gray failures, remote blackholes, and VIP drains detected by external probers while the local carrier remains up. Hardware forwarding must remain decoupled from the gRIBI process lifecycle, and deleting an NHG must remove the entry from operational AFT state (/network-instances/network-instance/afts/next-hop-groups/next-hop-group/state/id) and allow immediate reuse of the deleted identifier without stale state.
+-------------------+ +-------------------+
| | | |
| | DUT Port 1 | ATE Port 1 |
| |=================| (Ingress Source) |
| | | |
| | DUT Port 2 | ATE Port 2 |
| DUT |=================| (Primary Trunk1) |
| | | |
| | DUT Port 3 | ATE Port 3 |
| |=================| (Backup Trunk2) |
| | | |
| | DUT Port 4 | ATE Port 4 |
| |=================| (Backup TG Path) |
| | | |
+-------------------+ +-------------------+
DUT ATE
- Connect ATE port-1 to DUT port-1 (ingress traffic source).
- Connect ATE port-2 to DUT port-2 (primary egress path / trunk 1).
- Connect ATE port-3 to DUT port-3 (backup egress path / trunk 2).
- Connect ATE port-4 to DUT port-4 (alternate / backup TG path / trunk 3).
Configure the following IP addresses on interfaces:
| Link | DUT | ATE |
|---|---|---|
| Port 1 |
198.51.100.1/30, 2001:db8:1::1/126
|
198.51.100.2/30, 2001:db8:1::2/126
|
| Port 2 |
198.51.100.5/30, 2001:db8:2::1/126
|
198.51.100.6/30, 2001:db8:2::2/126
|
| Port 3 |
198.51.100.9/30, 2001:db8:3::1/126
|
198.51.100.10/30, 2001:db8:3::2/126
|
| Port 4 |
198.51.100.13/30, 2001:db8:4::1/126
|
198.51.100.14/30, 2001:db8:4::2/126
|
- Destination prefixes:
- IPv4 data destination:
192.0.2.0/24(target host:192.0.2.1) - IPv6 data destination:
2001:db8:feed::/64(target host:2001:db8:feed::1) - Transit tunnel destination IPs:
198.18.193.1/32,198.18.193.2/32
- IPv4 data destination:
- Network instances / VRFs:
-
DEFAULT(all gRIBINextHopandNextHopGroupentries are programmed inDEFAULT) -
TRANSIT_VRF(non-default L3 VRF for primary and backup transit tunnel route resolution) -
REPAIR_VRF(non-default L3 VRF for backup NHG fallback anddecap + re-encapresolution)
-
TESTBED_DUT_ATE_4LINKS
- Configure the DUT and ATE interfaces according to the topology with IPv4 and IPv6 addressing, and create the
DEFAULT,TRANSIT_VRF, andREPAIR_VRFnetwork instances. - Ensure that DUT ports 1 through 4 are operationally
UPat/interfaces/interface/state/oper-status. - Establish a gRIBI client connection with the DUT using
persistence = PRESERVEandredundancy = SINGLE_PRIMARY. - Negotiate the election ID and establish leadership.
- Send a gRIBI
FlushRPC targeting network instancesDEFAULT,TRANSIT_VRF, andREPAIR_VRFto clear stale forwarding entries.
Validate that issuing a gRIBI BACKUP_ACTIVATE operation on a primary next-hop group triggers fallback to REPAIR_VRF (which performs decap + re-encap into the backup transit tunnel in TRANSIT_VRF), switches IPv4 traffic within the expected convergence window, returns FIB_PROGRAMMED, updates backup-active telemetry, and restores primary-path forwarding upon deletion.
- Program the following
NextHopandNextHopGroupentries in network instanceDEFAULTvia gRIBI (reusing the standard WBB FNTDEFAULT/TRANSIT_VRF/REPAIR_VRFforwarding hierarchy):-
NextHop#1: egress interface DUT port-2, next-hop IP198.51.100.6, MAC00:1A:11:00:00:01. -
NextHop#2: egress interface DUT port-3, next-hop IP198.51.100.10, MAC00:1A:11:00:00:02. -
NextHop#20: fallback tonetwork_instance: "REPAIR_VRF". -
NextHop#30:decap + re-encapwithdecapsulate_header: OPENCONFIGAFTTYPESENCAPSULATIONHEADERTYPE_IPV4,encapsulate_header: OPENCONFIGAFTTYPESENCAPSULATIONHEADERTYPE_IPV4,ip_in_ip { src_ip: 198.51.100.1, dst_ip: 198.18.193.2 }, andnetwork_instance: "TRANSIT_VRF". -
NextHop#40: IP-in-IP decap withdecapsulate_header: OPENCONFIGAFTTYPESENCAPSULATIONHEADERTYPE_IPV4and fallback tonetwork_instance: "DEFAULT". -
NextHop#100: IP-in-IP encap withencapsulate_header: OPENCONFIGAFTTYPESENCAPSULATIONHEADERTYPE_IPV4,ip_in_ip { src_ip: 198.51.100.1, dst_ip: 198.18.193.1 }, andnetwork_instance: "TRANSIT_VRF". -
NextHopGroup#20(backup NHG):NextHop#20with weight 1 (fallback toREPAIR_VRF). -
NextHopGroup#10(primary transit NHG):NextHop#1with weight 1 andbackup_next_hop_group: 20. -
NextHopGroup#40(decap fallback NHG):NextHop#40with weight 1. -
NextHopGroup#30(repairdecap + re-encapNHG):NextHop#30with weight 1 andbackup_next_hop_group: 40. -
NextHopGroup#50(backup transit NHG):NextHop#2with weight 1 andbackup_next_hop_group: 40. -
NextHopGroup#100(ingress encap NHG):NextHop#100with weight 1. Program the following IPv4 prefix entries withnext_hop_group_network_instance: "DEFAULT": - In
DEFAULT: IPv4 entry192.0.2.0/24pointing toNextHopGroup#100. - In
TRANSIT_VRF: IPv4 entry198.18.193.1/32pointing toNextHopGroup#10, and IPv4 entry198.18.193.2/32pointing toNextHopGroup#50. - In
REPAIR_VRF: IPv4 entry198.18.193.1/32pointing toNextHopGroup#30.
-
- Send every AFT operation with
ack_type: RIB_AND_FIB_ACKand verify that it returnsFIB_PROGRAMMED. - Subscribe via gNMI to
.../afts/next-hop-groups/next-hop-group[id=10]/state/backup-activeand verify the initial value isfalse. - Send continuous IPv4 UDP/TCP traffic at a fixed rate of
1,000 packets per second (pps)from ATE port-1 to192.0.2.1. Verify 100% egresses via ATE port-2 (encapsulated with outer destination198.18.193.1) with zero packet loss and no traffic egresses via ATE port-3. - Send a gRIBI
ModifyRequestwithop: ADD,network_instance: "DEFAULT",entry: backup_activate { next_hop_group: 10 }, andack_type: RIB_AND_FIB_ACK. VerifyModifyResponsereturnsRIB_PROGRAMMEDandFIB_PROGRAMMED. - Verify the hardware forwarding ASIC switches
NextHopGroup#10to its backupNextHopGroup#20(falling back toREPAIR_VRF, where198.18.193.1/32performsdecap + re-encapto198.18.193.2inTRANSIT_VRFviaNextHopGroup#30): 100% of traffic shifts to ATE port-3 (NextHopGroup#50) and traffic on ATE port-2 ceases. Estimate dataplane convergence time from packet loss:Convergence Time (ms) = ((Tx Packets - Rx Packets) / Packet Rate (pps)) * 1000. At1,000 pps,300dropped packets correspond to approximately300 msof convergence time. Verify that convergence time is within the target300 msthreshold (allowing up to350–400dropped packets at1,000 ppsfor measurement tolerance). - Verify via gNMI (
Get/Subscribe) that.../afts/next-hop-groups/next-hop-group[id=10]/state/backup-activereportstrue. Send a gRIBIGetRequestwithaft: BACKUP_ACTIVATEorall: {}and verify the returned AFT entry containsbackup_activate: { next_hop_group: 10 }withrib_status: PROGRAMMEDandfib_status: PROGRAMMED. - Send a gRIBI
ModifyRequestwithop: DELETE,network_instance: "DEFAULT",entry: backup_activate { next_hop_group: 10 }, andack_type: RIB_AND_FIB_ACK. VerifyFIB_PROGRAMMED, restoration to ATE port-2 within the300 msconvergence threshold (<= 350–400dropped packets at1,000 pps), and gNMIbackup-active: false.
Validate dual-stack support by executing the BACKUP_ACTIVATE lifecycle for IPv6 routing and traffic forwarding with REPAIR_VRF fallback.
- Using the
DEFAULT,TRANSIT_VRF, andREPAIR_VRFtunnel hierarchy from TE-11.4.1 (or equivalent IPv6 next-hopsNextHop#11on DUT port-2 andNextHop#12on DUT port-3 inDEFAULT, where primaryNextHopGroup#110referencesbackup_next_hop_group: 120configured to fall back toREPAIR_VRF, andREPAIR_VRFperformsdecap + re-encapintoTRANSIT_VRFtowards ATE port-3), program IPv6 entry2001:db8:feed::/64inDEFAULTpointing to the ingress/primary group (NextHopGroup#100/NextHopGroup#110). - Verify each AFT operation returns
FIB_PROGRAMMED. - Send continuous IPv6 traffic at
1,000 ppsfrom ATE port-1 to2001:db8:feed::1and verify 100% egresses via ATE port-2. - Send a gRIBI
ModifyRequestwithop: ADD,network_instance: "DEFAULT",entry: backup_activate { next_hop_group: 10 }(or110), andack_type: RIB_AND_FIB_ACK. VerifyFIB_PROGRAMMED, traffic shift to ATE port-3 via theREPAIR_VRFfallback path within the300 msconvergence threshold (<= 350–400dropped packets at1,000 pps), and gNMIbackup-active: true. - Send a gRIBI
ModifyRequestwithop: DELETEforbackup_activate. VerifyFIB_PROGRAMMED, restoration to ATE port-2 within the300 msconvergence threshold, and telemetrybackup-active: false.
Validate BACKUP_ACTIVATE behavior in hierarchical encapsulation and transit tunnel fast-reroute environments across all four testbed ports.
- Configure the hierarchical forwarding pipeline via gRIBI. All
NextHop(301, 302, 303, 310, 401, 402, 403) andNextHopGroup(300, 310, 320, 400, 402, 410) objects are defined inDEFAULT, while prefix routes are installed inDEFAULT,TRANSIT_VRF, andREPAIR_VRFwithnext_hop_group_network_instance: "DEFAULT":- In
DEFAULT, configure:-
NextHop#301: IP-in-IP encap withsrc_ip: 198.51.100.1,dst_ip: 198.18.193.1, andnetwork_instance: "TRANSIT_VRF". -
NextHop#302: IP-in-IP encap withsrc_ip: 198.51.100.1,dst_ip: 198.18.193.2, andnetwork_instance: "TRANSIT_VRF". -
NextHop#303: IP-in-IPdecap + re-encap(decapsulate_header: OPENCONFIGAFTTYPESENCAPSULATIONHEADERTYPE_IPV4,encapsulate_header: OPENCONFIGAFTTYPESENCAPSULATIONHEADERTYPE_IPV4) withsrc_ip: 198.51.100.1,dst_ip: 198.18.193.1, forwarding via DUT port-3 (198.51.100.10). -
NextHop#310: VRF fallback withnetwork_instance: "REPAIR_VRF". -
NextHop#401: egress via DUT port-2 to198.51.100.6. -
NextHop#402: egress via DUT port-3 to198.51.100.10. -
NextHop#403: egress via DUT port-4 to198.51.100.14. -
NextHopGroup#310(backup VRF-fallback group inDEFAULT): containsNextHop#310(network_instance: "REPAIR_VRF"). -
NextHopGroup#300(primary tunnel group inDEFAULT): containsNextHop#301withbackup_next_hop_group: 310. -
NextHopGroup#320(repair tunnel group inDEFAULT): containsNextHop#302. -
NextHopGroup#402(repair transit group inDEFAULT): containsNextHop#303/NextHop#402. -
NextHopGroup#400(primary transit group inDEFAULT): containsNextHop#401withbackup_next_hop_group: 310(fallback toREPAIR_VRF). -
NextHopGroup#410(backup transit group inDEFAULT): containsNextHop#403.
-
- Configure prefix routes pointing back to the NextHopGroups in
DEFAULT:- In
DEFAULT: point192.0.2.0/24toNextHopGroup#300. - In
TRANSIT_VRF: point198.18.193.1/32toNextHopGroup#400and198.18.193.2/32toNextHopGroup#410. - In
REPAIR_VRF: point198.18.193.1/32toNextHopGroup#402(decap + re-encaptowards ATE port-3) and192.0.2.0/24toNextHopGroup#320(re-encapsulating to198.18.193.2/32inTRANSIT_VRFtowards ATE port-4).
- In
- In
- Verify all entries are confirmed with
FIB_PROGRAMMED. - Send traffic at
1,000 ppsfrom ATE port-1 to192.0.2.1and verify egress on ATE port-2 with an IP-in-IP outer destination of198.18.193.1. - Activate
backup_activateforNextHopGroup#400withop: ADDandack_type: RIB_AND_FIB_ACK. VerifyFIB_PROGRAMMED, fallback toREPAIR_VRFand failover toNextHopGroup#402via ATE port-3 while retaining outer destination198.18.193.1, convergence within300 ms(<= 350–400dropped packets at1,000 pps), andbackup-active: true. - Activate
backup_activateforNextHopGroup#300. VerifyFIB_PROGRAMMED, fallback toREPAIR_VRFand failover viaNextHopGroup#320andNextHopGroup#410to ATE port-4 with outer destination198.18.193.2within the300 msconvergence threshold. - Delete
backup_activateforNextHopGroup#300andNextHopGroup#400. VerifyFIB_PROGRAMMEDand restoration to the primary path on ATE port-2 within the300 msconvergence threshold.
- Target non-existent
NextHopGroup#999999withop: ADD,network_instance: "DEFAULT",entry: backup_activate { next_hop_group: 999999 }, andack_type: RIB_AND_FIB_ACK. Verify rejection withFAILED, with no forwarding-table or telemetry changes. - Target non-existent
NextHopGroup#999999withop: DELETE,network_instance: "DEFAULT",entry: backup_activate { next_hop_group: 999999 }, andack_type: RIB_AND_FIB_ACK. Verify rejection withFAILED, with no forwarding-table or telemetry changes. - Program
NextHop#501inNextHopGroup#500(inDEFAULT) without abackup_next_hop_group. Activatebackup_activatefor group 500 and verifyFAILED; traffic must continue viaNextHop#501without disruption. - In
DEFAULT, programNextHop#601inNextHopGroup#600withbackup_next_hop_group: 610, where group 610 containsNextHop#602configured withnetwork_instance: "REPAIR_VRF". Activate backup for group 600 and verifyFIB_PROGRAMMED. Attempt to delete group 600 while backup activation remains active; verify dependency validation rejects the deletion (FAILED) without inconsistent forwarding state. Deletebackup_activatefirst, then verify group 600 andNextHop#601can be deleted successfully. After deletion, verify via gNMI (Get/Subscribe) that/network-instances/network-instance[name=DEFAULT]/afts/next-hop-groups/next-hop-group[id=600]/state/idand/network-instances/network-instance[name=DEFAULT]/afts/next-hops/next-hop[index=601]/state/indexare removed from operational AFT state, and verify via gRIBIGetthatNextHopGroup#600andNextHop#601are absent. Re-programNextHop#601andNextHopGroup#600reusing the same IDs withack_type: RIB_AND_FIB_ACKand verifyFIB_PROGRAMMEDto confirm the AFT identifiers and associated forwarding resources were cleanly reclaimed.
Validate that a local device process restart while BACKUP_ACTIVATE is active reconciles the control-plane state without data-plane traffic loss or core dumps.
- Program the IPv4 forwarding entries and primary/backup next-hop groups from TE-11.4.1, activate
backup_activateforNextHopGroup#10, and verifyFIB_PROGRAMMED,backup-active: true, and traffic forwarding via ATE port-3. - Start continuous IPv4 traffic at
1,000 ppsfrom ATE port-1 to192.0.2.1, record packet loss and forwarding counters, and trigger a restart of the device's local gRIBI process while preserving the DUT and ASIC state. - Verify the process returns to service and reconciles the persisted gRIBI and
BACKUP_ACTIVATEstate. The active backup remains installed,backup-activereportstrueafter reconciliation, and traffic continues via ATE port-3 with zero packet loss. - Verify there are no core dumps, unexpected process crashes, stale or duplicate AFT entries, or inconsistent RIB/FIB status. Issue a gRIBI
Getand confirm the activebackup_activateentry isPROGRAMMEDin both RIB and FIB. - Delete
backup_activateand verifyFIB_PROGRAMMED,backup-active: false, and recovery of traffic to the primary path on ATE port-2 within the300 msconvergence threshold.
Validate that active BACKUP_ACTIVATE state is synchronized across redundant supervisors and that traffic remains on the backup path during a switchover.
- Verify redundant controller cards report
PRIMARYandSECONDARYthrough/components/component/state/redundant-role, and that the standby supervisor is ready. - Under continuous traffic at
1,000 pps, activatebackup_activateforNextHopGroup#10. VerifyFIB_PROGRAMMED,backup-active: true, and forwarding via ATE port-3. - Issue the gNOI
system.System.SwitchControlProcessorRPC and verify that the standby supervisor assumes thePRIMARYrole. - Verify that traffic remains on the backup path with zero loss or only the vendor-documented sub-second NSR convergence loss, without reverting to the primary path.
- Connect a gRIBI client to the new supervisor and issue
gRIBI.Get. Verify the active trigger remainsPROGRAMMEDin both RIB and FIB and telemetry continues to reportbackup-active: true. - Delete the trigger from the new supervisor and verify
FIB_PROGRAMMED, restoration to ATE port-2 within the300 msconvergence threshold, andbackup-active: false.
Validate that a backup NHG can be attached after primary forwarding is already active without disrupting traffic, and then immediately activated via BACKUP_ACTIVATE.
- In
DEFAULT, programNextHop#701(DUT port-2) andNextHopGroup#700without a backup reference, bind198.18.193.1/32inTRANSIT_VRFto group 700 (with192.0.2.0/24inDEFAULTencapsulating to198.18.193.1inTRANSIT_VRF), and verifyFIB_PROGRAMMED, primary forwarding via ATE port-2, an unpopulated backup reference, andbackup-active: false. - While traffic continues at
1,000 pps, programNextHop#702(network_instance: "REPAIR_VRF") andNextHopGroup#720inDEFAULT(with198.18.193.1/32inREPAIR_VRFperformingdecap + re-encapto198.18.193.2/32inTRANSIT_VRFtowards ATE port-3), then update group 700 to addbackup_next_hop_group: 720. VerifyFIB_PROGRAMMED, zero traffic loss on the active primary path, telemetry showing backup group 720, andbackup-active: false. - Activate
backup_activatefor group 700 and verifyFIB_PROGRAMMED, traffic shift to ATE port-3 within the300 msconvergence threshold (<= 350–400dropped packets at1,000 pps), andbackup-active: true. - Delete the trigger and verify
FIB_PROGRAMMED, restoration to ATE port-2 within the300 msconvergence threshold, andbackup-active: false.
{
"interfaces": {
"interface": [
{
"name": "Ethernet1/1",
"config": {"name": "Ethernet1/1", "enabled": true, "type": "iana-if-type:ethernetCsmacd"},
"subinterfaces": {"subinterface": [{"index": 0, "config": {"index": 0, "enabled": true}, "ipv4": {"addresses": {"address": [{"ip": "198.51.100.1", "config": {"ip": "198.51.100.1", "prefix-length": 30}}]}}, "ipv6": {"addresses": {"address": [{"ip": "2001:db8:1::1", "config": {"ip": "2001:db8:1::1", "prefix-length": 126}}]}}}]}
},
{
"name": "Ethernet1/2",
"config": {"name": "Ethernet1/2", "enabled": true, "type": "iana-if-type:ethernetCsmacd"},
"subinterfaces": {"subinterface": [{"index": 0, "config": {"index": 0, "enabled": true}, "ipv4": {"addresses": {"address": [{"ip": "198.51.100.5", "config": {"ip": "198.51.100.5", "prefix-length": 30}}]}}, "ipv6": {"addresses": {"address": [{"ip": "2001:db8:2::1", "config": {"ip": "2001:db8:2::1", "prefix-length": 126}}]}}}]}
},
{
"name": "Ethernet1/3",
"config": {"name": "Ethernet1/3", "enabled": true, "type": "iana-if-type:ethernetCsmacd"},
"subinterfaces": {"subinterface": [{"index": 0, "config": {"index": 0, "enabled": true}, "ipv4": {"addresses": {"address": [{"ip": "198.51.100.9", "config": {"ip": "198.51.100.9", "prefix-length": 30}}]}}, "ipv6": {"addresses": {"address": [{"ip": "2001:db8:3::1", "config": {"ip": "2001:db8:3::1", "prefix-length": 126}}]}}}]}
},
{
"name": "Ethernet1/4",
"config": {"name": "Ethernet1/4", "enabled": true, "type": "iana-if-type:ethernetCsmacd"},
"subinterfaces": {"subinterface": [{"index": 0, "config": {"index": 0, "enabled": true}, "ipv4": {"addresses": {"address": [{"ip": "198.51.100.13", "config": {"ip": "198.51.100.13", "prefix-length": 30}}]}}, "ipv6": {"addresses": {"address": [{"ip": "2001:db8:4::1", "config": {"ip": "2001:db8:4::1", "prefix-length": 126}}]}}}]}
}
]
},
"network-instances": {
"network-instance": [
{
"name": "DEFAULT",
"config": {"name": "DEFAULT", "type": "openconfig-network-instance-types:DEFAULT_INSTANCE"},
"interfaces": {"interface": [
{"id": "Ethernet1/1.0", "config": {"id": "Ethernet1/1.0", "interface": "Ethernet1/1", "subinterface": 0}},
{"id": "Ethernet1/2.0", "config": {"id": "Ethernet1/2.0", "interface": "Ethernet1/2", "subinterface": 0}},
{"id": "Ethernet1/3.0", "config": {"id": "Ethernet1/3.0", "interface": "Ethernet1/3", "subinterface": 0}},
{"id": "Ethernet1/4.0", "config": {"id": "Ethernet1/4.0", "interface": "Ethernet1/4", "subinterface": 0}}
]}
},
{"name": "TRANSIT_VRF", "config": {"name": "TRANSIT_VRF", "type": "openconfig-network-instance-types:L3VRF"}},
{"name": "REPAIR_VRF", "config": {"name": "REPAIR_VRF", "type": "openconfig-network-instance-types:L3VRF"}}
]
}
}paths:
/interfaces/interface/config/name:
/interfaces/interface/config/type:
/interfaces/interface/config/enabled:
/interfaces/interface/subinterfaces/subinterface/config/index:
/interfaces/interface/subinterfaces/subinterface/config/enabled:
/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/config/ip:
/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/config/prefix-length:
/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/config/ip:
/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/config/prefix-length:
/network-instances/network-instance/config/name:
/network-instances/network-instance/config/type:
/network-instances/network-instance/interfaces/interface/config/id:
/network-instances/network-instance/interfaces/interface/config/interface:
/network-instances/network-instance/interfaces/interface/config/subinterface:
/interfaces/interface/state/oper-status:
/interfaces/interface/subinterfaces/subinterface/state/oper-status:
/network-instances/network-instance/afts/ipv4-unicast/ipv4-entry/state/prefix:
/network-instances/network-instance/afts/ipv4-unicast/ipv4-entry/state/next-hop-group:
/network-instances/network-instance/afts/ipv4-unicast/ipv4-entry/state/next-hop-group-network-instance:
/network-instances/network-instance/afts/ipv6-unicast/ipv6-entry/state/prefix:
/network-instances/network-instance/afts/ipv6-unicast/ipv6-entry/state/next-hop-group:
/network-instances/network-instance/afts/ipv6-unicast/ipv6-entry/state/next-hop-group-network-instance:
/network-instances/network-instance/afts/next-hop-groups/next-hop-group/state/id:
/network-instances/network-instance/afts/next-hop-groups/next-hop-group/state/backup-next-hop-group:
/network-instances/network-instance/afts/next-hop-groups/next-hop-group/next-hops/next-hop/state/index:
/network-instances/network-instance/afts/next-hop-groups/next-hop-group/next-hops/next-hop/state/weight:
/network-instances/network-instance/afts/next-hops/next-hop/state/index:
/network-instances/network-instance/afts/next-hops/next-hop/state/ip-address:
/network-instances/network-instance/afts/next-hops/next-hop/state/mac-address:
/network-instances/network-instance/afts/next-hops/next-hop/interface-ref/state/interface:
/network-instances/network-instance/afts/next-hops/next-hop/interface-ref/state/subinterface:
/network-instances/network-instance/afts/next-hops/next-hop/state/network-instance:
/network-instances/network-instance/afts/next-hops/next-hop/state/decapsulate-header:
/network-instances/network-instance/afts/next-hops/next-hop/state/encapsulate-header:
/network-instances/network-instance/afts/next-hops/next-hop/ip-in-ip/state/src-ip:
/network-instances/network-instance/afts/next-hops/next-hop/ip-in-ip/state/dst-ip:
/components/component/state/redundant-role:
platform_type: ["CONTROLLER_CARD"]
# TODO: Proposed OpenConfig paths for backup activation state and structural list.
# See https://github.com/openconfig/public/pull/1541
# /network-instances/network-instance/afts/next-hop-groups/next-hop-group/state/backup-active
# /network-instances/network-instance/afts/backup-activate/backup-activate/state/next-hop-group
rpcs:
gnmi:
gNMI.Set:
gNMI.Subscribe:
on_change: true
gNMI.Get:
gribi:
gRIBI.Modify:
gRIBI.Flush:
gRIBI.Get:
gnoi:
system.System.KillProcess:
system.System.SwitchControlProcessor:MFF for subtests requiring redundant controller-card switchover (TE-11.4.6); vRX or FFF for all other subtests.