| Conditions | 1 |
| Total Lines | 11 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """Test PortMod message.""" |
||
| 10 | @classmethod |
||
| 11 | def setUpClass(cls): |
||
| 12 | """[Controller2Switch/PortMod] - size 32.""" |
||
| 13 | super().setUpClass() |
||
| 14 | super().set_raw_dump_file('v0x01', 'ofpt_port_mod') |
||
| 15 | super().set_raw_dump_object(PortMod, xid=3, port_no=80, |
||
| 16 | hw_addr='aa:bb:cc:00:33:9f', |
||
| 17 | config=PortConfig.OFPPC_PORT_DOWN, |
||
| 18 | mask=PortConfig.OFPPC_NO_FWD, |
||
| 19 | advertise=PortFeatures.OFPPF_FIBER) |
||
| 20 | super().set_minimum_size(32) |
||
| 21 |