Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix interface_type Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * fix setting mtu, doc for state check param, doc for params applicable for ethernet intf Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * speed idempotence and add unittest Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * fabric_forwarding_anycast_gateway applicable for svi type intf only Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * fix speed Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> (cherry picked from commit 2fbfce0)
- Loading branch information
1 parent
5c65fa3
commit f365374
Showing
5 changed files
with
298 additions
and
33 deletions.
There are no files selected for viewing
This file contains 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
129 changes: 129 additions & 0 deletions
129
test/units/modules/network/nxos/fixtures/nxos_interface/show_interface
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
{ | ||
"TABLE_interface": { | ||
"ROW_interface": [ | ||
{ | ||
"interface": "Ethernet2/1", | ||
"state": "up", | ||
"admin_state": "up", | ||
"share_state": "Dedicated", | ||
"eth_hw_desc": "Ethernet", | ||
"eth_hw_addr": "fa16.3e50.6647", | ||
"eth_bia_addr": "fa16.3e50.6619", | ||
"desc": "Test aggregation on first interface", | ||
"eth_mtu": "1500", | ||
"eth_bw": 1000000, | ||
"eth_dly": 10, | ||
"eth_reliability": "255", | ||
"eth_txload": "1", | ||
"eth_rxload": "1", | ||
"medium": "broadcast", | ||
"eth_mode": "routed", | ||
"eth_duplex": "full", | ||
"eth_speed": "1000 Mb/s", | ||
"eth_beacon": "off", | ||
"eth_autoneg": "off", | ||
"eth_in_flowctrl": "off", | ||
"eth_out_flowctrl": "off", | ||
"eth_mdix": "off", | ||
"eth_swt_monitor": "off", | ||
"eth_ethertype": "0x8100", | ||
"eth_eee_state": "n/a", | ||
"eth_link_flapped": "4d15h", | ||
"eth_clear_counters": "never", | ||
"eth_reset_cntr": 87, | ||
"eth_load_interval1_rx": 0, | ||
"eth_inrate1_bits": 0, | ||
"eth_inrate1_pkts": 0, | ||
"eth_load_interval1_tx": 0, | ||
"eth_outrate1_bits": 0, | ||
"eth_outrate1_pkts": 0, | ||
"eth_inrate1_summary_bits": "0 bps", | ||
"eth_inrate1_summary_pkts": "0 pps", | ||
"eth_outrate1_summary_bits": "0 bps", | ||
"eth_outrate1_summary_pkts": "0 pps", | ||
"eth_load_interval2_rx": 0, | ||
"eth_inrate2_bits": 0, | ||
"eth_inrate2_pkts": 0, | ||
"eth_load_interval2_tx": 0, | ||
"eth_outrate2_bits": 0, | ||
"eth_outrate2_pkts": 0, | ||
"eth_inrate2_summary_bits": "0 bps", | ||
"eth_inrate2_summary_pkts": "0 pps", | ||
"eth_outrate2_summary_bits": "0 bps", | ||
"eth_outrate2_summary_pkts": "0 pps", | ||
"eth_inucast": 0, | ||
"eth_inmcast": 0, | ||
"eth_inbcast": 0, | ||
"eth_inpkts": 0, | ||
"eth_inbytes": 0, | ||
"eth_jumbo_inpkts": 0, | ||
"eth_storm_supp": 0, | ||
"eth_runts": 0, | ||
"eth_giants": 0, | ||
"eth_crc": 0, | ||
"eth_nobuf": 0, | ||
"eth_inerr": 0, | ||
"eth_frame": 0, | ||
"eth_overrun": 0, | ||
"eth_underrun": 0, | ||
"eth_ignored": 0, | ||
"eth_watchdog": 0, | ||
"eth_bad_eth": 0, | ||
"eth_bad_proto": 0, | ||
"eth_in_ifdown_drops": 0, | ||
"eth_dribble": 0, | ||
"eth_indiscard": 0, | ||
"eth_inpause": 0, | ||
"eth_outucast": 0, | ||
"eth_outmcast": 0, | ||
"eth_outbcast": 0, | ||
"eth_outpkts": 0, | ||
"eth_outbytes": 0, | ||
"eth_jumbo_outpkts": 0, | ||
"eth_outerr": 0, | ||
"eth_coll": 0, | ||
"eth_deferred": 0, | ||
"eth_latecoll": 0, | ||
"eth_lostcarrier": 0, | ||
"eth_nocarrier": 0, | ||
"eth_babbles": 0, | ||
"eth_outdiscard": 0, | ||
"eth_outpause": 0 | ||
}, | ||
{ | ||
"interface": "loopback0", | ||
"state": "up", | ||
"admin_state": "up", | ||
"eth_hw_desc": "Loopback", | ||
"desc": "Loopback", | ||
"eth_ip_addr": "192.168.255.1", | ||
"eth_ip_mask": 32, | ||
"eth_ip_prefix": "192.168.255.1", | ||
"eth_mtu": "1500", | ||
"eth_bw": 8000000, | ||
"eth_dly": 5000, | ||
"eth_reliability": "255", | ||
"eth_txload": "1", | ||
"eth_rxload": "1", | ||
"medium": "broadcast", | ||
"eth_mode": "routed", | ||
"eth_mdix": "off", | ||
"loop_in_pkts": 1451854, | ||
"loop_in_bytes": 75138128, | ||
"loop_in_mcast": 0, | ||
"loop_in_compressed": 0, | ||
"loop_in_errors": 0, | ||
"loop_in_frame": 0, | ||
"loop_in_overrun": 0, | ||
"loop_in_fifo": 0, | ||
"loop_out_pkts": 0, | ||
"loop_out_bytes": 0, | ||
"loop_out_underruns": 0, | ||
"loop_out_errors": 0, | ||
"loop_out_collisions": 0, | ||
"loop_out_fifo": 0, | ||
"loop_out_carriers": 0 | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.