Interface InterfaceLldp
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<InterfaceLldp>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<OvsdbPortInterfaceAttributes>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<InterfaceLldpKey>
public interface InterfaceLldp extends org.opendaylight.yangtools.yang.binding.ChildOf<OvsdbPortInterfaceAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<InterfaceLldp>, org.opendaylight.yangtools.yang.binding.Identifiable<InterfaceLldpKey>
Auto Attach configuration for a particular interface. If LLDP is enabled on an interface, the interface processes received LLDP packets and never passes them to OpenFlow or forwards them. lldp : enable: optional string, either true or false True to enable LLDP on this Interface. If not specified, LLDP will be disabled by default.This class represents the following YANG schema fragment defined in module ovsdb
list interface-lldp { key lldp-key; leaf lldp-key { type string; } leaf lldp-value { type string; } }
The schema path to identify an instance is ovsdb/ovsdb-port-interface-attributes/interface-lldpTo create instances of this class use
InterfaceLldpBuilder
.- See Also:
InterfaceLldpBuilder
,InterfaceLldpKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable String
getLldpKey()
lldp name/key@Nullable String
getLldpValue()
lldp valuedefault Class<InterfaceLldp>
implementedInterface()
InterfaceLldpKey
key()
-
-
-
Method Detail
-
implementedInterface
default Class<InterfaceLldp> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getLldpKey
@Nullable String getLldpKey()
lldp name/key- Returns:
java.lang.String
lldpKey
, ornull
if not present
-
getLldpValue
@Nullable String getLldpValue()
lldp value- Returns:
java.lang.String
lldpValue
, ornull
if not present
-
key
InterfaceLldpKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<InterfaceLldpKey>
-
-