Skip to content

Commit f612ef8

Browse files
Updating Config guide with subinterface config & show commands.
1 parent 40f3ae6 commit f612ef8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

tests/intfutil_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@ def test_single_subintf_status(self):
235235
expected_output = (
236236
"Sub port interface Speed MTU Vlan Admin Type\n"
237237
"-------------------- ------- ----- ------ ------- --------------------\n"
238-
" Ethernet0.10 25G 9100 10 up 802.1q-encapsulation"
238+
" Ethernet0.10 25G 9100 10 up 802.1q-encapsulation\n"
239+
" Eth64.10 40G 9100 100 up 802.1q-encapsulation"
239240
)
240241
self.assertEqual(result.output.strip(), expected_output)
241242

tests/mock_tables/appl_db.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,10 @@
192192
"admin_status": "up",
193193
"vlan": "100"
194194
},
195+
"INTF_TABLE:Eth64.10": {
196+
"admin_status": "up",
197+
"vlan": "100"
198+
},
195199
"_GEARBOX_TABLE:phy:1": {
196200
"name": "sesto-1",
197201
"phy_id": "1",

0 commit comments

Comments
 (0)