File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -325,6 +325,7 @@ def vrf(vrf_name):
325
325
vrfs = [vrf_name ]
326
326
for vrf in vrfs :
327
327
intfs = get_interface_bind_to_vrf (config_db , vrf )
328
+ intfs = natsorted (intfs )
328
329
if len (intfs ) == 0 :
329
330
body .append ([vrf , "" ])
330
331
else :
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ def test_vrf_show(self):
27
27
------ ---------------
28
28
Vrf1
29
29
Vrf101 Ethernet0.10
30
- Vrf102 PortChannel0002
30
+ Vrf102 Eth36.10
31
+ PortChannel0002
31
32
Vlan40
32
- Eth36.10
33
33
Vrf103 Ethernet4
34
34
Loopback0
35
35
Po0002.101
@@ -51,9 +51,9 @@ def test_vrf_bind_unbind(self):
51
51
------ ---------------
52
52
Vrf1
53
53
Vrf101 Ethernet0.10
54
- Vrf102 PortChannel0002
54
+ Vrf102 Eth36.10
55
+ PortChannel0002
55
56
Vlan40
56
- Eth36.10
57
57
Vrf103 Ethernet4
58
58
Loopback0
59
59
Po0002.101
@@ -112,9 +112,9 @@ def test_vrf_bind_unbind(self):
112
112
------ ---------------
113
113
Vrf1
114
114
Vrf101 Ethernet0.10
115
- Vrf102 PortChannel0002
115
+ Vrf102 Eth36.10
116
+ PortChannel0002
116
117
Vlan40
117
- Eth36.10
118
118
Vrf103 Ethernet4
119
119
Loopback0
120
120
Po0002.101
You can’t perform that action at this time.
0 commit comments