diff options
author | IWAMOTO Toshihiro <iwamoto@valinux.co.jp> | 2018-06-14 12:29:41 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-06-20 10:42:59 +0900 |
commit | 482aabcb1ea5c4c973b1cecf65721b3039f481df (patch) | |
tree | fcc9decafdc2d810b60a2e646c3ebafa2ee203dc | |
parent | 99fc573a9c169ca5561e7e763c5083a57b3d9729 (diff) |
lldp: Remove remaining SystemCapabilities.subtype from tests
Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/tests/unit/packet/test_lldp.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ryu/tests/unit/packet/test_lldp.py b/ryu/tests/unit/packet/test_lldp.py index a5c96bda..35c4f58e 100644 --- a/ryu/tests/unit/packet/test_lldp.py +++ b/ryu/tests/unit/packet/test_lldp.py @@ -320,7 +320,6 @@ class TestLLDPOptionalTLV(unittest.TestCase): system_description=b'Summit300-48 - Version 7.4e.1 (Build 5) ' + b'by Release_Master 05/27/05 04:53:11\x00') tlv_system_capabilities = lldp.SystemCapabilities( - subtype=lldp.ChassisID.SUB_CHASSIS_COMPONENT, system_cap=0x14, enabled_cap=0x14) tlv_management_address = lldp.ManagementAddress( @@ -358,7 +357,6 @@ class TestLLDPOptionalTLV(unittest.TestCase): system_description=b'Summit300-48 - Version 7.4e.1 (Build 5) ' + b'by Release_Master 05/27/05 04:53:11\x00') sys_cap = lldp.SystemCapabilities( - subtype=lldp.ChassisID.SUB_CHASSIS_COMPONENT, system_cap=0x14, enabled_cap=0x14) man_addr = lldp.ManagementAddress( @@ -432,8 +430,7 @@ class TestLLDPOptionalTLV(unittest.TestCase): _sys_desc_str) # SystemCapabilities string - sys_cap_values = {'subtype': lldp.ChassisID.SUB_CHASSIS_COMPONENT, - 'system_cap': 0x14, + sys_cap_values = {'system_cap': 0x14, 'enabled_cap': 0x14, 'len': sys_cap.len, 'typelen': sys_cap.typelen} @@ -513,7 +510,6 @@ class TestLLDPOptionalTLV(unittest.TestCase): system_description=b'Summit300-48 - Version 7.4e.1 (Build 5) ' + b'by Release_Master 05/27/05 04:53:11\x00') sys_cap = lldp.SystemCapabilities( - subtype=lldp.ChassisID.SUB_CHASSIS_COMPONENT, system_cap=0x14, enabled_cap=0x14) man_addr = lldp.ManagementAddress( |