From f612ef83e4458763d8d913c9e1555cd49c999956 Mon Sep 17 00:00:00 2001 From: Preetham Singh Date: Mon, 8 Nov 2021 21:23:10 -0800 Subject: [PATCH] Updating Config guide with subinterface config & show commands. --- tests/intfutil_test.py | 3 ++- tests/mock_tables/appl_db.json | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/intfutil_test.py b/tests/intfutil_test.py index 82075b1352..5d09460438 100644 --- a/tests/intfutil_test.py +++ b/tests/intfutil_test.py @@ -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) diff --git a/tests/mock_tables/appl_db.json b/tests/mock_tables/appl_db.json index 29e161c9ca..54656f8960 100644 --- a/tests/mock_tables/appl_db.json +++ b/tests/mock_tables/appl_db.json @@ -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",