File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -325,6 +325,7 @@ def vrf(vrf_name):
325325 vrfs = [vrf_name ]
326326 for vrf in vrfs :
327327 intfs = get_interface_bind_to_vrf (config_db , vrf )
328+ intfs = natsorted (intfs )
328329 if len (intfs ) == 0 :
329330 body .append ([vrf , "" ])
330331 else :
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ def test_vrf_show(self):
2727------ ---------------
2828Vrf1
2929Vrf101 Ethernet0.10
30- Vrf102 PortChannel0002
30+ Vrf102 Eth36.10
31+ PortChannel0002
3132 Vlan40
32- Eth36.10
3333Vrf103 Ethernet4
3434 Loopback0
3535 Po0002.101
@@ -51,9 +51,9 @@ def test_vrf_bind_unbind(self):
5151------ ---------------
5252Vrf1
5353Vrf101 Ethernet0.10
54- Vrf102 PortChannel0002
54+ Vrf102 Eth36.10
55+ PortChannel0002
5556 Vlan40
56- Eth36.10
5757Vrf103 Ethernet4
5858 Loopback0
5959 Po0002.101
@@ -112,9 +112,9 @@ def test_vrf_bind_unbind(self):
112112------ ---------------
113113Vrf1
114114Vrf101 Ethernet0.10
115- Vrf102 PortChannel0002
115+ Vrf102 Eth36.10
116+ PortChannel0002
116117 Vlan40
117- Eth36.10
118118Vrf103 Ethernet4
119119 Loopback0
120120 Po0002.101
You can’t perform that action at this time.
0 commit comments