Documentation ¶
Overview ¶
This module contains a collection of YANG definitions for managing network interfaces.
Copyright (c) 2014 IETF Trust and the persons identified as authors of the code. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC 7223; see the RFC itself for full legal notices.
Index ¶
- type InterfaceType
- type Interfaces
- type InterfacesState
- type InterfacesState_Interface
- type InterfacesState_Interface_AdminStatus
- type InterfacesState_Interface_DiffservTargetEntry
- type InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics
- type InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_ClassifierEntryStatistics
- type InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_MeterStatistics
- type InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_QueuingStatistics
- type InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_QueuingStatistics_WredStats
- type InterfacesState_Interface_Ipv4
- type InterfacesState_Interface_Ipv4_Address
- type InterfacesState_Interface_Ipv4_Neighbor
- type InterfacesState_Interface_Ipv6
- type InterfacesState_Interface_Ipv6_Address
- type InterfacesState_Interface_Ipv6_Address_Status
- type InterfacesState_Interface_Ipv6_Neighbor
- type InterfacesState_Interface_Ipv6_Neighbor_State
- type InterfacesState_Interface_OperStatus
- type InterfacesState_Interface_Statistics
- type Interfaces_Interface
- type Interfaces_Interface_DiffservTargetEntry
- type Interfaces_Interface_Ipv4
- type Interfaces_Interface_Ipv4_Address
- type Interfaces_Interface_Ipv4_Neighbor
- type Interfaces_Interface_Ipv6
- type Interfaces_Interface_Ipv6_Address
- type Interfaces_Interface_Ipv6_Autoconf
- type Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements
- type Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements_PrefixList
- type Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements_PrefixList_Prefix
- type Interfaces_Interface_Ipv6_Neighbor
- type Interfaces_Interface_LinkUpDownTrapEnable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterfaceType ¶
type InterfaceType struct { }
func (InterfaceType) String ¶
func (id InterfaceType) String() string
type Interfaces ¶
type Interfaces struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The list of configured interfaces on the device. The operational state of // an interface is available in the /interfaces-state/interface list. If the // configuration of a system-controlled interface cannot be used by the system // (e.g., the interface hardware present does not match the interface type), // then the configuration is not applied to the system-controlled interface // shown in the /interfaces-state/interface list. If the configuration of a // user-controlled interface cannot be used by the system, the configured // interface is not instantiated in the /interfaces-state/interface list. The // type is slice of Interfaces_Interface. Interface []*Interfaces_Interface }
Interfaces Interface configuration parameters.
func (*Interfaces) GetEntityData ¶
func (interfaces *Interfaces) GetEntityData() *types.CommonEntityData
type InterfacesState ¶
type InterfacesState struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The list of interfaces on the device. System-controlled interfaces created // by the system are always present in this list, whether they are configured // or not. The type is slice of InterfacesState_Interface. Interface []*InterfacesState_Interface }
InterfacesState Data nodes for the operational state of interfaces.
func (*InterfacesState) GetEntityData ¶
func (interfacesState *InterfacesState) GetEntityData() *types.CommonEntityData
type InterfacesState_Interface ¶
type InterfacesState_Interface struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The name of the interface. A server // implementation MAY map this leaf to the ifName MIB object. Such an // implementation needs to use some mechanism to handle the differences in // size and characters allowed between this leaf and ifName. The definition // of such a mechanism is outside the scope of this document. The type is // string. Name interface{} // The type of the interface. The type is one of the following: // IanaInterfaceTypeVoiceFXOAtmVciEndPtPropBWAp2MpPropDocsWirelessDownstreamV11SoftwareLoopbackHdlcVoiceFGDOSFastEtherFXDvbTdmNfasIfPwTypeL2vlanAdsl2plusIeee802154VoiceFXSDvbRcsMacLayerIdslInfinibandDdnX25WwanPP2DocsCableUpstreamEthernet3MbitDigitalPowerlineH323ProxyGtpIpOverAtmAluEponImtIpSwitchMsdslDvbRccMacLayerSmdsDxiVoiceOverAtmArapFastEtherMpcLinegroupHippiRprDs1FDLSonetVTVoiceEncapSs7SigLinkArcnetActelisMetaLOOPQllcRfc877x25MpegTransportX25mlpVirtualTgHostPadStarLanIso88025DtrIbm370parChanAdsl2OtnOtuPropWirelessP2PInterleaveIsupRegular1822Gr303RDTPropDocsWirelessMaclayerAsyncRadioMACOpticalChannelGroupSixToFourPropDocsWirelessUpstreamQ2931FddiPropCnlsAal2DvbAsiOutAluELPCiscoISLvlanDocsCableUpstreamRfPortAal5FrDlciEndPtHippiInterfaceL3ipvlanMiox25HssiAtmVirtualAluGponOnuRfc1483CnrSipSigMyrinetDlswGigabitEthernetX25pleLmpOpticalTransportSdlcVoiceEMX86LapsG9982Iso88022llcDvbAsiInBgppolicyaccountingAluEponOnuMfSigLinkDcnAtmDxiVoiceOverFrameRelayGfpSonetOverheadChannelVmwareVirtualNicFcipLinkIpOverClawCoffeeRadslVdsl2Rs232E1ReachDSLVoiceOverCableTr008VoiceOverIpAtmDs3Ds0Ds1SrpDocsCableDownstreamDvbRcsTdmaG9983PlcFrameRelayMPIMvlPropMultiplexorVoiceDIDCompositeLinkProteon10MbitAtmbondFrf16MfrBundleCctEmulMplsTunnelGponVdslPosIeee8023adLagDocsCableMaclayerDocsCableMCmtsDownstreamPppFrameRelayEplrsVmwareNicTeamCableDownstreamRfPortMacSecUncontrolledIFIso88023CsmacdUsbAtmFuniTeLinkPon622EconetTdlcDs0BundleFastIeee1394CblVectaStarRsrbFrameRelayInterconnectIsdnsPppMultilinkBundleAflane8025LapbAflane8023LapdIsdnuLapfCapwapWtpVirtualRadioIfVfiTypeX25huntGroupParaMacSecControlledIFIso88024TokenBusLocalTalkHyperchannelMediaMailOverIpIfGsnCapwapDot11ProfileL3ipxvlanAtmSubInterfacePrimaryISDNProteon80MbitIso88026ManDigitalWrapperOverheadChannelDocsCableUpstreamChannelOpticalChannelEthernetCsmacdBitsTunnelHdsl2FrameRelayServiceMplsIeee80211Ieee80212MocaVersion1SonetEsconAluEponLogicalLinkG703at2mbUltraDvbRccDownstreamSipTgSmdsIcipBridgeAtmLogicalPropPointToPointSerialV35V36V37IpGr303IDTBasicISDNG703at64kArcnetPlusPipDtmSlipHiperlan2AdslIeee80216WMANAtmImaIsdnCapwapDot11BssSipPdnEtherLoop2VoiceEBSIpForwardIso88025CRFPIntPropVirtualWwanPPOtherPon155QamOtnOduIso88025FiberChannelVoiceEMFGDAluGponPhysicalUniA12MppSwitchIlanPdnEtherLoop1X213SonetPathVoiceFGDEANAIso88025TokenRingPropAtmAluEponPhysicalUniStackToStackFrForwardHomepnaSdslVirtualIpAddressBscAtmRadioAviciOpticalEtherG9981FibreChannelShdslEonH323GatekeeperHdh1822DvbRccUpstreamNsipTranspHdlcTermPadIpOverCdlcCesModem. // This attribute is mandatory. Type interface{} // The desired state of the interface. This leaf has the same read semantics // as ifAdminStatus. The type is AdminStatus. This attribute is mandatory. AdminStatus interface{} // The current operational state of the interface. This leaf has the same // semantics as ifOperStatus. The type is OperStatus. This attribute is // mandatory. OperStatus interface{} // The time the interface entered its current operational state. If the // current state was entered prior to the last re-initialization of the local // network management subsystem, then this node is not present. The type is // string with pattern: // \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[\+\-]\d{2}:\d{2}). LastChange interface{} // The ifIndex value for the ifEntry represented by this interface. The type // is interface{} with range: 1..2147483647. This attribute is mandatory. IfIndex interface{} // The interface's address at its protocol sub-layer. For example, for an // 802.x interface, this object normally contains a Media Access Control (MAC) // address. The interface's media-specific modules must define the bit and // byte ordering and the format of the value of this object. For interfaces // that do not have such an address (e.g., a serial line), this node is not // present. The type is string with pattern: // ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2})*)?. PhysAddress interface{} // A list of references to interfaces layered on top of this interface. The // type is slice of string. Refers to // interfaces.InterfacesState_Interface_Name HigherLayerIf []interface{} // A list of references to interfaces layered underneath this interface. The // type is slice of string. Refers to // interfaces.InterfacesState_Interface_Name LowerLayerIf []interface{} // An estimate of the interface's current bandwidth in bits per second. For // interfaces that do not vary in bandwidth or for those where no accurate // estimation can be made, this node should contain the nominal bandwidth. For // interfaces that have no concept of bandwidth, this node is not present. The // type is interface{} with range: 0..18446744073709551615. Units are // bits/second. Speed interface{} // The name of the routing instance to which the interface is assigned. The // type is string. RoutingInstance interface{} // A collection of interface-related statistics objects. Statistics InterfacesState_Interface_Statistics // Interface-specific parameters for the IPv4 address family. Ipv4 InterfacesState_Interface_Ipv4 // Parameters for the IPv6 address family. Ipv6 InterfacesState_Interface_Ipv6 // policy target for inbound or outbound direction. The type is slice of // InterfacesState_Interface_DiffservTargetEntry. DiffservTargetEntry []*InterfacesState_Interface_DiffservTargetEntry }
InterfacesState_Interface The list of interfaces on the device.
System-controlled interfaces created by the system are always present in this list, whether they are configured or not.
func (*InterfacesState_Interface) GetEntityData ¶
func (self *InterfacesState_Interface) GetEntityData() *types.CommonEntityData
type InterfacesState_Interface_AdminStatus ¶
type InterfacesState_Interface_AdminStatus string
InterfacesState_Interface_AdminStatus represents This leaf has the same read semantics as ifAdminStatus.
const ( // Ready to pass packets. InterfacesState_Interface_AdminStatus_up InterfacesState_Interface_AdminStatus = "up" // Not ready to pass packets and not in some test mode. InterfacesState_Interface_AdminStatus_down InterfacesState_Interface_AdminStatus = "down" // In some test mode. InterfacesState_Interface_AdminStatus_testing InterfacesState_Interface_AdminStatus = "testing" )
type InterfacesState_Interface_DiffservTargetEntry ¶
type InterfacesState_Interface_DiffservTargetEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Direction fo the traffic flow either inbound or // outbound. The type is one of the following: InboundOutbound. Direction interface{} // This attribute is a key. Policy entry name. The type is string. PolicyName interface{} // Statistics for each Classifier Entry in a Policy. The type is slice of // InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics. DiffservTargetClassifierStatistics []*InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics }
InterfacesState_Interface_DiffservTargetEntry policy target for inbound or outbound direction
func (*InterfacesState_Interface_DiffservTargetEntry) GetEntityData ¶
func (diffservTargetEntry *InterfacesState_Interface_DiffservTargetEntry) GetEntityData() *types.CommonEntityData
type InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics ¶
type InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Classifier Entry Name. The type is string. ClassifierEntryName interface{} // This attribute is a key. Path of the Classifier Entry in a hierarchial // policy . The type is string. ParentPath interface{} // This group defines the classifier filter statistics of each classifier // entry . ClassifierEntryStatistics InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_ClassifierEntryStatistics // Meter statistics. The type is slice of // InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_MeterStatistics. MeterStatistics []*InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_MeterStatistics // queue related statistics . QueuingStatistics InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_QueuingStatistics }
InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics Statistics for each Classifier Entry in a Policy
func (*InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics) GetEntityData ¶
func (diffservTargetClassifierStatistics *InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics) GetEntityData() *types.CommonEntityData
type InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_ClassifierEntryStatistics ¶
type InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_ClassifierEntryStatistics struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Number of total packets which filtered to the classifier-entry. The type // is interface{} with range: 0..18446744073709551615. ClassifiedPkts interface{} // Number of total bytes which filtered to the classifier-entry. The type is // interface{} with range: 0..18446744073709551615. ClassifiedBytes interface{} // Rate of average data flow through the classifier-entry. The type is // interface{} with range: 0..18446744073709551615. Units are bits-per-second. ClassifiedRate interface{} }
InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_ClassifierEntryStatistics
This group defines the classifier filter statistics of each classifier entry
func (*InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_ClassifierEntryStatistics) GetEntityData ¶
func (classifierEntryStatistics *InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_ClassifierEntryStatistics) GetEntityData() *types.CommonEntityData
type InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_MeterStatistics ¶
type InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_MeterStatistics struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Meter Identifier. The type is interface{} with // range: 0..65535. MeterId interface{} // Number of packets which succeed the meter. The type is interface{} with // range: 0..18446744073709551615. MeterSucceedPkts interface{} // Bytes of packets which succeed the meter. The type is interface{} with // range: 0..18446744073709551615. MeterSucceedBytes interface{} // Number of packets which failed the meter. The type is interface{} with // range: 0..18446744073709551615. MeterFailedPkts interface{} // Bytes of packets which failed the meter. The type is interface{} with // range: 0..18446744073709551615. MeterFailedBytes interface{} }
InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_MeterStatistics Meter statistics
func (*InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_MeterStatistics) GetEntityData ¶
func (meterStatistics *InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_MeterStatistics) GetEntityData() *types.CommonEntityData
type InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_QueuingStatistics ¶
type InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_QueuingStatistics struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Number of packets transmitted from queue . The type is interface{} with // range: 0..18446744073709551615. OutputPkts interface{} // Number of bytes transmitted from queue . The type is interface{} with // range: 0..18446744073709551615. OutputBytes interface{} // Number of packets currently buffered . The type is interface{} with range: // 0..18446744073709551615. QueueSizePkts interface{} // Number of bytes currently buffered . The type is interface{} with range: // 0..18446744073709551615. QueueSizeBytes interface{} // Total number of packets dropped . The type is interface{} with range: // 0..18446744073709551615. DropPkts interface{} // Total number of bytes dropped . The type is interface{} with range: // 0..18446744073709551615. DropBytes interface{} // Container for WRED statistics. WredStats InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_QueuingStatistics_WredStats }
InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_QueuingStatistics queue related statistics
func (*InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_QueuingStatistics) GetEntityData ¶
func (queuingStatistics *InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_QueuingStatistics) GetEntityData() *types.CommonEntityData
type InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_QueuingStatistics_WredStats ¶
type InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_QueuingStatistics_WredStats struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Early drop packets . The type is interface{} with range: // 0..18446744073709551615. EarlyDropPkts interface{} // Early drop bytes . The type is interface{} with range: // 0..18446744073709551615. EarlyDropBytes interface{} }
InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_QueuingStatistics_WredStats Container for WRED statistics
func (*InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_QueuingStatistics_WredStats) GetEntityData ¶
func (wredStats *InterfacesState_Interface_DiffservTargetEntry_DiffservTargetClassifierStatistics_QueuingStatistics_WredStats) GetEntityData() *types.CommonEntityData
type InterfacesState_Interface_Ipv4 ¶
type InterfacesState_Interface_Ipv4 struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // Indicates whether IPv4 packet forwarding is enabled or disabled on this // interface. The type is bool. Forwarding interface{} // The size, in octets, of the largest IPv4 packet that the interface will // send and receive. The type is interface{} with range: 68..65535. Units are // octets. Mtu interface{} // The list of IPv4 addresses on the interface. The type is slice of // InterfacesState_Interface_Ipv4_Address. Address []*InterfacesState_Interface_Ipv4_Address // A list of mappings from IPv4 addresses to link-layer addresses. This list // represents the ARP Cache. The type is slice of // InterfacesState_Interface_Ipv4_Neighbor. Neighbor []*InterfacesState_Interface_Ipv4_Neighbor }
InterfacesState_Interface_Ipv4 Interface-specific parameters for the IPv4 address family. This type is a presence type.
func (*InterfacesState_Interface_Ipv4) GetEntityData ¶
func (ipv4 *InterfacesState_Interface_Ipv4) GetEntityData() *types.CommonEntityData
type InterfacesState_Interface_Ipv4_Address ¶
type InterfacesState_Interface_Ipv4_Address struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The IPv4 address on the interface. The type is // string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. Ip interface{} // The length of the subnet prefix. The type is interface{} with range: 0..32. PrefixLength interface{} // The subnet specified as a netmask. The type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]). Netmask interface{} // The origin of this address. The type is IpAddressOrigin. Origin interface{} }
InterfacesState_Interface_Ipv4_Address The list of IPv4 addresses on the interface.
func (*InterfacesState_Interface_Ipv4_Address) GetEntityData ¶
func (address *InterfacesState_Interface_Ipv4_Address) GetEntityData() *types.CommonEntityData
type InterfacesState_Interface_Ipv4_Neighbor ¶
type InterfacesState_Interface_Ipv4_Neighbor struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The IPv4 address of the neighbor node. The type is // string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. Ip interface{} // The link-layer address of the neighbor node. The type is string with // pattern: ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2})*)?. LinkLayerAddress interface{} // The origin of this neighbor entry. The type is NeighborOrigin. Origin interface{} }
InterfacesState_Interface_Ipv4_Neighbor A list of mappings from IPv4 addresses to link-layer addresses. This list represents the ARP Cache.
func (*InterfacesState_Interface_Ipv4_Neighbor) GetEntityData ¶
func (neighbor *InterfacesState_Interface_Ipv4_Neighbor) GetEntityData() *types.CommonEntityData
type InterfacesState_Interface_Ipv6 ¶
type InterfacesState_Interface_Ipv6 struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // Indicates whether IPv6 packet forwarding is enabled or disabled on this // interface. The type is bool. The default value is false. Forwarding interface{} // The size, in octets, of the largest IPv6 packet that the interface will // send and receive. The type is interface{} with range: 1280..4294967295. // Units are octets. Mtu interface{} // The list of IPv6 addresses on the interface. The type is slice of // InterfacesState_Interface_Ipv6_Address. Address []*InterfacesState_Interface_Ipv6_Address // A list of mappings from IPv6 addresses to link-layer addresses. This list // represents the Neighbor Cache. The type is slice of // InterfacesState_Interface_Ipv6_Neighbor. Neighbor []*InterfacesState_Interface_Ipv6_Neighbor }
InterfacesState_Interface_Ipv6 Parameters for the IPv6 address family. This type is a presence type.
func (*InterfacesState_Interface_Ipv6) GetEntityData ¶
func (ipv6 *InterfacesState_Interface_Ipv6) GetEntityData() *types.CommonEntityData
type InterfacesState_Interface_Ipv6_Address ¶
type InterfacesState_Interface_Ipv6_Address struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The IPv6 address on the interface. The type is // string with pattern: // ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?. Ip interface{} // The length of the subnet prefix. The type is interface{} with range: // 0..128. This attribute is mandatory. PrefixLength interface{} // The origin of this address. The type is IpAddressOrigin. Origin interface{} // The status of an address. Most of the states correspond to states from the // IPv6 Stateless Address Autoconfiguration protocol. The type is Status. Status interface{} }
InterfacesState_Interface_Ipv6_Address The list of IPv6 addresses on the interface.
func (*InterfacesState_Interface_Ipv6_Address) GetEntityData ¶
func (address *InterfacesState_Interface_Ipv6_Address) GetEntityData() *types.CommonEntityData
type InterfacesState_Interface_Ipv6_Address_Status ¶
type InterfacesState_Interface_Ipv6_Address_Status string
InterfacesState_Interface_Ipv6_Address_Status represents Autoconfiguration protocol.
const ( // This is a valid address that can appear as the // destination or source address of a packet. InterfacesState_Interface_Ipv6_Address_Status_preferred InterfacesState_Interface_Ipv6_Address_Status = "preferred" // This is a valid but deprecated address that should // no longer be used as a source address in new // communications, but packets addressed to such an // address are processed as expected. InterfacesState_Interface_Ipv6_Address_Status_deprecated InterfacesState_Interface_Ipv6_Address_Status = "deprecated" // This isn't a valid address, and it shouldn't appear // as the destination or source address of a packet. InterfacesState_Interface_Ipv6_Address_Status_invalid InterfacesState_Interface_Ipv6_Address_Status = "invalid" // The address is not accessible because the interface // to which this address is assigned is not // operational. InterfacesState_Interface_Ipv6_Address_Status_inaccessible InterfacesState_Interface_Ipv6_Address_Status = "inaccessible" // The status cannot be determined for some reason. InterfacesState_Interface_Ipv6_Address_Status_unknown InterfacesState_Interface_Ipv6_Address_Status = "unknown" // The uniqueness of the address on the link is being // verified. Addresses in this state should not be // used for general communication and should only be // used to determine the uniqueness of the address. InterfacesState_Interface_Ipv6_Address_Status_tentative InterfacesState_Interface_Ipv6_Address_Status = "tentative" // The address has been determined to be non-unique on // the link and so must not be used. InterfacesState_Interface_Ipv6_Address_Status_duplicate InterfacesState_Interface_Ipv6_Address_Status = "duplicate" // The address is available for use, subject to // restrictions, while its uniqueness on a link is // being verified. InterfacesState_Interface_Ipv6_Address_Status_optimistic InterfacesState_Interface_Ipv6_Address_Status = "optimistic" )
type InterfacesState_Interface_Ipv6_Neighbor ¶
type InterfacesState_Interface_Ipv6_Neighbor struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The IPv6 address of the neighbor node. The type is // string with pattern: // ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?. Ip interface{} // The link-layer address of the neighbor node. The type is string with // pattern: ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2})*)?. LinkLayerAddress interface{} // The origin of this neighbor entry. The type is NeighborOrigin. Origin interface{} // Indicates that the neighbor node acts as a router. The type is interface{}. IsRouter interface{} // The Neighbor Unreachability Detection state of this entry. The type is // State. State interface{} }
InterfacesState_Interface_Ipv6_Neighbor A list of mappings from IPv6 addresses to link-layer addresses. This list represents the Neighbor Cache.
func (*InterfacesState_Interface_Ipv6_Neighbor) GetEntityData ¶
func (neighbor *InterfacesState_Interface_Ipv6_Neighbor) GetEntityData() *types.CommonEntityData
type InterfacesState_Interface_Ipv6_Neighbor_State ¶
type InterfacesState_Interface_Ipv6_Neighbor_State string
InterfacesState_Interface_Ipv6_Neighbor_State represents entry.
const ( // Address resolution is in progress, and the link-layer // address of the neighbor has not yet been // determined. InterfacesState_Interface_Ipv6_Neighbor_State_incomplete InterfacesState_Interface_Ipv6_Neighbor_State = "incomplete" // Roughly speaking, the neighbor is known to have been // reachable recently (within tens of seconds ago). InterfacesState_Interface_Ipv6_Neighbor_State_reachable InterfacesState_Interface_Ipv6_Neighbor_State = "reachable" // The neighbor is no longer known to be reachable, but // until traffic is sent to the neighbor no attempt // should be made to verify its reachability. InterfacesState_Interface_Ipv6_Neighbor_State_stale InterfacesState_Interface_Ipv6_Neighbor_State = "stale" // The neighbor is no longer known to be reachable, and // traffic has recently been sent to the neighbor. // Rather than probe the neighbor immediately, however, // delay sending probes for a short while in order to // give upper-layer protocols a chance to provide // reachability confirmation. InterfacesState_Interface_Ipv6_Neighbor_State_delay InterfacesState_Interface_Ipv6_Neighbor_State = "delay" // The neighbor is no longer known to be reachable, and // unicast Neighbor Solicitation probes are being sent // to verify reachability. InterfacesState_Interface_Ipv6_Neighbor_State_probe InterfacesState_Interface_Ipv6_Neighbor_State = "probe" )
type InterfacesState_Interface_OperStatus ¶
type InterfacesState_Interface_OperStatus string
InterfacesState_Interface_OperStatus represents This leaf has the same semantics as ifOperStatus.
const ( // Ready to pass packets. InterfacesState_Interface_OperStatus_up InterfacesState_Interface_OperStatus = "up" // The interface does not pass any packets. InterfacesState_Interface_OperStatus_down InterfacesState_Interface_OperStatus = "down" // In some test mode. No operational packets can // be passed. InterfacesState_Interface_OperStatus_testing InterfacesState_Interface_OperStatus = "testing" // Status cannot be determined for some reason. InterfacesState_Interface_OperStatus_unknown InterfacesState_Interface_OperStatus = "unknown" // Waiting for some external event. InterfacesState_Interface_OperStatus_dormant InterfacesState_Interface_OperStatus = "dormant" // Some component (typically hardware) is missing. InterfacesState_Interface_OperStatus_not_present InterfacesState_Interface_OperStatus = "not-present" // Down due to state of lower-layer interface(s). InterfacesState_Interface_OperStatus_lower_layer_down InterfacesState_Interface_OperStatus = "lower-layer-down" )
type InterfacesState_Interface_Statistics ¶
type InterfacesState_Interface_Statistics struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The time on the most recent occasion at which any one or more of this // interface's counters suffered a discontinuity. If no such discontinuities // have occurred since the last re-initialization of the local management // subsystem, then this node contains the time the local management subsystem // re-initialized itself. The type is string with pattern: // \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[\+\-]\d{2}:\d{2}). This // attribute is mandatory. DiscontinuityTime interface{} // The total number of octets received on the interface, including framing // characters. Discontinuities in the value of this counter can occur at // re-initialization of the management system, and at other times as indicated // by the value of 'discontinuity-time'. The type is interface{} with range: // 0..18446744073709551615. InOctets interface{} // The number of packets, delivered by this sub-layer to a higher (sub-)layer, // that were not addressed to a multicast or broadcast address at this // sub-layer. Discontinuities in the value of this counter can occur at // re-initialization of the management system, and at other times as indicated // by the value of 'discontinuity-time'. The type is interface{} with range: // 0..18446744073709551615. InUnicastPkts interface{} // The number of packets, delivered by this sub-layer to a higher (sub-)layer, // that were addressed to a broadcast address at this sub-layer. // Discontinuities in the value of this counter can occur at re-initialization // of the management system, and at other times as indicated by the value of // 'discontinuity-time'. The type is interface{} with range: // 0..18446744073709551615. InBroadcastPkts interface{} // The number of packets, delivered by this sub-layer to a higher (sub-)layer, // that were addressed to a multicast address at this sub-layer. For a // MAC-layer protocol, this includes both Group and Functional addresses. // Discontinuities in the value of this counter can occur at re-initialization // of the management system, and at other times as indicated by the value of // 'discontinuity-time'. The type is interface{} with range: // 0..18446744073709551615. InMulticastPkts interface{} // The number of inbound packets that were chosen to be discarded even though // no errors had been detected to prevent their being deliverable to a // higher-layer protocol. One possible reason for discarding such a packet // could be to free up buffer space. Discontinuities in the value of this // counter can occur at re-initialization of the management system, and at // other times as indicated by the value of 'discontinuity-time'. The type is // interface{} with range: 0..4294967295. InDiscards interface{} // For packet-oriented interfaces, the number of inbound packets that // contained errors preventing them from being deliverable to a higher-layer // protocol. For character- oriented or fixed-length interfaces, the number // of inbound transmission units that contained errors preventing them from // being deliverable to a higher-layer protocol. Discontinuities in the value // of this counter can occur at re-initialization of the management system, // and at other times as indicated by the value of 'discontinuity-time'. The // type is interface{} with range: 0..4294967295. InErrors interface{} // For packet-oriented interfaces, the number of packets received via the // interface that were discarded because of an unknown or unsupported // protocol. For character-oriented or fixed-length interfaces that support // protocol multiplexing, the number of transmission units received via the // interface that were discarded because of an unknown or unsupported // protocol. For any interface that does not support protocol multiplexing, // this counter is not present. Discontinuities in the value of this counter // can occur at re-initialization of the management system, and at other times // as indicated by the value of 'discontinuity-time'. The type is interface{} // with range: 0..4294967295. InUnknownProtos interface{} // The total number of octets transmitted out of the interface, including // framing characters. Discontinuities in the value of this counter can occur // at re-initialization of the management system, and at other times as // indicated by the value of 'discontinuity-time'. The type is interface{} // with range: 0..18446744073709551615. OutOctets interface{} // The total number of packets that higher-level protocols requested be // transmitted, and that were not addressed to a multicast or broadcast // address at this sub-layer, including those that were discarded or not sent. // Discontinuities in the value of this counter can occur at re-initialization // of the management system, and at other times as indicated by the value of // 'discontinuity-time'. The type is interface{} with range: // 0..18446744073709551615. OutUnicastPkts interface{} // The total number of packets that higher-level protocols requested be // transmitted, and that were addressed to a broadcast address at this // sub-layer, including those that were discarded or not sent. // Discontinuities in the value of this counter can occur at re-initialization // of the management system, and at other times as indicated by the value of // 'discontinuity-time'. The type is interface{} with range: // 0..18446744073709551615. OutBroadcastPkts interface{} // The total number of packets that higher-level protocols requested be // transmitted, and that were addressed to a multicast address at this // sub-layer, including those that were discarded or not sent. For a // MAC-layer protocol, this includes both Group and Functional addresses. // Discontinuities in the value of this counter can occur at re-initialization // of the management system, and at other times as indicated by the value of // 'discontinuity-time'. The type is interface{} with range: // 0..18446744073709551615. OutMulticastPkts interface{} // The number of outbound packets that were chosen to be discarded even though // no errors had been detected to prevent their being transmitted. One // possible reason for discarding such a packet could be to free up buffer // space. Discontinuities in the value of this counter can occur at // re-initialization of the management system, and at other times as indicated // by the value of 'discontinuity-time'. The type is interface{} with range: // 0..4294967295. OutDiscards interface{} // For packet-oriented interfaces, the number of outbound packets that could // not be transmitted because of errors. For character-oriented or // fixed-length interfaces, the number of outbound transmission units that // could not be transmitted because of errors. Discontinuities in the value // of this counter can occur at re-initialization of the management system, // and at other times as indicated by the value of 'discontinuity-time'. The // type is interface{} with range: 0..4294967295. OutErrors interface{} // total packets input. The type is interface{} with range: // 0..18446744073709551615. InPkts interface{} // total packets output. The type is interface{} with range: // 0..18446744073709551615. OutPkts interface{} }
InterfacesState_Interface_Statistics A collection of interface-related statistics objects.
func (*InterfacesState_Interface_Statistics) GetEntityData ¶
func (statistics *InterfacesState_Interface_Statistics) GetEntityData() *types.CommonEntityData
type Interfaces_Interface ¶
type Interfaces_Interface struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The name of the interface. A device MAY restrict // the allowed values for this leaf, possibly depending on the type of the // interface. For system-controlled interfaces, this leaf is the // device-specific name of the interface. The 'config false' list // /interfaces-state/interface contains the currently existing interfaces on // the device. If a client tries to create configuration for a // system-controlled interface that is not present in the // /interfaces-state/interface list, the server MAY reject the request if the // implementation does not support pre-provisioning of interfaces or if the // name refers to an interface that can never exist in the system. A NETCONF // server MUST reply with an rpc-error with the error-tag 'invalid-value' in // this case. If the device supports pre-provisioning of interface // configuration, the 'pre-provisioning' feature is advertised. If the device // allows arbitrarily named user-controlled interfaces, the 'arbitrary-names' // feature is advertised. When a configured user-controlled interface is // created by the system, it is instantiated with the same name in the // /interface-state/interface list. The type is string. Name interface{} // A textual description of the interface. A server implementation MAY map // this leaf to the ifAlias MIB object. Such an implementation needs to use // some mechanism to handle the differences in size and characters allowed // between this leaf and ifAlias. The definition of such a mechanism is // outside the scope of this document. Since ifAlias is defined to be stored // in non-volatile storage, the MIB implementation MUST map ifAlias to the // value of 'description' in the persistently stored datastore. Specifically, // if the device supports ':startup', when ifAlias is read the device MUST // return the value of 'description' in the 'startup' datastore, and when it // is written, it MUST be written to the 'running' and 'startup' datastores. // Note that it is up to the implementation to decide whether to modify this // single leaf in 'startup' or perform an implicit copy-config from 'running' // to 'startup'. If the device does not support ':startup', ifAlias MUST be // mapped to the 'description' leaf in the 'running' datastore. The type is // string. Description interface{} // The type of the interface. When an interface entry is created, a server // MAY initialize the type leaf with a valid value, e.g., if it is possible to // derive the type from the name of the interface. If a client tries to set // the type of an interface to a value that can never be used by the system, // e.g., if the type is not supported or if the type does not match the name // of the interface, the server MUST reject the request. A NETCONF server MUST // reply with an rpc-error with the error-tag 'invalid-value' in this case. // The type is one of the following: // IanaInterfaceTypeVoiceFXOAtmVciEndPtPropBWAp2MpPropDocsWirelessDownstreamV11SoftwareLoopbackHdlcVoiceFGDOSFastEtherFXDvbTdmNfasIfPwTypeL2vlanAdsl2plusIeee802154VoiceFXSDvbRcsMacLayerIdslInfinibandDdnX25WwanPP2DocsCableUpstreamEthernet3MbitDigitalPowerlineH323ProxyGtpIpOverAtmAluEponImtIpSwitchMsdslDvbRccMacLayerSmdsDxiVoiceOverAtmArapFastEtherMpcLinegroupHippiRprDs1FDLSonetVTVoiceEncapSs7SigLinkArcnetActelisMetaLOOPQllcRfc877x25MpegTransportX25mlpVirtualTgHostPadStarLanIso88025DtrIbm370parChanAdsl2OtnOtuPropWirelessP2PInterleaveIsupRegular1822Gr303RDTPropDocsWirelessMaclayerAsyncRadioMACOpticalChannelGroupSixToFourPropDocsWirelessUpstreamQ2931FddiPropCnlsAal2DvbAsiOutAluELPCiscoISLvlanDocsCableUpstreamRfPortAal5FrDlciEndPtHippiInterfaceL3ipvlanMiox25HssiAtmVirtualAluGponOnuRfc1483CnrSipSigMyrinetDlswGigabitEthernetX25pleLmpOpticalTransportSdlcVoiceEMX86LapsG9982Iso88022llcDvbAsiInBgppolicyaccountingAluEponOnuMfSigLinkDcnAtmDxiVoiceOverFrameRelayGfpSonetOverheadChannelVmwareVirtualNicFcipLinkIpOverClawCoffeeRadslVdsl2Rs232E1ReachDSLVoiceOverCableTr008VoiceOverIpAtmDs3Ds0Ds1SrpDocsCableDownstreamDvbRcsTdmaG9983PlcFrameRelayMPIMvlPropMultiplexorVoiceDIDCompositeLinkProteon10MbitAtmbondFrf16MfrBundleCctEmulMplsTunnelGponVdslPosIeee8023adLagDocsCableMaclayerDocsCableMCmtsDownstreamPppFrameRelayEplrsVmwareNicTeamCableDownstreamRfPortMacSecUncontrolledIFIso88023CsmacdUsbAtmFuniTeLinkPon622EconetTdlcDs0BundleFastIeee1394CblVectaStarRsrbFrameRelayInterconnectIsdnsPppMultilinkBundleAflane8025LapbAflane8023LapdIsdnuLapfCapwapWtpVirtualRadioIfVfiTypeX25huntGroupParaMacSecControlledIFIso88024TokenBusLocalTalkHyperchannelMediaMailOverIpIfGsnCapwapDot11ProfileL3ipxvlanAtmSubInterfacePrimaryISDNProteon80MbitIso88026ManDigitalWrapperOverheadChannelDocsCableUpstreamChannelOpticalChannelEthernetCsmacdBitsTunnelHdsl2FrameRelayServiceMplsIeee80211Ieee80212MocaVersion1SonetEsconAluEponLogicalLinkG703at2mbUltraDvbRccDownstreamSipTgSmdsIcipBridgeAtmLogicalPropPointToPointSerialV35V36V37IpGr303IDTBasicISDNG703at64kArcnetPlusPipDtmSlipHiperlan2AdslIeee80216WMANAtmImaIsdnCapwapDot11BssSipPdnEtherLoop2VoiceEBSIpForwardIso88025CRFPIntPropVirtualWwanPPOtherPon155QamOtnOduIso88025FiberChannelVoiceEMFGDAluGponPhysicalUniA12MppSwitchIlanPdnEtherLoop1X213SonetPathVoiceFGDEANAIso88025TokenRingPropAtmAluEponPhysicalUniStackToStackFrForwardHomepnaSdslVirtualIpAddressBscAtmRadioAviciOpticalEtherG9981FibreChannelShdslEonH323GatekeeperHdh1822DvbRccUpstreamNsipTranspHdlcTermPadIpOverCdlcCesModem. // This attribute is mandatory. Type interface{} // This leaf contains the configured, desired state of the interface. Systems // that implement the IF-MIB use the value of this leaf in the 'running' // datastore to set IF-MIB.ifAdminStatus to 'up' or 'down' after an ifEntry // has been initialized, as described in RFC 2863. Changes in this leaf in // the 'running' datastore are reflected in ifAdminStatus, but if // ifAdminStatus is changed over SNMP, this leaf is not affected. The type is // bool. The default value is true. Enabled interface{} // Controls whether linkUp/linkDown SNMP notifications should be generated for // this interface. If this node is not configured, the value 'enabled' is // operationally used by the server for interfaces that do not operate on top // of any other interface (i.e., there are no 'lower-layer-if' entries), and // 'disabled' otherwise. The type is LinkUpDownTrapEnable. LinkUpDownTrapEnable interface{} // Parameters for the IPv4 address family. Ipv4 Interfaces_Interface_Ipv4 // Parameters for the IPv6 address family. Ipv6 Interfaces_Interface_Ipv6 // policy target for inbound or outbound direction. The type is slice of // Interfaces_Interface_DiffservTargetEntry. DiffservTargetEntry []*Interfaces_Interface_DiffservTargetEntry }
Interfaces_Interface The list of configured interfaces on the device.
The operational state of an interface is available in the /interfaces-state/interface list. If the configuration of a system-controlled interface cannot be used by the system (e.g., the interface hardware present does not match the interface type), then the configuration is not applied to the system-controlled interface shown in the /interfaces-state/interface list. If the configuration of a user-controlled interface cannot be used by the system, the configured interface is not instantiated in the /interfaces-state/interface list.
func (*Interfaces_Interface) GetEntityData ¶
func (self *Interfaces_Interface) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_DiffservTargetEntry ¶
type Interfaces_Interface_DiffservTargetEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Direction fo the traffic flow either inbound or // outbound. The type is one of the following: InboundOutbound. Direction interface{} // This attribute is a key. Policy entry name. The type is string. PolicyName interface{} }
Interfaces_Interface_DiffservTargetEntry policy target for inbound or outbound direction
func (*Interfaces_Interface_DiffservTargetEntry) GetEntityData ¶
func (diffservTargetEntry *Interfaces_Interface_DiffservTargetEntry) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ipv4 ¶
type Interfaces_Interface_Ipv4 struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // Controls whether IPv4 is enabled or disabled on this interface. When IPv4 // is enabled, this interface is connected to an IPv4 stack, and the interface // can send and receive IPv4 packets. The type is bool. The default value is // true. Enabled interface{} // Controls IPv4 packet forwarding of datagrams received by, but not addressed // to, this interface. IPv4 routers forward datagrams. IPv4 hosts do not // (except those source-routed via the host). The type is bool. The default // value is false. Forwarding interface{} // The size, in octets, of the largest IPv4 packet that the interface will // send and receive. The server may restrict the allowed values for this leaf, // depending on the interface's type. If this leaf is not configured, the // operationally used MTU depends on the interface's type. The type is // interface{} with range: 68..65535. Units are octets. Mtu interface{} // The list of configured IPv4 addresses on the interface. The type is slice // of Interfaces_Interface_Ipv4_Address. Address []*Interfaces_Interface_Ipv4_Address // A list of mappings from IPv4 addresses to link-layer addresses. Entries in // this list are used as static entries in the ARP Cache. The type is slice of // Interfaces_Interface_Ipv4_Neighbor. Neighbor []*Interfaces_Interface_Ipv4_Neighbor }
Interfaces_Interface_Ipv4 Parameters for the IPv4 address family. This type is a presence type.
func (*Interfaces_Interface_Ipv4) GetEntityData ¶
func (ipv4 *Interfaces_Interface_Ipv4) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ipv4_Address ¶
type Interfaces_Interface_Ipv4_Address struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The IPv4 address on the interface. The type is // string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. Ip interface{} // The length of the subnet prefix. The type is interface{} with range: 0..32. PrefixLength interface{} // The subnet specified as a netmask. The type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]). Netmask interface{} }
Interfaces_Interface_Ipv4_Address The list of configured IPv4 addresses on the interface.
func (*Interfaces_Interface_Ipv4_Address) GetEntityData ¶
func (address *Interfaces_Interface_Ipv4_Address) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ipv4_Neighbor ¶
type Interfaces_Interface_Ipv4_Neighbor struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The IPv4 address of the neighbor node. The type is // string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. Ip interface{} // The link-layer address of the neighbor node. The type is string with // pattern: ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2})*)?. This attribute is mandatory. LinkLayerAddress interface{} }
Interfaces_Interface_Ipv4_Neighbor A list of mappings from IPv4 addresses to link-layer addresses. Entries in this list are used as static entries in the ARP Cache.
func (*Interfaces_Interface_Ipv4_Neighbor) GetEntityData ¶
func (neighbor *Interfaces_Interface_Ipv4_Neighbor) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ipv6 ¶
type Interfaces_Interface_Ipv6 struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // Controls whether IPv6 is enabled or disabled on this interface. When IPv6 // is enabled, this interface is connected to an IPv6 stack, and the interface // can send and receive IPv6 packets. The type is bool. The default value is // true. Enabled interface{} // Controls IPv6 packet forwarding of datagrams received by, but not addressed // to, this interface. IPv6 routers forward datagrams. IPv6 hosts do not // (except those source-routed via the host). The type is bool. The default // value is false. Forwarding interface{} // The size, in octets, of the largest IPv6 packet that the interface will // send and receive. The server may restrict the allowed values for this leaf, // depending on the interface's type. If this leaf is not configured, the // operationally used MTU depends on the interface's type. The type is // interface{} with range: 1280..4294967295. Units are octets. Mtu interface{} // The number of consecutive Neighbor Solicitation messages sent while // performing Duplicate Address Detection on a tentative address. A value of // zero indicates that Duplicate Address Detection is not performed on // tentative addresses. A value of one indicates a single transmission with // no follow-up retransmissions. The type is interface{} with range: // 0..4294967295. The default value is 1. DupAddrDetectTransmits interface{} // The list of configured IPv6 addresses on the interface. The type is slice // of Interfaces_Interface_Ipv6_Address. Address []*Interfaces_Interface_Ipv6_Address // A list of mappings from IPv6 addresses to link-layer addresses. Entries in // this list are used as static entries in the Neighbor Cache. The type is // slice of Interfaces_Interface_Ipv6_Neighbor. Neighbor []*Interfaces_Interface_Ipv6_Neighbor // Parameters to control the autoconfiguration of IPv6 addresses, as described // in RFC 4862. Autoconf Interfaces_Interface_Ipv6_Autoconf // Configuration of IPv6 Router Advertisements. Ipv6RouterAdvertisements Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements }
Interfaces_Interface_Ipv6 Parameters for the IPv6 address family. This type is a presence type.
func (*Interfaces_Interface_Ipv6) GetEntityData ¶
func (ipv6 *Interfaces_Interface_Ipv6) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ipv6_Address ¶
type Interfaces_Interface_Ipv6_Address struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The IPv6 address on the interface. The type is // string with pattern: // ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?. Ip interface{} // The length of the subnet prefix. The type is interface{} with range: // 0..128. This attribute is mandatory. PrefixLength interface{} }
Interfaces_Interface_Ipv6_Address The list of configured IPv6 addresses on the interface.
func (*Interfaces_Interface_Ipv6_Address) GetEntityData ¶
func (address *Interfaces_Interface_Ipv6_Address) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ipv6_Autoconf ¶
type Interfaces_Interface_Ipv6_Autoconf struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // If enabled, the host creates global addresses as described in RFC 4862. The // type is bool. The default value is true. CreateGlobalAddresses interface{} // If enabled, the host creates temporary addresses as described in RFC 4941. // The type is bool. The default value is false. CreateTemporaryAddresses interface{} // The time period during which the temporary address is valid. The type is // interface{} with range: 0..4294967295. Units are seconds. The default value // is 604800. TemporaryValidLifetime interface{} // The time period during which the temporary address is preferred. The type // is interface{} with range: 0..4294967295. Units are seconds. The default // value is 86400. TemporaryPreferredLifetime interface{} }
Interfaces_Interface_Ipv6_Autoconf Parameters to control the autoconfiguration of IPv6 addresses, as described in RFC 4862.
func (*Interfaces_Interface_Ipv6_Autoconf) GetEntityData ¶
func (autoconf *Interfaces_Interface_Ipv6_Autoconf) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements ¶
type Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // A flag indicating whether or not the router sends periodic Router // Advertisements and responds to Router Solicitations. The type is bool. The // default value is false. SendAdvertisements interface{} // The maximum time allowed between sending unsolicited multicast Router // Advertisements from the interface. The type is interface{} with range: // 4..1800. Units are seconds. The default value is 600. MaxRtrAdvInterval interface{} // The minimum time allowed between sending unsolicited multicast Router // Advertisements from the interface. The default value to be used // operationally if this leaf is not configured is determined as follows: - // if max-rtr-adv-interval >= 9 seconds, the default value is 0.33 * // max-rtr-adv-interval; - otherwise it is 0.75 * max-rtr-adv-interval. The // type is interface{} with range: 3..1350. Units are seconds. MinRtrAdvInterval interface{} // The value to be placed in the 'Managed address configuration' flag field in // the Router Advertisement. The type is bool. The default value is false. ManagedFlag interface{} // The value to be placed in the 'Other configuration' flag field in the // Router Advertisement. The type is bool. The default value is false. OtherConfigFlag interface{} // The value to be placed in MTU options sent by the router. A value of zero // indicates that no MTU options are sent. The type is interface{} with range: // 0..4294967295. The default value is 0. LinkMtu interface{} // The value to be placed in the Reachable Time field in the Router // Advertisement messages sent by the router. A value of zero means // unspecified (by this router). The type is interface{} with range: // 0..3600000. Units are milliseconds. The default value is 0. ReachableTime interface{} // The value to be placed in the Retrans Timer field in the Router // Advertisement messages sent by the router. A value of zero means // unspecified (by this router). The type is interface{} with range: // 0..4294967295. Units are milliseconds. The default value is 0. RetransTimer interface{} // The value to be placed in the Cur Hop Limit field in the Router // Advertisement messages sent by the router. A value of zero means // unspecified (by this router). If this parameter is not configured, the // device SHOULD use the value specified in IANA Assigned Numbers that was in // effect at the time of implementation. The type is interface{} with range: // 0..255. CurHopLimit interface{} // The value to be placed in the Router Lifetime field of Router // Advertisements sent from the interface, in seconds. It MUST be either zero // or between max-rtr-adv-interval and 9000 seconds. A value of zero indicates // that the router is not to be used as a default router. These limits may be // overridden by specific documents that describe how IPv6 operates over // different link layers. If this parameter is not configured, the device // SHOULD use a value of 3 * max-rtr-adv-interval. The type is interface{} // with range: 0..9000. Units are seconds. DefaultLifetime interface{} // Configuration of prefixes to be placed in Prefix Information options in // Router Advertisement messages sent from the interface. Prefixes that are // advertised by default but do not have their entries in the child 'prefix' // list are advertised with the default values of all parameters. The // link-local prefix SHOULD NOT be included in the list of advertised // prefixes. PrefixList Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements_PrefixList }
Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements Configuration of IPv6 Router Advertisements.
func (*Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements) GetEntityData ¶
func (ipv6RouterAdvertisements *Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements_PrefixList ¶
type Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements_PrefixList struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration of an advertised prefix entry. The type is slice of // Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements_PrefixList_Prefix. Prefix []*Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements_PrefixList_Prefix }
Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements_PrefixList Configuration of prefixes to be placed in Prefix Information options in Router Advertisement messages sent from the interface.
Prefixes that are advertised by default but do not have their entries in the child 'prefix' list are advertised with the default values of all parameters.
The link-local prefix SHOULD NOT be included in the list of advertised prefixes.
func (*Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements_PrefixList) GetEntityData ¶
func (prefixList *Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements_PrefixList) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements_PrefixList_Prefix ¶
type Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements_PrefixList_Prefix struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. IPv6 address prefix. The type is string with // pattern: // ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8]))). PrefixSpec interface{} // The prefix will not be advertised. This can be used for removing the // prefix from the default set of advertised prefixes. The type is // interface{}. NoAdvertise interface{} // The value to be placed in the Valid Lifetime in the Prefix Information // option. The designated value of all 1's (0xffffffff) represents infinity. // The type is interface{} with range: 0..4294967295. Units are seconds. The // default value is 2592000. ValidLifetime interface{} // The value to be placed in the on-link flag ('L-bit') field in the Prefix // Information option. The type is bool. The default value is true. OnLinkFlag interface{} // The value to be placed in the Preferred Lifetime in the Prefix Information // option. The designated value of all 1's (0xffffffff) represents infinity. // The type is interface{} with range: 0..4294967295. Units are seconds. The // default value is 604800. PreferredLifetime interface{} // The value to be placed in the Autonomous Flag field in the Prefix // Information option. The type is bool. The default value is true. AutonomousFlag interface{} }
Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements_PrefixList_Prefix Configuration of an advertised prefix entry.
func (*Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements_PrefixList_Prefix) GetEntityData ¶
func (prefix *Interfaces_Interface_Ipv6_Ipv6RouterAdvertisements_PrefixList_Prefix) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ipv6_Neighbor ¶
type Interfaces_Interface_Ipv6_Neighbor struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The IPv6 address of the neighbor node. The type is // string with pattern: // ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?. Ip interface{} // The link-layer address of the neighbor node. The type is string with // pattern: ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2})*)?. This attribute is mandatory. LinkLayerAddress interface{} }
Interfaces_Interface_Ipv6_Neighbor A list of mappings from IPv6 addresses to link-layer addresses. Entries in this list are used as static entries in the Neighbor Cache.
func (*Interfaces_Interface_Ipv6_Neighbor) GetEntityData ¶
func (neighbor *Interfaces_Interface_Ipv6_Neighbor) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_LinkUpDownTrapEnable ¶
type Interfaces_Interface_LinkUpDownTrapEnable string
Interfaces_Interface_LinkUpDownTrapEnable represents no 'lower-layer-if' entries), and 'disabled' otherwise.
const ( Interfaces_Interface_LinkUpDownTrapEnable_enabled Interfaces_Interface_LinkUpDownTrapEnable = "enabled" Interfaces_Interface_LinkUpDownTrapEnable_disabled Interfaces_Interface_LinkUpDownTrapEnable = "disabled" )