Documentation ¶
Overview ¶
This module contains a collection of YANG definitions for Cisco IOS-XR ethernet-lldp package configuration.
This module contains definitions for the following management objects:
lldp: Enable LLDP, or configure global LLDP subcommands
This YANG module augments the
Cisco-IOS-XR-ifmgr-cfg
module with configuration data.
Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lldp ¶
type Lldp struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Length of time (in sec) that receiver must keep this packet. The type is // interface{} with range: 0..65535. Holdtime interface{} // Enable or disable Priority to advertise Mgmt-interface Addr First. The type // is bool. The default value is false. EnablePriorityAddr interface{} // Enable or disable LLDP Show LLDP Neighbor Extended Width. The type is bool. // The default value is false. ExtendedShowWidth interface{} // Enable or disable LLDP on Sub-interfaces as well globally. The type is // bool. The default value is false. EnableSubintf interface{} // Enable or disable LLDP on Mgmt interfaces as well globally. The type is // bool. The default value is false. EnableMgmtintf interface{} // Specify the rate at which LLDP packets are sent (in sec). The type is // interface{} with range: 5..65534. The default value is 30. Timer interface{} // Delay (in sec) for LLDP initialization on any interface. The type is // interface{} with range: 2..5. The default value is 2. Reinit interface{} // Enable or disable LLDP globally. The type is bool. The default value is // false. Enable interface{} // Selection of LLDP TLVs to disable. TlvSelect Lldp_TlvSelect }
Lldp Enable LLDP, or configure global LLDP subcommands
func (*Lldp) GetEntityData ¶
func (lldp *Lldp) GetEntityData() *types.CommonEntityData
type Lldp_TlvSelect ¶
type Lldp_TlvSelect struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // enter lldp tlv-select submode. The type is bool. This attribute is // mandatory. TlvSelectEnter interface{} // System Name TLV. SystemName Lldp_TlvSelect_SystemName // Port Description TLV. PortDescription Lldp_TlvSelect_PortDescription // System Description TLV. SystemDescription Lldp_TlvSelect_SystemDescription // System Capabilities TLV. SystemCapabilities Lldp_TlvSelect_SystemCapabilities // Management Address TLV. ManagementAddress Lldp_TlvSelect_ManagementAddress }
Lldp_TlvSelect Selection of LLDP TLVs to disable This type is a presence type.
func (*Lldp_TlvSelect) GetEntityData ¶
func (tlvSelect *Lldp_TlvSelect) GetEntityData() *types.CommonEntityData
type Lldp_TlvSelect_ManagementAddress ¶
type Lldp_TlvSelect_ManagementAddress struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // disable Management Address TLV. The type is bool. The default value is // false. Disable interface{} }
Lldp_TlvSelect_ManagementAddress Management Address TLV
func (*Lldp_TlvSelect_ManagementAddress) GetEntityData ¶
func (managementAddress *Lldp_TlvSelect_ManagementAddress) GetEntityData() *types.CommonEntityData
type Lldp_TlvSelect_PortDescription ¶
type Lldp_TlvSelect_PortDescription struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // disable Port Description TLV. The type is bool. The default value is false. Disable interface{} }
Lldp_TlvSelect_PortDescription Port Description TLV
func (*Lldp_TlvSelect_PortDescription) GetEntityData ¶
func (portDescription *Lldp_TlvSelect_PortDescription) GetEntityData() *types.CommonEntityData
type Lldp_TlvSelect_SystemCapabilities ¶
type Lldp_TlvSelect_SystemCapabilities struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // disable System Capabilities TLV. The type is bool. The default value is // false. Disable interface{} }
Lldp_TlvSelect_SystemCapabilities System Capabilities TLV
func (*Lldp_TlvSelect_SystemCapabilities) GetEntityData ¶
func (systemCapabilities *Lldp_TlvSelect_SystemCapabilities) GetEntityData() *types.CommonEntityData
type Lldp_TlvSelect_SystemDescription ¶
type Lldp_TlvSelect_SystemDescription struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // disable System Description TLV. The type is bool. The default value is // false. Disable interface{} }
Lldp_TlvSelect_SystemDescription System Description TLV
func (*Lldp_TlvSelect_SystemDescription) GetEntityData ¶
func (systemDescription *Lldp_TlvSelect_SystemDescription) GetEntityData() *types.CommonEntityData
type Lldp_TlvSelect_SystemName ¶
type Lldp_TlvSelect_SystemName struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // disable System Name TLV. The type is bool. The default value is false. Disable interface{} }
Lldp_TlvSelect_SystemName System Name TLV
func (*Lldp_TlvSelect_SystemName) GetEntityData ¶
func (systemName *Lldp_TlvSelect_SystemName) GetEntityData() *types.CommonEntityData