Skip to content

Commit

Permalink
Updating Config guide with subinterface config & show commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
preetham-singh committed Jul 26, 2022
1 parent 40f3ae6 commit f612ef8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/intfutil_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ def test_single_subintf_status(self):
expected_output = (
"Sub port interface Speed MTU Vlan Admin Type\n"
"-------------------- ------- ----- ------ ------- --------------------\n"
" Ethernet0.10 25G 9100 10 up 802.1q-encapsulation"
" Ethernet0.10 25G 9100 10 up 802.1q-encapsulation\n"
" Eth64.10 40G 9100 100 up 802.1q-encapsulation"
)
self.assertEqual(result.output.strip(), expected_output)

Expand Down
4 changes: 4 additions & 0 deletions tests/mock_tables/appl_db.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@
"admin_status": "up",
"vlan": "100"
},
"INTF_TABLE:Eth64.10": {
"admin_status": "up",
"vlan": "100"
},
"_GEARBOX_TABLE:phy:1": {
"name": "sesto-1",
"phy_id": "1",
Expand Down

0 comments on commit f612ef8

Please sign in to comment.