

@with_protocol
def test_lldp_options_defaults_to_enabled(self, t):
    enable(t)
    configuring_interface(t, 'ethernet 1/g1', do='no lldp transmit')
    configuring_interface(t, 'ethernet 1/g1', do='no lldp receive')
    configuring_interface(t, 'ethernet 1/g1', do='no lldp med transmit-tlv capabilities')
    configuring_interface(t, 'ethernet 1/g1', do='no lldp med transmit-tlv network-policy')
    assert_interface_configuration(t, 'ethernet 1/g1', ['no lldp transmit', 'no lldp receive', 'no lldp med transmit-tlv capabilities', 'no lldp med transmit-tlv network-policy'])
    configuring_interface(t, 'ethernet 1/g1', do='lldp transmit')
    configuring_interface(t, 'ethernet 1/g1', do='lldp receive')
    configuring_interface(t, 'ethernet 1/g1', do='lldp med transmit-tlv capabilities')
    configuring_interface(t, 'ethernet 1/g1', do='lldp med transmit-tlv network-policy')
    assert_interface_configuration(t, 'ethernet 1/g1', [''])

dataset/ETHPy150Open internap/fake-switches/tests/dell/test_configure_interface.py DellConfigureInterfaceTest.test_lldp_options_defaults_to_enabled/original