Documentation ¶
Overview ¶
Model for managing network interfaces and subinterfaces. This module also defines convenience types / groupings for other models to create references to interfaces:
base-interface-ref (type) - reference to a base interface interface-ref (grouping) - container for reference to a interface + subinterface interface-ref-state (grouping) - container for read-only (opstate) reference to interface + subinterface
This model reuses data items defined in the IETF YANG model for interfaces described by RFC 7223 with an alternate structure (particularly for operational state data) and and with additional configuration items.
Index ¶
- type Interfaces
- type Interfaces_Interface
- type Interfaces_Interface_Aggregation
- type Interfaces_Interface_Aggregation_Config
- type Interfaces_Interface_Aggregation_State
- type Interfaces_Interface_Aggregation_SwitchedVlan
- type Interfaces_Interface_Aggregation_SwitchedVlan_Config
- type Interfaces_Interface_Aggregation_SwitchedVlan_State
- type Interfaces_Interface_Config
- type Interfaces_Interface_Ethernet
- type Interfaces_Interface_Ethernet_Config
- type Interfaces_Interface_Ethernet_Config_DuplexMode
- type Interfaces_Interface_Ethernet_State
- type Interfaces_Interface_Ethernet_State_Counters
- type Interfaces_Interface_Ethernet_State_DuplexMode
- type Interfaces_Interface_Ethernet_SwitchedVlan
- type Interfaces_Interface_Ethernet_SwitchedVlan_Config
- type Interfaces_Interface_Ethernet_SwitchedVlan_State
- type Interfaces_Interface_HoldTime
- type Interfaces_Interface_HoldTime_Config
- type Interfaces_Interface_HoldTime_State
- type Interfaces_Interface_RoutedVlan
- type Interfaces_Interface_RoutedVlan_Config
- type Interfaces_Interface_RoutedVlan_Ipv4
- type Interfaces_Interface_RoutedVlan_Ipv4_Addresses
- type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address
- type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Config
- type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_State
- type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp
- type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup
- type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config
- type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking
- type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config
- type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State
- type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_State
- type Interfaces_Interface_RoutedVlan_Ipv4_Config
- type Interfaces_Interface_RoutedVlan_Ipv4_Neighbors
- type Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor
- type Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor_Config
- type Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor_State
- type Interfaces_Interface_RoutedVlan_Ipv4_State
- type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered
- type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_Config
- type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef
- type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef_Config
- type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef_State
- type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_State
- type Interfaces_Interface_RoutedVlan_Ipv6
- type Interfaces_Interface_RoutedVlan_Ipv6_Addresses
- type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address
- type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Config
- type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State
- type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status
- type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp
- type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup
- type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config
- type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking
- type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config
- type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State
- type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_State
- type Interfaces_Interface_RoutedVlan_Ipv6_Config
- type Interfaces_Interface_RoutedVlan_Ipv6_Neighbors
- type Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor
- type Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_Config
- type Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State
- type Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State_NeighborState
- type Interfaces_Interface_RoutedVlan_Ipv6_State
- type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered
- type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_Config
- type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef
- type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef_Config
- type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef_State
- type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_State
- type Interfaces_Interface_RoutedVlan_State
- type Interfaces_Interface_Sonet
- type Interfaces_Interface_State
- type Interfaces_Interface_State_AdminStatus
- type Interfaces_Interface_State_Counters
- type Interfaces_Interface_State_OperStatus
- type Interfaces_Interface_Subinterfaces
- type Interfaces_Interface_Subinterfaces_Subinterface
- type Interfaces_Interface_Subinterfaces_Subinterface_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_State
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_State
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor_State
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_State
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef_State
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_State
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_State
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State_NeighborState
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_State
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef_State
- type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_State
- type Interfaces_Interface_Subinterfaces_Subinterface_State
- type Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus
- type Interfaces_Interface_Subinterfaces_Subinterface_State_Counters
- type Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus
- type Interfaces_Interface_Subinterfaces_Subinterface_Vlan
- type Interfaces_Interface_Subinterfaces_Subinterface_Vlan_Config
- type Interfaces_Interface_Subinterfaces_Subinterface_Vlan_State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interfaces ¶
type Interfaces struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The list of named interfaces on the device. The type is slice of // Interfaces_Interface. Interface []*Interfaces_Interface }
Interfaces Top level container for interfaces, including configuration and state data.
func (*Interfaces) GetEntityData ¶
func (interfaces *Interfaces) GetEntityData() *types.CommonEntityData
type Interfaces_Interface ¶
type Interfaces_Interface struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. References the configured name of the interface. // The type is string. Refers to interfaces.Interfaces_Interface_Config_Name Name interface{} // Configurable items at the global, physical interface level. Config Interfaces_Interface_Config // Operational state data at the global interface level. State Interfaces_Interface_State // Top-level container for hold-time settings to enable dampening // advertisements of interface transitions. HoldTime Interfaces_Interface_HoldTime // Enclosing container for the list of subinterfaces associated with a // physical interface. Subinterfaces Interfaces_Interface_Subinterfaces // Top-level container for ethernet configuration and state. Ethernet Interfaces_Interface_Ethernet // Options for logical interfaces representing aggregates. Aggregation Interfaces_Interface_Aggregation // Top-level container for routed vlan interfaces. These logical interfaces // are also known as SVI (switched virtual interface), IRB (integrated routing // and bridging), RVI (routed VLAN interface). RoutedVlan Interfaces_Interface_RoutedVlan // Data related to SONET/SDH interfaces. Sonet Interfaces_Interface_Sonet }
Interfaces_Interface The list of named interfaces on the device.
func (*Interfaces_Interface) GetEntityData ¶
func (self *Interfaces_Interface) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Aggregation ¶
type Interfaces_Interface_Aggregation struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration variables for logical aggregate / LAG interfaces. Config Interfaces_Interface_Aggregation_Config // Operational state variables for logical aggregate / LAG interfaces. State Interfaces_Interface_Aggregation_State // Enclosing container for VLAN interface-specific data on Ethernet // interfaces. These are for standard L2, switched-style VLANs. SwitchedVlan Interfaces_Interface_Aggregation_SwitchedVlan }
Interfaces_Interface_Aggregation Options for logical interfaces representing aggregates
func (*Interfaces_Interface_Aggregation) GetEntityData ¶
func (aggregation *Interfaces_Interface_Aggregation) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Aggregation_Config ¶
type Interfaces_Interface_Aggregation_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Sets the type of LAG, i.e., how it is configured / maintained. The type is // AggregationType. LagType interface{} // Specifies the mininum number of member interfaces that must be active for // the aggregate interface to be available. The type is interface{} with // range: 0..65535. MinLinks interface{} }
Interfaces_Interface_Aggregation_Config Configuration variables for logical aggregate / LAG interfaces
func (*Interfaces_Interface_Aggregation_Config) GetEntityData ¶
func (config *Interfaces_Interface_Aggregation_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Aggregation_State ¶
type Interfaces_Interface_Aggregation_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Sets the type of LAG, i.e., how it is configured / maintained. The type is // AggregationType. LagType interface{} // Specifies the mininum number of member interfaces that must be active for // the aggregate interface to be available. The type is interface{} with // range: 0..65535. MinLinks interface{} // Reports effective speed of the aggregate interface, based on speed of // active member interfaces. The type is interface{} with range: // 0..4294967295. Units are Mbps. LagSpeed interface{} // List of current member interfaces for the aggregate, expressed as // references to existing interfaces. The type is slice of string. Refers to // interfaces.Interfaces_Interface_Name Member []interface{} }
Interfaces_Interface_Aggregation_State Operational state variables for logical aggregate / LAG interfaces
func (*Interfaces_Interface_Aggregation_State) GetEntityData ¶
func (state *Interfaces_Interface_Aggregation_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Aggregation_SwitchedVlan ¶
type Interfaces_Interface_Aggregation_SwitchedVlan struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration parameters for VLANs. Config Interfaces_Interface_Aggregation_SwitchedVlan_Config // State variables for VLANs. State Interfaces_Interface_Aggregation_SwitchedVlan_State }
Interfaces_Interface_Aggregation_SwitchedVlan Enclosing container for VLAN interface-specific data on Ethernet interfaces. These are for standard L2, switched-style VLANs.
func (*Interfaces_Interface_Aggregation_SwitchedVlan) GetEntityData ¶
func (switchedVlan *Interfaces_Interface_Aggregation_SwitchedVlan) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Aggregation_SwitchedVlan_Config ¶
type Interfaces_Interface_Aggregation_SwitchedVlan_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Set the interface to access or trunk mode for VLANs. The type is // VlanModeType. InterfaceMode interface{} // Set the native VLAN id for untagged frames arriving on a trunk interface. // This configuration is only valid on a trunk interface. The type is one of // the following types: int with range: 1..4094, or string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$. NativeVlan interface{} // Assign the access vlan to the access port. The type is one of the following // types: int with range: 1..4094, or string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$. AccessVlan interface{} // Specify VLANs, or ranges thereof, that the interface may carry when in // trunk mode. If not specified, all VLANs are allowed on the interface. // Ranges are specified in the form x..y, where x<y - ranges are assumed to be // inclusive (such that the VLAN range is x <= range <= y. The type is one of // the following types: slice of int with range: 1..4094, or slice of string // with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$, // or slice of string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$, // or slice of string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$, // or slice of string with pattern: // ^(\*|(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9]))\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$.. TrunkVlans []interface{} }
Interfaces_Interface_Aggregation_SwitchedVlan_Config Configuration parameters for VLANs
func (*Interfaces_Interface_Aggregation_SwitchedVlan_Config) GetEntityData ¶
func (config *Interfaces_Interface_Aggregation_SwitchedVlan_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Aggregation_SwitchedVlan_State ¶
type Interfaces_Interface_Aggregation_SwitchedVlan_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Set the interface to access or trunk mode for VLANs. The type is // VlanModeType. InterfaceMode interface{} // Set the native VLAN id for untagged frames arriving on a trunk interface. // This configuration is only valid on a trunk interface. The type is one of // the following types: int with range: 1..4094, or string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$. NativeVlan interface{} // Assign the access vlan to the access port. The type is one of the following // types: int with range: 1..4094, or string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$. AccessVlan interface{} // Specify VLANs, or ranges thereof, that the interface may carry when in // trunk mode. If not specified, all VLANs are allowed on the interface. // Ranges are specified in the form x..y, where x<y - ranges are assumed to be // inclusive (such that the VLAN range is x <= range <= y. The type is one of // the following types: slice of int with range: 1..4094, or slice of string // with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$, // or slice of string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$, // or slice of string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$, // or slice of string with pattern: // ^(\*|(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9]))\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$.. TrunkVlans []interface{} }
Interfaces_Interface_Aggregation_SwitchedVlan_State State variables for VLANs
func (*Interfaces_Interface_Aggregation_SwitchedVlan_State) GetEntityData ¶
func (state *Interfaces_Interface_Aggregation_SwitchedVlan_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Config ¶
type Interfaces_Interface_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF interfaces model (RFC 7223)] 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: InterfaceType. This attribute is mandatory. Type interface{} // Set the max transmission unit size in octets for the physical interface. // If this is not set, the mtu is set to the operational default -- e.g., 1514 // bytes on an Ethernet interface. The type is interface{} with range: // 0..65535. Mtu interface{} // [adapted from IETF interfaces model (RFC 7223)] 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/interface[name]/state 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 corresponding state // 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. The // IETF model in RFC 7223 provides YANG features for the following (i.e., // pre-provisioning and arbitrary-names), however they are omitted here: 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 // /interfaces/interface[name]/state list. The type is string. Name interface{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] 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{} }
Interfaces_Interface_Config Configurable items at the global, physical interface level
func (*Interfaces_Interface_Config) GetEntityData ¶
func (config *Interfaces_Interface_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ethernet ¶
type Interfaces_Interface_Ethernet struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration data for ethernet interfaces. Config Interfaces_Interface_Ethernet_Config // State variables for Ethernet interfaces. State Interfaces_Interface_Ethernet_State // Enclosing container for VLAN interface-specific data on Ethernet // interfaces. These are for standard L2, switched-style VLANs. SwitchedVlan Interfaces_Interface_Ethernet_SwitchedVlan }
Interfaces_Interface_Ethernet Top-level container for ethernet configuration and state
func (*Interfaces_Interface_Ethernet) GetEntityData ¶
func (ethernet *Interfaces_Interface_Ethernet) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ethernet_Config ¶
type Interfaces_Interface_Ethernet_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Assigns a MAC address to the Ethernet interface. If not specified, the // corresponding operational state leaf is expected to show the // system-assigned MAC address. The type is string with pattern: // [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}. MacAddress interface{} // Set to TRUE to request the interface to auto-negotiate transmission // parameters with its peer interface. When set to FALSE, the transmission // parameters are specified manually. The type is bool. The default value is // true. AutoNegotiate interface{} // When auto-negotiate is TRUE, this optionally sets the duplex mode that will // be advertised to the peer. If unspecified, the interface should negotiate // the duplex mode directly (typically full-duplex). When auto-negotiate is // FALSE, this sets the duplex mode on the interface directly. The type is // DuplexMode. DuplexMode interface{} // When auto-negotiate is TRUE, this optionally sets the port-speed mode that // will be advertised to the peer for negotiation. If unspecified, it is // expected that the interface will select the highest speed available based // on negotiation. When auto-negotiate is set to FALSE, sets the link speed // to a fixed value -- supported values are defined by ETHERNET_SPEED // identities. The type is one of the following: // SPEED100GBSPEED1GBSPEED25GBSPEED10GBSPEED10MBSPEED40GBSPEEDUNKNOWNSPEED50GBSPEED100MB. PortSpeed interface{} // Enable or disable flow control for this interface. Ethernet flow control is // a mechanism by which a receiver may send PAUSE frames to a sender to stop // transmission for a specified time. This setting should override // auto-negotiated flow control settings. If left unspecified, and // auto-negotiate is TRUE, flow control mode is negotiated with the peer // interface. The type is bool. The default value is false. EnableFlowControl interface{} // Specify the logical aggregate interface to which this interface belongs. // The type is string. Refers to interfaces.Interfaces_Interface_Name AggregateId interface{} }
Interfaces_Interface_Ethernet_Config Configuration data for ethernet interfaces
func (*Interfaces_Interface_Ethernet_Config) GetEntityData ¶
func (config *Interfaces_Interface_Ethernet_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ethernet_Config_DuplexMode ¶
type Interfaces_Interface_Ethernet_Config_DuplexMode string
Interfaces_Interface_Ethernet_Config_DuplexMode represents FALSE, this sets the duplex mode on the interface directly.
const ( // Full duplex mode Interfaces_Interface_Ethernet_Config_DuplexMode_FULL Interfaces_Interface_Ethernet_Config_DuplexMode = "FULL" // Half duplex mode Interfaces_Interface_Ethernet_Config_DuplexMode_HALF Interfaces_Interface_Ethernet_Config_DuplexMode = "HALF" )
type Interfaces_Interface_Ethernet_State ¶
type Interfaces_Interface_Ethernet_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Assigns a MAC address to the Ethernet interface. If not specified, the // corresponding operational state leaf is expected to show the // system-assigned MAC address. The type is string with pattern: // [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}. MacAddress interface{} // Set to TRUE to request the interface to auto-negotiate transmission // parameters with its peer interface. When set to FALSE, the transmission // parameters are specified manually. The type is bool. The default value is // true. AutoNegotiate interface{} // When auto-negotiate is TRUE, this optionally sets the duplex mode that will // be advertised to the peer. If unspecified, the interface should negotiate // the duplex mode directly (typically full-duplex). When auto-negotiate is // FALSE, this sets the duplex mode on the interface directly. The type is // DuplexMode. DuplexMode interface{} // When auto-negotiate is TRUE, this optionally sets the port-speed mode that // will be advertised to the peer for negotiation. If unspecified, it is // expected that the interface will select the highest speed available based // on negotiation. When auto-negotiate is set to FALSE, sets the link speed // to a fixed value -- supported values are defined by ETHERNET_SPEED // identities. The type is one of the following: // SPEED100GBSPEED1GBSPEED25GBSPEED10GBSPEED10MBSPEED40GBSPEEDUNKNOWNSPEED50GBSPEED100MB. PortSpeed interface{} // Enable or disable flow control for this interface. Ethernet flow control is // a mechanism by which a receiver may send PAUSE frames to a sender to stop // transmission for a specified time. This setting should override // auto-negotiated flow control settings. If left unspecified, and // auto-negotiate is TRUE, flow control mode is negotiated with the peer // interface. The type is bool. The default value is false. EnableFlowControl interface{} // Represenets the 'burned-in', or system-assigned, MAC address for the // Ethernet interface. The type is string with pattern: // [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}. HwMacAddress interface{} // Reports the effective speed of the interface, e.g., the negotiated speed if // auto-negotiate is enabled. The type is interface{} with range: // 0..4294967295. Units are Mbps. EffectiveSpeed interface{} // Specify the logical aggregate interface to which this interface belongs. // The type is string. Refers to interfaces.Interfaces_Interface_Name AggregateId interface{} // Ethernet interface counters. Counters Interfaces_Interface_Ethernet_State_Counters }
Interfaces_Interface_Ethernet_State State variables for Ethernet interfaces
func (*Interfaces_Interface_Ethernet_State) GetEntityData ¶
func (state *Interfaces_Interface_Ethernet_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ethernet_State_Counters ¶
type Interfaces_Interface_Ethernet_State_Counters struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // MAC layer control frames received on the interface. The type is interface{} // with range: 0..18446744073709551615. InMacControlFrames interface{} // MAC layer PAUSE frames received on the interface. The type is interface{} // with range: 0..18446744073709551615. InMacPauseFrames interface{} // Number of oversize frames received on the interface. The type is // interface{} with range: 0..18446744073709551615. InOversizeFrames interface{} // Number of jabber frames received on the interface. Jabber frames are // typically defined as oversize frames which also have a bad CRC. // Implementations may use slightly different definitions of what constitutes // a jabber frame. Often indicative of a NIC hardware problem. The type is // interface{} with range: 0..18446744073709551615. InJabberFrames interface{} // Number of fragment frames received on the interface. The type is // interface{} with range: 0..18446744073709551615. InFragmentFrames interface{} // Number of 802.1q tagged frames received on the interface. The type is // interface{} with range: 0..18446744073709551615. In8021qFrames interface{} // Number of receive error events due to FCS/CRC check failure. The type is // interface{} with range: 0..18446744073709551615. InCrcErrors interface{} // MAC layer control frames sent on the interface. The type is interface{} // with range: 0..18446744073709551615. OutMacControlFrames interface{} // MAC layer PAUSE frames sent on the interface. The type is interface{} with // range: 0..18446744073709551615. OutMacPauseFrames interface{} // Number of 802.1q tagged frames sent on the interface. The type is // interface{} with range: 0..18446744073709551615. Out8021qFrames interface{} }
Interfaces_Interface_Ethernet_State_Counters Ethernet interface counters
func (*Interfaces_Interface_Ethernet_State_Counters) GetEntityData ¶
func (counters *Interfaces_Interface_Ethernet_State_Counters) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ethernet_State_DuplexMode ¶
type Interfaces_Interface_Ethernet_State_DuplexMode string
Interfaces_Interface_Ethernet_State_DuplexMode represents FALSE, this sets the duplex mode on the interface directly.
const ( // Full duplex mode Interfaces_Interface_Ethernet_State_DuplexMode_FULL Interfaces_Interface_Ethernet_State_DuplexMode = "FULL" // Half duplex mode Interfaces_Interface_Ethernet_State_DuplexMode_HALF Interfaces_Interface_Ethernet_State_DuplexMode = "HALF" )
type Interfaces_Interface_Ethernet_SwitchedVlan ¶
type Interfaces_Interface_Ethernet_SwitchedVlan struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration parameters for VLANs. Config Interfaces_Interface_Ethernet_SwitchedVlan_Config // State variables for VLANs. State Interfaces_Interface_Ethernet_SwitchedVlan_State }
Interfaces_Interface_Ethernet_SwitchedVlan Enclosing container for VLAN interface-specific data on Ethernet interfaces. These are for standard L2, switched-style VLANs.
func (*Interfaces_Interface_Ethernet_SwitchedVlan) GetEntityData ¶
func (switchedVlan *Interfaces_Interface_Ethernet_SwitchedVlan) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ethernet_SwitchedVlan_Config ¶
type Interfaces_Interface_Ethernet_SwitchedVlan_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Set the interface to access or trunk mode for VLANs. The type is // VlanModeType. InterfaceMode interface{} // Set the native VLAN id for untagged frames arriving on a trunk interface. // This configuration is only valid on a trunk interface. The type is one of // the following types: int with range: 1..4094, or string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$. NativeVlan interface{} // Assign the access vlan to the access port. The type is one of the following // types: int with range: 1..4094, or string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$. AccessVlan interface{} // Specify VLANs, or ranges thereof, that the interface may carry when in // trunk mode. If not specified, all VLANs are allowed on the interface. // Ranges are specified in the form x..y, where x<y - ranges are assumed to be // inclusive (such that the VLAN range is x <= range <= y. The type is one of // the following types: slice of int with range: 1..4094, or slice of string // with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$, // or slice of string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$, // or slice of string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$, // or slice of string with pattern: // ^(\*|(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9]))\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$.. TrunkVlans []interface{} }
Interfaces_Interface_Ethernet_SwitchedVlan_Config Configuration parameters for VLANs
func (*Interfaces_Interface_Ethernet_SwitchedVlan_Config) GetEntityData ¶
func (config *Interfaces_Interface_Ethernet_SwitchedVlan_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Ethernet_SwitchedVlan_State ¶
type Interfaces_Interface_Ethernet_SwitchedVlan_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Set the interface to access or trunk mode for VLANs. The type is // VlanModeType. InterfaceMode interface{} // Set the native VLAN id for untagged frames arriving on a trunk interface. // This configuration is only valid on a trunk interface. The type is one of // the following types: int with range: 1..4094, or string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$. NativeVlan interface{} // Assign the access vlan to the access port. The type is one of the following // types: int with range: 1..4094, or string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$. AccessVlan interface{} // Specify VLANs, or ranges thereof, that the interface may carry when in // trunk mode. If not specified, all VLANs are allowed on the interface. // Ranges are specified in the form x..y, where x<y - ranges are assumed to be // inclusive (such that the VLAN range is x <= range <= y. The type is one of // the following types: slice of int with range: 1..4094, or slice of string // with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$, // or slice of string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$, // or slice of string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$, // or slice of string with pattern: // ^(\*|(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9]))\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$.. TrunkVlans []interface{} }
Interfaces_Interface_Ethernet_SwitchedVlan_State State variables for VLANs
func (*Interfaces_Interface_Ethernet_SwitchedVlan_State) GetEntityData ¶
func (state *Interfaces_Interface_Ethernet_SwitchedVlan_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_HoldTime ¶
type Interfaces_Interface_HoldTime struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration data for interface hold-time settings. Config Interfaces_Interface_HoldTime_Config // Operational state data for interface hold-time. State Interfaces_Interface_HoldTime_State }
Interfaces_Interface_HoldTime Top-level container for hold-time settings to enable dampening advertisements of interface transitions.
func (*Interfaces_Interface_HoldTime) GetEntityData ¶
func (holdTime *Interfaces_Interface_HoldTime) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_HoldTime_Config ¶
type Interfaces_Interface_HoldTime_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Dampens advertisement when the interface transitions from down to up. A // zero value means dampening is turned off, i.e., immediate notification. The // type is interface{} with range: 0..4294967295. Units are milliseconds. The // default value is 0. Up interface{} // Dampens advertisement when the interface transitions from up to down. A // zero value means dampening is turned off, i.e., immediate notification. The // type is interface{} with range: 0..4294967295. Units are milliseconds. The // default value is 0. Down interface{} }
Interfaces_Interface_HoldTime_Config Configuration data for interface hold-time settings.
func (*Interfaces_Interface_HoldTime_Config) GetEntityData ¶
func (config *Interfaces_Interface_HoldTime_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_HoldTime_State ¶
type Interfaces_Interface_HoldTime_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Dampens advertisement when the interface transitions from down to up. A // zero value means dampening is turned off, i.e., immediate notification. The // type is interface{} with range: 0..4294967295. Units are milliseconds. The // default value is 0. Up interface{} // Dampens advertisement when the interface transitions from up to down. A // zero value means dampening is turned off, i.e., immediate notification. The // type is interface{} with range: 0..4294967295. Units are milliseconds. The // default value is 0. Down interface{} }
Interfaces_Interface_HoldTime_State Operational state data for interface hold-time.
func (*Interfaces_Interface_HoldTime_State) GetEntityData ¶
func (state *Interfaces_Interface_HoldTime_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan ¶
type Interfaces_Interface_RoutedVlan struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration data for routed vlan interfaces. Config Interfaces_Interface_RoutedVlan_Config // Operational state data . State Interfaces_Interface_RoutedVlan_State // Parameters for the IPv4 address family. Ipv4 Interfaces_Interface_RoutedVlan_Ipv4 // Parameters for the IPv6 address family. Ipv6 Interfaces_Interface_RoutedVlan_Ipv6 }
Interfaces_Interface_RoutedVlan Top-level container for routed vlan interfaces. These logical interfaces are also known as SVI (switched virtual interface), IRB (integrated routing and bridging), RVI (routed VLAN interface)
func (*Interfaces_Interface_RoutedVlan) GetEntityData ¶
func (routedVlan *Interfaces_Interface_RoutedVlan) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Config ¶
type Interfaces_Interface_RoutedVlan_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // References the VLAN for which this IP interface provides routing services // -- similar to a switch virtual interface (SVI), or integrated routing and // bridging interface (IRB) in some implementations. The type is one of the // following types: int with range: 0..65535, or string. Vlan interface{} }
Interfaces_Interface_RoutedVlan_Config Configuration data for routed vlan interfaces
func (*Interfaces_Interface_RoutedVlan_Config) GetEntityData ¶
func (config *Interfaces_Interface_RoutedVlan_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4 ¶
type Interfaces_Interface_RoutedVlan_Ipv4 struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Enclosing container for address list. Addresses Interfaces_Interface_RoutedVlan_Ipv4_Addresses // Enclosing container for neighbor list. Neighbors Interfaces_Interface_RoutedVlan_Ipv4_Neighbors // Top-level container for setting unnumbered interfaces. Includes reference // the interface that provides the address information. Unnumbered Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered // Top-level IPv4 configuration data for the interface. Config Interfaces_Interface_RoutedVlan_Ipv4_Config // Top level IPv4 operational state data. State Interfaces_Interface_RoutedVlan_Ipv4_State }
Interfaces_Interface_RoutedVlan_Ipv4 Parameters for the IPv4 address family.
func (*Interfaces_Interface_RoutedVlan_Ipv4) GetEntityData ¶
func (ipv4 *Interfaces_Interface_RoutedVlan_Ipv4) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The list of configured IPv4 addresses on the interface. The type is slice // of Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address. Address []*Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address }
Interfaces_Interface_RoutedVlan_Ipv4_Addresses Enclosing container for address list
func (*Interfaces_Interface_RoutedVlan_Ipv4_Addresses) GetEntityData ¶
func (addresses *Interfaces_Interface_RoutedVlan_Ipv4_Addresses) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. References the configured IP address. 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}]+)?. // Refers to // interfaces.Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Config_Ip Ip interface{} // Configuration data for each configured IPv4 address on the interface. Config Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Config // Operational state data for each IPv4 address configured on the interface. State Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_State // Enclosing container for VRRP groups handled by this IP interface. Vrrp Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp }
Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address The list of configured IPv4 addresses on the interface.
func (*Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address) GetEntityData ¶
func (address *Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Config ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] The length of the subnet prefix. The // type is interface{} with range: 0..32. PrefixLength interface{} }
Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Config Configuration data for each configured IPv4 address on the interface
func (*Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Config) GetEntityData ¶
func (config *Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_State ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] The length of the subnet prefix. The // type is interface{} with range: 0..32. PrefixLength interface{} // The origin of this address, e.g., statically configured, assigned by DHCP, // etc.. The type is IpAddressOrigin. Origin interface{} }
Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_State Operational state data for each IPv4 address configured on the interface
func (*Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_State) GetEntityData ¶
func (state *Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // List of VRRP groups, keyed by virtual router id. The type is slice of // Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup. VrrpGroup []*Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup }
Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp Enclosing container for VRRP groups handled by this IP interface
func (*Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp) GetEntityData ¶
func (vrrp *Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. References the configured virtual router id for // this VRRP group. The type is string with range: 1..255. Refers to // interfaces.Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config_VirtualRouterId VirtualRouterId interface{} // Configuration data for the VRRP group. Config Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config // Operational state data for the VRRP group. State Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_State // Top-level container for VRRP interface tracking. InterfaceTracking Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking }
Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup List of VRRP groups, keyed by virtual router id
func (*Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup) GetEntityData ¶
func (vrrpGroup *Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Set the virtual router id for use by the VRRP group. This usually also // determines the virtual MAC address that is generated for the VRRP group. // The type is interface{} with range: 1..255. VirtualRouterId interface{} // Configure one or more virtual addresses for the VRRP group. The type is one // of the following types: slice of 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}]+)?, // or slice of 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}]+)?. VirtualAddress []interface{} // Specifies the sending VRRP interface's priority for the virtual router. // Higher values equal higher priority. The type is interface{} with range: // 1..254. The default value is 100. Priority interface{} // When set to true, enables preemption by a higher priority backup router of // a lower priority master router. The type is bool. The default value is // true. Preempt interface{} // Set the delay the higher priority router waits before preempting. The type // is interface{} with range: 0..3600. The default value is 0. PreemptDelay interface{} // Configure whether packets destined for virtual addresses are accepted even // when the virtual address is not owned by the router interface. The type is // bool. The default value is false. AcceptMode interface{} // Sets the interval between successive VRRP advertisements -- RFC 5798 // defines this as a 12-bit value expressed as 0.1 seconds, with default 100, // i.e., 1 second. Several implementation express this in units of seconds. // The type is interface{} with range: 1..4095. Units are centiseconds. The // default value is 100. AdvertisementInterval interface{} }
Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config Configuration data for the VRRP group
func (*Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config) GetEntityData ¶
func (config *Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration data for VRRP interface tracking. Config Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config // Operational state data for VRRP interface tracking. State Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State }
Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking Top-level container for VRRP interface tracking
func (*Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking) GetEntityData ¶
func (interfaceTracking *Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Sets an interface that should be tracked for up/down events to dynamically // change the priority state of the VRRP group, and potentially change the // mastership if the tracked interface going down lowers the priority // sufficiently. The type is string. Refers to // interfaces.Interfaces_Interface_Name TrackInterface interface{} // Set the value to subtract from priority when the tracked interface goes // down. The type is interface{} with range: 0..254. The default value is 0. PriorityDecrement interface{} }
Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config Configuration data for VRRP interface tracking
func (*Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config) GetEntityData ¶
func (config *Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Sets an interface that should be tracked for up/down events to dynamically // change the priority state of the VRRP group, and potentially change the // mastership if the tracked interface going down lowers the priority // sufficiently. The type is string. Refers to // interfaces.Interfaces_Interface_Name TrackInterface interface{} // Set the value to subtract from priority when the tracked interface goes // down. The type is interface{} with range: 0..254. The default value is 0. PriorityDecrement interface{} }
Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State Operational state data for VRRP interface tracking
func (*Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State) GetEntityData ¶
func (state *Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_State ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Set the virtual router id for use by the VRRP group. This usually also // determines the virtual MAC address that is generated for the VRRP group. // The type is interface{} with range: 1..255. VirtualRouterId interface{} // Configure one or more virtual addresses for the VRRP group. The type is one // of the following types: slice of 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}]+)?, // or slice of 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}]+)?. VirtualAddress []interface{} // Specifies the sending VRRP interface's priority for the virtual router. // Higher values equal higher priority. The type is interface{} with range: // 1..254. The default value is 100. Priority interface{} // When set to true, enables preemption by a higher priority backup router of // a lower priority master router. The type is bool. The default value is // true. Preempt interface{} // Set the delay the higher priority router waits before preempting. The type // is interface{} with range: 0..3600. The default value is 0. PreemptDelay interface{} // Configure whether packets destined for virtual addresses are accepted even // when the virtual address is not owned by the router interface. The type is // bool. The default value is false. AcceptMode interface{} // Sets the interval between successive VRRP advertisements -- RFC 5798 // defines this as a 12-bit value expressed as 0.1 seconds, with default 100, // i.e., 1 second. Several implementation express this in units of seconds. // The type is interface{} with range: 1..4095. Units are centiseconds. The // default value is 100. AdvertisementInterval interface{} // Operational value of the priority for the interface in the VRRP group. The // type is interface{} with range: 0..255. CurrentPriority interface{} }
Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_State Operational state data for the VRRP group
func (*Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_State) GetEntityData ¶
func (state *Interfaces_Interface_RoutedVlan_Ipv4_Addresses_Address_Vrrp_VrrpGroup_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Config ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // 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{} // 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{} }
Interfaces_Interface_RoutedVlan_Ipv4_Config Top-level IPv4 configuration data for the interface
func (*Interfaces_Interface_RoutedVlan_Ipv4_Config) GetEntityData ¶
func (config *Interfaces_Interface_RoutedVlan_Ipv4_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Neighbors ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Neighbors struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // 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_RoutedVlan_Ipv4_Neighbors_Neighbor. Neighbor []*Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor }
Interfaces_Interface_RoutedVlan_Ipv4_Neighbors Enclosing container for neighbor list
func (*Interfaces_Interface_RoutedVlan_Ipv4_Neighbors) GetEntityData ¶
func (neighbors *Interfaces_Interface_RoutedVlan_Ipv4_Neighbors) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. References the configured IP address. 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}]+)?. // Refers to // interfaces.Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor_Config_Ip Ip interface{} // Configuration data for each configured IPv4 address on the interface. Config Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor_Config // Operational state data for each IPv4 address configured on the interface. State Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor_State }
Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_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_RoutedVlan_Ipv4_Neighbors_Neighbor) GetEntityData ¶
func (neighbor *Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor_Config ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // 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_RoutedVlan_Ipv4_Neighbors_Neighbor_Config Configuration data for each configured IPv4 address on the interface
func (*Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor_Config) GetEntityData ¶
func (config *Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor_State ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // 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{} // The origin of this neighbor entry, static or dynamic. The type is // NeighborOrigin. Origin interface{} }
Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor_State Operational state data for each IPv4 address configured on the interface
func (*Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor_State) GetEntityData ¶
func (state *Interfaces_Interface_RoutedVlan_Ipv4_Neighbors_Neighbor_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_State ¶
type Interfaces_Interface_RoutedVlan_Ipv4_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // 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{} // 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{} }
Interfaces_Interface_RoutedVlan_Ipv4_State Top level IPv4 operational state data
func (*Interfaces_Interface_RoutedVlan_Ipv4_State) GetEntityData ¶
func (state *Interfaces_Interface_RoutedVlan_Ipv4_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration data for unnumbered interface. Config Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_Config // Operational state data for unnumbered interfaces. State Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_State // Reference to an interface or subinterface. InterfaceRef Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef }
Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered Top-level container for setting unnumbered interfaces. Includes reference the interface that provides the address information
func (*Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered) GetEntityData ¶
func (unnumbered *Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_Config ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Indicates that the subinterface is unnumbered. By default the subinterface // is numbered, i.e., expected to have an IP address configuration. The type // is bool. The default value is false. Enabled interface{} }
Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_Config Configuration data for unnumbered interface
func (*Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_Config) GetEntityData ¶
func (config *Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configured reference to interface / subinterface. Config Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef_Config // Operational state for interface-ref. State Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef_State }
Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef Reference to an interface or subinterface
func (*Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) GetEntityData ¶
func (interfaceRef *Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef_Config ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Reference to a base interface. If a reference to a subinterface is // required, this leaf must be specified to indicate the base interface. The // type is string. Refers to interfaces.Interfaces_Interface_Name Interface interface{} // Reference to a subinterface -- this requires the base interface to be // specified using the interface leaf in this container. If only a reference // to a base interface is requuired, this leaf should not be set. The type is // string with range: 0..4294967295. Refers to // interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Index Subinterface interface{} }
Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef_Config Configured reference to interface / subinterface
func (*Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef_Config) GetEntityData ¶
func (config *Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef_State ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Reference to a base interface. If a reference to a subinterface is // required, this leaf must be specified to indicate the base interface. The // type is string. Refers to interfaces.Interfaces_Interface_Name Interface interface{} // Reference to a subinterface -- this requires the base interface to be // specified using the interface leaf in this container. If only a reference // to a base interface is requuired, this leaf should not be set. The type is // string with range: 0..4294967295. Refers to // interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Index Subinterface interface{} }
Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef_State Operational state for interface-ref
func (*Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef_State) GetEntityData ¶
func (state *Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_State ¶
type Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Indicates that the subinterface is unnumbered. By default the subinterface // is numbered, i.e., expected to have an IP address configuration. The type // is bool. The default value is false. Enabled interface{} }
Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_State Operational state data for unnumbered interfaces
func (*Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_State) GetEntityData ¶
func (state *Interfaces_Interface_RoutedVlan_Ipv4_Unnumbered_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6 ¶
type Interfaces_Interface_RoutedVlan_Ipv6 struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Enclosing container for address list. Addresses Interfaces_Interface_RoutedVlan_Ipv6_Addresses // Enclosing container for list of IPv6 neighbors. Neighbors Interfaces_Interface_RoutedVlan_Ipv6_Neighbors // Top-level container for setting unnumbered interfaces. Includes reference // the interface that provides the address information. Unnumbered Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered // Top-level config data for the IPv6 interface. Config Interfaces_Interface_RoutedVlan_Ipv6_Config // Top-level operational state data for the IPv6 interface. State Interfaces_Interface_RoutedVlan_Ipv6_State }
Interfaces_Interface_RoutedVlan_Ipv6 Parameters for the IPv6 address family.
func (*Interfaces_Interface_RoutedVlan_Ipv6) GetEntityData ¶
func (ipv6 *Interfaces_Interface_RoutedVlan_Ipv6) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The list of configured IPv6 addresses on the interface. The type is slice // of Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address. Address []*Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address }
Interfaces_Interface_RoutedVlan_Ipv6_Addresses Enclosing container for address list
func (*Interfaces_Interface_RoutedVlan_Ipv6_Addresses) GetEntityData ¶
func (addresses *Interfaces_Interface_RoutedVlan_Ipv6_Addresses) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. References the configured IP address. 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}]+)?. // Refers to // interfaces.Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Config_Ip Ip interface{} // Configuration data for each IPv6 address on the interface. Config Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Config // State data for each IPv6 address on the interface. State Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State // Enclosing container for VRRP groups handled by this IP interface. Vrrp Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp }
Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address The list of configured IPv6 addresses on the interface.
func (*Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address) GetEntityData ¶
func (address *Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Config ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] The length of the subnet prefix. The // type is interface{} with range: 0..128. This attribute is mandatory. PrefixLength interface{} }
Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Config Configuration data for each IPv6 address on the interface
func (*Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Config) GetEntityData ¶
func (config *Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] The length of the subnet prefix. The // type is interface{} with range: 0..128. This attribute is mandatory. PrefixLength interface{} // [adapted from IETF IP model RFC 7277] The origin of this address, e.g., // static, dhcp, etc. The type is IpAddressOrigin. Origin interface{} // [adapted from IETF IP model RFC 7277] 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{} }
Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State State data for each IPv6 address on the interface
func (*Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State) GetEntityData ¶
func (state *Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status string
Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status represents Autoconfiguration protocol.
const ( // This is a valid address that can appear as the // destination or source address of a packet. Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status_PREFERRED Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_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. Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status_DEPRECATED Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status = "DEPRECATED" // This isn't a valid address, and it shouldn't appear // as the destination or source address of a packet. Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status_INVALID Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status = "INVALID" // The address is not accessible because the interface // to which this address is assigned is not // operational. Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status_INACCESSIBLE Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status = "INACCESSIBLE" // The status cannot be determined for some reason. Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status_UNKNOWN Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_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. Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status_TENTATIVE Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status = "TENTATIVE" // The address has been determined to be non-unique on // the link and so must not be used. Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status_DUPLICATE Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status = "DUPLICATE" // The address is available for use, subject to // restrictions, while its uniqueness on a link is // being verified. Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status_OPTIMISTIC Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_State_Status = "OPTIMISTIC" )
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // List of VRRP groups, keyed by virtual router id. The type is slice of // Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup. VrrpGroup []*Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup }
Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp Enclosing container for VRRP groups handled by this IP interface
func (*Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp) GetEntityData ¶
func (vrrp *Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. References the configured virtual router id for // this VRRP group. The type is string with range: 1..255. Refers to // interfaces.Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config_VirtualRouterId VirtualRouterId interface{} // Configuration data for the VRRP group. Config Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config // Operational state data for the VRRP group. State Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_State // Top-level container for VRRP interface tracking. InterfaceTracking Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking }
Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup List of VRRP groups, keyed by virtual router id
func (*Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup) GetEntityData ¶
func (vrrpGroup *Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Set the virtual router id for use by the VRRP group. This usually also // determines the virtual MAC address that is generated for the VRRP group. // The type is interface{} with range: 1..255. VirtualRouterId interface{} // Configure one or more virtual addresses for the VRRP group. The type is one // of the following types: slice of 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}]+)?, // or slice of 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}]+)?. VirtualAddress []interface{} // Specifies the sending VRRP interface's priority for the virtual router. // Higher values equal higher priority. The type is interface{} with range: // 1..254. The default value is 100. Priority interface{} // When set to true, enables preemption by a higher priority backup router of // a lower priority master router. The type is bool. The default value is // true. Preempt interface{} // Set the delay the higher priority router waits before preempting. The type // is interface{} with range: 0..3600. The default value is 0. PreemptDelay interface{} // Configure whether packets destined for virtual addresses are accepted even // when the virtual address is not owned by the router interface. The type is // bool. The default value is false. AcceptMode interface{} // Sets the interval between successive VRRP advertisements -- RFC 5798 // defines this as a 12-bit value expressed as 0.1 seconds, with default 100, // i.e., 1 second. Several implementation express this in units of seconds. // The type is interface{} with range: 1..4095. Units are centiseconds. The // default value is 100. AdvertisementInterval interface{} // For VRRP on IPv6 interfaces, sets the virtual link local address. The type // is one of the following types: 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}]+)?, // or 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}]+)?. VirtualLinkLocal interface{} }
Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config Configuration data for the VRRP group
func (*Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config) GetEntityData ¶
func (config *Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration data for VRRP interface tracking. Config Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config // Operational state data for VRRP interface tracking. State Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State }
Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking Top-level container for VRRP interface tracking
func (*Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking) GetEntityData ¶
func (interfaceTracking *Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Sets an interface that should be tracked for up/down events to dynamically // change the priority state of the VRRP group, and potentially change the // mastership if the tracked interface going down lowers the priority // sufficiently. The type is string. Refers to // interfaces.Interfaces_Interface_Name TrackInterface interface{} // Set the value to subtract from priority when the tracked interface goes // down. The type is interface{} with range: 0..254. The default value is 0. PriorityDecrement interface{} }
Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config Configuration data for VRRP interface tracking
func (*Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config) GetEntityData ¶
func (config *Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Sets an interface that should be tracked for up/down events to dynamically // change the priority state of the VRRP group, and potentially change the // mastership if the tracked interface going down lowers the priority // sufficiently. The type is string. Refers to // interfaces.Interfaces_Interface_Name TrackInterface interface{} // Set the value to subtract from priority when the tracked interface goes // down. The type is interface{} with range: 0..254. The default value is 0. PriorityDecrement interface{} }
Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State Operational state data for VRRP interface tracking
func (*Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State) GetEntityData ¶
func (state *Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_State ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Set the virtual router id for use by the VRRP group. This usually also // determines the virtual MAC address that is generated for the VRRP group. // The type is interface{} with range: 1..255. VirtualRouterId interface{} // Configure one or more virtual addresses for the VRRP group. The type is one // of the following types: slice of 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}]+)?, // or slice of 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}]+)?. VirtualAddress []interface{} // Specifies the sending VRRP interface's priority for the virtual router. // Higher values equal higher priority. The type is interface{} with range: // 1..254. The default value is 100. Priority interface{} // When set to true, enables preemption by a higher priority backup router of // a lower priority master router. The type is bool. The default value is // true. Preempt interface{} // Set the delay the higher priority router waits before preempting. The type // is interface{} with range: 0..3600. The default value is 0. PreemptDelay interface{} // Configure whether packets destined for virtual addresses are accepted even // when the virtual address is not owned by the router interface. The type is // bool. The default value is false. AcceptMode interface{} // Sets the interval between successive VRRP advertisements -- RFC 5798 // defines this as a 12-bit value expressed as 0.1 seconds, with default 100, // i.e., 1 second. Several implementation express this in units of seconds. // The type is interface{} with range: 1..4095. Units are centiseconds. The // default value is 100. AdvertisementInterval interface{} // Operational value of the priority for the interface in the VRRP group. The // type is interface{} with range: 0..255. CurrentPriority interface{} // For VRRP on IPv6 interfaces, sets the virtual link local address. The type // is one of the following types: 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}]+)?, // or 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}]+)?. VirtualLinkLocal interface{} }
Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_State Operational state data for the VRRP group
func (*Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_State) GetEntityData ¶
func (state *Interfaces_Interface_RoutedVlan_Ipv6_Addresses_Address_Vrrp_VrrpGroup_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Config ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] 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{} }
Interfaces_Interface_RoutedVlan_Ipv6_Config Top-level config data for the IPv6 interface
func (*Interfaces_Interface_RoutedVlan_Ipv6_Config) GetEntityData ¶
func (config *Interfaces_Interface_RoutedVlan_Ipv6_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Neighbors ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Neighbors struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // List of IPv6 neighbors. The type is slice of // Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor. Neighbor []*Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor }
Interfaces_Interface_RoutedVlan_Ipv6_Neighbors Enclosing container for list of IPv6 neighbors
func (*Interfaces_Interface_RoutedVlan_Ipv6_Neighbors) GetEntityData ¶
func (neighbors *Interfaces_Interface_RoutedVlan_Ipv6_Neighbors) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. References the configured IP neighbor address. 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}]+)?. // Refers to // interfaces.Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_Config_Ip Ip interface{} // Configuration data for each IPv6 address on the interface. Config Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_Config // State data for each IPv6 address on the interface. State Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State }
Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor List of IPv6 neighbors
func (*Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor) GetEntityData ¶
func (neighbor *Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_Config ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] 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_RoutedVlan_Ipv6_Neighbors_Neighbor_Config Configuration data for each IPv6 address on the interface
func (*Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_Config) GetEntityData ¶
func (config *Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] The origin of this neighbor entry. // The type is NeighborOrigin. Origin interface{} // [adapted from IETF IP model RFC 7277] Indicates that the neighbor node // acts as a router. The type is interface{}. IsRouter interface{} // [adapted from IETF IP model RFC 7277] The Neighbor Unreachability // Detection state of this entry. The type is NeighborState. NeighborState interface{} }
Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State State data for each IPv6 address on the interface
func (*Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State) GetEntityData ¶
func (state *Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State_NeighborState ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State_NeighborState string
Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State_NeighborState represents entry.
const ( // Address resolution is in progress, and the link-layer // address of the neighbor has not yet been // determined. Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State_NeighborState_INCOMPLETE Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State_NeighborState = "INCOMPLETE" // Roughly speaking, the neighbor is known to have been // reachable recently (within tens of seconds ago). Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State_NeighborState_REACHABLE Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State_NeighborState = "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. Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State_NeighborState_STALE Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State_NeighborState = "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. Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State_NeighborState_DELAY Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State_NeighborState = "DELAY" // The neighbor is no longer known to be reachable, and // unicast Neighbor Solicitation probes are being sent // to verify reachability. Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State_NeighborState_PROBE Interfaces_Interface_RoutedVlan_Ipv6_Neighbors_Neighbor_State_NeighborState = "PROBE" )
type Interfaces_Interface_RoutedVlan_Ipv6_State ¶
type Interfaces_Interface_RoutedVlan_Ipv6_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] 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{} }
Interfaces_Interface_RoutedVlan_Ipv6_State Top-level operational state data for the IPv6 interface
func (*Interfaces_Interface_RoutedVlan_Ipv6_State) GetEntityData ¶
func (state *Interfaces_Interface_RoutedVlan_Ipv6_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration data for unnumbered interface. Config Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_Config // Operational state data for unnumbered interfaces. State Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_State // Reference to an interface or subinterface. InterfaceRef Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef }
Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered Top-level container for setting unnumbered interfaces. Includes reference the interface that provides the address information
func (*Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered) GetEntityData ¶
func (unnumbered *Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_Config ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Indicates that the subinterface is unnumbered. By default the subinterface // is numbered, i.e., expected to have an IP address configuration. The type // is bool. The default value is false. Enabled interface{} }
Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_Config Configuration data for unnumbered interface
func (*Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_Config) GetEntityData ¶
func (config *Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configured reference to interface / subinterface. Config Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef_Config // Operational state for interface-ref. State Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef_State }
Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef Reference to an interface or subinterface
func (*Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) GetEntityData ¶
func (interfaceRef *Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef_Config ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Reference to a base interface. If a reference to a subinterface is // required, this leaf must be specified to indicate the base interface. The // type is string. Refers to interfaces.Interfaces_Interface_Name Interface interface{} // Reference to a subinterface -- this requires the base interface to be // specified using the interface leaf in this container. If only a reference // to a base interface is requuired, this leaf should not be set. The type is // string with range: 0..4294967295. Refers to // interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Index Subinterface interface{} }
Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef_Config Configured reference to interface / subinterface
func (*Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef_Config) GetEntityData ¶
func (config *Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef_State ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Reference to a base interface. If a reference to a subinterface is // required, this leaf must be specified to indicate the base interface. The // type is string. Refers to interfaces.Interfaces_Interface_Name Interface interface{} // Reference to a subinterface -- this requires the base interface to be // specified using the interface leaf in this container. If only a reference // to a base interface is requuired, this leaf should not be set. The type is // string with range: 0..4294967295. Refers to // interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Index Subinterface interface{} }
Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef_State Operational state for interface-ref
func (*Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef_State) GetEntityData ¶
func (state *Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_State ¶
type Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Indicates that the subinterface is unnumbered. By default the subinterface // is numbered, i.e., expected to have an IP address configuration. The type // is bool. The default value is false. Enabled interface{} }
Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_State Operational state data for unnumbered interfaces
func (*Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_State) GetEntityData ¶
func (state *Interfaces_Interface_RoutedVlan_Ipv6_Unnumbered_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_RoutedVlan_State ¶
type Interfaces_Interface_RoutedVlan_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // References the VLAN for which this IP interface provides routing services // -- similar to a switch virtual interface (SVI), or integrated routing and // bridging interface (IRB) in some implementations. The type is one of the // following types: int with range: 0..65535, or string. Vlan interface{} }
Interfaces_Interface_RoutedVlan_State Operational state data
func (*Interfaces_Interface_RoutedVlan_State) GetEntityData ¶
func (state *Interfaces_Interface_RoutedVlan_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Sonet ¶
type Interfaces_Interface_Sonet struct { EntityData types.CommonEntityData YFilter yfilter.YFilter }
Interfaces_Interface_Sonet Data related to SONET/SDH interfaces
func (*Interfaces_Interface_Sonet) GetEntityData ¶
func (sonet *Interfaces_Interface_Sonet) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_State ¶
type Interfaces_Interface_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF interfaces model (RFC 7223)] 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: InterfaceType. This attribute is mandatory. Type interface{} // Set the max transmission unit size in octets for the physical interface. // If this is not set, the mtu is set to the operational default -- e.g., 1514 // bytes on an Ethernet interface. The type is interface{} with range: // 0..65535. Mtu interface{} // [adapted from IETF interfaces model (RFC 7223)] 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/interface[name]/state 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 corresponding state // 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. The // IETF model in RFC 7223 provides YANG features for the following (i.e., // pre-provisioning and arbitrary-names), however they are omitted here: 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 // /interfaces/interface[name]/state list. The type is string. Name interface{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // System assigned number for each interface. Corresponds to ifIndex object // in SNMP Interface MIB. The type is interface{} with range: 0..4294967295. Ifindex interface{} // [adapted from IETF interfaces model (RFC 7223)] The desired state of the // interface. In RFC 7223 this leaf has the same read semantics as // ifAdminStatus. Here, it reflects the administrative state as set by // enabling or disabling the interface. The type is AdminStatus. This // attribute is mandatory. AdminStatus interface{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // Date and time of the last state change of the interface (e.g., up-to-down // transition). This corresponds to the ifLastChange object in the standard // interface MIB. The type is interface{} with range: 0..4294967295. LastChange interface{} // References the hardware port in the device inventory. The type is string. // Refers to platform.Components_Component_Name HardwarePort interface{} // A collection of interface-related statistics objects. Counters Interfaces_Interface_State_Counters }
Interfaces_Interface_State Operational state data at the global interface level
func (*Interfaces_Interface_State) GetEntityData ¶
func (state *Interfaces_Interface_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_State_AdminStatus ¶
type Interfaces_Interface_State_AdminStatus string
Interfaces_Interface_State_AdminStatus represents disabling the interface.
const ( // Ready to pass packets. Interfaces_Interface_State_AdminStatus_UP Interfaces_Interface_State_AdminStatus = "UP" // Not ready to pass packets and not in some test mode. Interfaces_Interface_State_AdminStatus_DOWN Interfaces_Interface_State_AdminStatus = "DOWN" // In some test mode. Interfaces_Interface_State_AdminStatus_TESTING Interfaces_Interface_State_AdminStatus = "TESTING" )
type Interfaces_Interface_State_Counters ¶
type Interfaces_Interface_State_Counters struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] Changed the counter type to // counter64. 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..18446744073709551615. InDiscards interface{} // [adapted from IETF interfaces model (RFC 7223)] Changed the counter type to // counter64. 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..18446744073709551615. InErrors interface{} // [adapted from IETF interfaces model (RFC 7223)] Changed the counter type to // counter64. 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{} // [adapted from IETF interfaces model (RFC 7223)] Changed the counter type to // counter64. 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{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] Changed the counter type to // counter64. 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{} // [adapted from IETF interfaces model (RFC 7223)] Changed the counter type to // counter64. 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..18446744073709551615. OutDiscards interface{} // [adapted from IETF interfaces model (RFC 7223)] Changed the counter type to // counter64. 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..18446744073709551615. OutErrors interface{} // Indicates the last time the interface counters were cleared. 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}). LastClear interface{} }
Interfaces_Interface_State_Counters A collection of interface-related statistics objects.
func (*Interfaces_Interface_State_Counters) GetEntityData ¶
func (counters *Interfaces_Interface_State_Counters) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_State_OperStatus ¶
type Interfaces_Interface_State_OperStatus string
Interfaces_Interface_State_OperStatus represents This leaf has the same semantics as ifOperStatus.
const ( // Ready to pass packets. Interfaces_Interface_State_OperStatus_UP Interfaces_Interface_State_OperStatus = "UP" // The interface does not pass any packets. Interfaces_Interface_State_OperStatus_DOWN Interfaces_Interface_State_OperStatus = "DOWN" // In some test mode. No operational packets can // be passed. Interfaces_Interface_State_OperStatus_TESTING Interfaces_Interface_State_OperStatus = "TESTING" // Status cannot be determined for some reason. Interfaces_Interface_State_OperStatus_UNKNOWN Interfaces_Interface_State_OperStatus = "UNKNOWN" // Waiting for some external event. Interfaces_Interface_State_OperStatus_DORMANT Interfaces_Interface_State_OperStatus = "DORMANT" // Some component (typically hardware) is missing. Interfaces_Interface_State_OperStatus_NOT_PRESENT Interfaces_Interface_State_OperStatus = "NOT_PRESENT" // Down due to state of lower-layer interface(s). Interfaces_Interface_State_OperStatus_LOWER_LAYER_DOWN Interfaces_Interface_State_OperStatus = "LOWER_LAYER_DOWN" )
type Interfaces_Interface_Subinterfaces ¶
type Interfaces_Interface_Subinterfaces struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The list of subinterfaces (logical interfaces) associated with a physical // interface. The type is slice of // Interfaces_Interface_Subinterfaces_Subinterface. Subinterface []*Interfaces_Interface_Subinterfaces_Subinterface }
Interfaces_Interface_Subinterfaces Enclosing container for the list of subinterfaces associated with a physical interface
func (*Interfaces_Interface_Subinterfaces) GetEntityData ¶
func (subinterfaces *Interfaces_Interface_Subinterfaces) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface ¶
type Interfaces_Interface_Subinterfaces_Subinterface struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The index number of the subinterface -- used to // address the logical interface. The type is string with range: // 0..4294967295. Refers to // interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Config_Index Index interface{} // Configurable items at the subinterface level. Config Interfaces_Interface_Subinterfaces_Subinterface_Config // Operational state data for logical interfaces. State Interfaces_Interface_Subinterfaces_Subinterface_State // Enclosing container for VLAN interface-specific data on subinterfaces. Vlan Interfaces_Interface_Subinterfaces_Subinterface_Vlan // Parameters for the IPv4 address family. Ipv4 Interfaces_Interface_Subinterfaces_Subinterface_Ipv4 // Parameters for the IPv6 address family. Ipv6 Interfaces_Interface_Subinterfaces_Subinterface_Ipv6 }
Interfaces_Interface_Subinterfaces_Subinterface The list of subinterfaces (logical interfaces) associated with a physical interface
func (*Interfaces_Interface_Subinterfaces_Subinterface) GetEntityData ¶
func (subinterface *Interfaces_Interface_Subinterfaces_Subinterface) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The index of the subinterface, or logical interface number. On systems with // no support for subinterfaces, or not using subinterfaces, this value should // default to 0, i.e., the default subinterface. The type is interface{} with // range: 0..4294967295. The default value is 0. Index interface{} // [adapted from IETF interfaces model (RFC 7223)] 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/interface[name]/state 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 corresponding state // 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. The // IETF model in RFC 7223 provides YANG features for the following (i.e., // pre-provisioning and arbitrary-names), however they are omitted here: 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 // /interfaces/interface[name]/state list. The type is string. Name interface{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] 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{} }
Interfaces_Interface_Subinterfaces_Subinterface_Config Configurable items at the subinterface level
func (*Interfaces_Interface_Subinterfaces_Subinterface_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4 ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4 struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Enclosing container for address list. Addresses Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses // Enclosing container for neighbor list. Neighbors Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors // Top-level container for setting unnumbered interfaces. Includes reference // the interface that provides the address information. Unnumbered Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered // Top-level IPv4 configuration data for the interface. Config Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Config // Top level IPv4 operational state data. State Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_State }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4 Parameters for the IPv4 address family.
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4) GetEntityData ¶
func (ipv4 *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The list of configured IPv4 addresses on the interface. The type is slice // of Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address. Address []*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses Enclosing container for address list
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses) GetEntityData ¶
func (addresses *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. References the configured IP address. 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}]+)?. // Refers to // interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Config_Ip Ip interface{} // Configuration data for each configured IPv4 address on the interface. Config Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Config // Operational state data for each IPv4 address configured on the interface. State Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_State // Enclosing container for VRRP groups handled by this IP interface. Vrrp Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address The list of configured IPv4 addresses on the interface.
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address) GetEntityData ¶
func (address *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] The length of the subnet prefix. The // type is interface{} with range: 0..32. PrefixLength interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Config Configuration data for each configured IPv4 address on the interface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] The length of the subnet prefix. The // type is interface{} with range: 0..32. PrefixLength interface{} // The origin of this address, e.g., statically configured, assigned by DHCP, // etc.. The type is IpAddressOrigin. Origin interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_State Operational state data for each IPv4 address configured on the interface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // List of VRRP groups, keyed by virtual router id. The type is slice of // Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup. VrrpGroup []*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp Enclosing container for VRRP groups handled by this IP interface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp) GetEntityData ¶
func (vrrp *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. References the configured virtual router id for // this VRRP group. The type is string with range: 1..255. Refers to // interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config_VirtualRouterId VirtualRouterId interface{} // Configuration data for the VRRP group. Config Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config // Operational state data for the VRRP group. State Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_State // Top-level container for VRRP interface tracking. InterfaceTracking Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup List of VRRP groups, keyed by virtual router id
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup) GetEntityData ¶
func (vrrpGroup *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Set the virtual router id for use by the VRRP group. This usually also // determines the virtual MAC address that is generated for the VRRP group. // The type is interface{} with range: 1..255. VirtualRouterId interface{} // Configure one or more virtual addresses for the VRRP group. The type is one // of the following types: slice of 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}]+)?, // or slice of 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}]+)?. VirtualAddress []interface{} // Specifies the sending VRRP interface's priority for the virtual router. // Higher values equal higher priority. The type is interface{} with range: // 1..254. The default value is 100. Priority interface{} // When set to true, enables preemption by a higher priority backup router of // a lower priority master router. The type is bool. The default value is // true. Preempt interface{} // Set the delay the higher priority router waits before preempting. The type // is interface{} with range: 0..3600. The default value is 0. PreemptDelay interface{} // Configure whether packets destined for virtual addresses are accepted even // when the virtual address is not owned by the router interface. The type is // bool. The default value is false. AcceptMode interface{} // Sets the interval between successive VRRP advertisements -- RFC 5798 // defines this as a 12-bit value expressed as 0.1 seconds, with default 100, // i.e., 1 second. Several implementation express this in units of seconds. // The type is interface{} with range: 1..4095. Units are centiseconds. The // default value is 100. AdvertisementInterval interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config Configuration data for the VRRP group
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration data for VRRP interface tracking. Config Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config // Operational state data for VRRP interface tracking. State Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking Top-level container for VRRP interface tracking
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking) GetEntityData ¶
func (interfaceTracking *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Sets an interface that should be tracked for up/down events to dynamically // change the priority state of the VRRP group, and potentially change the // mastership if the tracked interface going down lowers the priority // sufficiently. The type is string. Refers to // interfaces.Interfaces_Interface_Name TrackInterface interface{} // Set the value to subtract from priority when the tracked interface goes // down. The type is interface{} with range: 0..254. The default value is 0. PriorityDecrement interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config Configuration data for VRRP interface tracking
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Sets an interface that should be tracked for up/down events to dynamically // change the priority state of the VRRP group, and potentially change the // mastership if the tracked interface going down lowers the priority // sufficiently. The type is string. Refers to // interfaces.Interfaces_Interface_Name TrackInterface interface{} // Set the value to subtract from priority when the tracked interface goes // down. The type is interface{} with range: 0..254. The default value is 0. PriorityDecrement interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State Operational state data for VRRP interface tracking
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Set the virtual router id for use by the VRRP group. This usually also // determines the virtual MAC address that is generated for the VRRP group. // The type is interface{} with range: 1..255. VirtualRouterId interface{} // Configure one or more virtual addresses for the VRRP group. The type is one // of the following types: slice of 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}]+)?, // or slice of 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}]+)?. VirtualAddress []interface{} // Specifies the sending VRRP interface's priority for the virtual router. // Higher values equal higher priority. The type is interface{} with range: // 1..254. The default value is 100. Priority interface{} // When set to true, enables preemption by a higher priority backup router of // a lower priority master router. The type is bool. The default value is // true. Preempt interface{} // Set the delay the higher priority router waits before preempting. The type // is interface{} with range: 0..3600. The default value is 0. PreemptDelay interface{} // Configure whether packets destined for virtual addresses are accepted even // when the virtual address is not owned by the router interface. The type is // bool. The default value is false. AcceptMode interface{} // Sets the interval between successive VRRP advertisements -- RFC 5798 // defines this as a 12-bit value expressed as 0.1 seconds, with default 100, // i.e., 1 second. Several implementation express this in units of seconds. // The type is interface{} with range: 1..4095. Units are centiseconds. The // default value is 100. AdvertisementInterval interface{} // Operational value of the priority for the interface in the VRRP group. The // type is interface{} with range: 0..255. CurrentPriority interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_State Operational state data for the VRRP group
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Addresses_Address_Vrrp_VrrpGroup_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // 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{} // 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{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Config Top-level IPv4 configuration data for the interface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // 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_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor. Neighbor []*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors Enclosing container for neighbor list
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors) GetEntityData ¶
func (neighbors *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. References the configured IP address. 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}]+)?. // Refers to // interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor_Config_Ip Ip interface{} // Configuration data for each configured IPv4 address on the interface. Config Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor_Config // Operational state data for each IPv4 address configured on the interface. State Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor_State }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_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_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor) GetEntityData ¶
func (neighbor *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // 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_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor_Config Configuration data for each configured IPv4 address on the interface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // 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{} // The origin of this neighbor entry, static or dynamic. The type is // NeighborOrigin. Origin interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor_State Operational state data for each IPv4 address configured on the interface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Neighbors_Neighbor_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // 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{} // 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{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_State Top level IPv4 operational state data
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration data for unnumbered interface. Config Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_Config // Operational state data for unnumbered interfaces. State Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_State // Reference to an interface or subinterface. InterfaceRef Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered Top-level container for setting unnumbered interfaces. Includes reference the interface that provides the address information
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered) GetEntityData ¶
func (unnumbered *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Indicates that the subinterface is unnumbered. By default the subinterface // is numbered, i.e., expected to have an IP address configuration. The type // is bool. The default value is false. Enabled interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_Config Configuration data for unnumbered interface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configured reference to interface / subinterface. Config Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef_Config // Operational state for interface-ref. State Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef_State }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef Reference to an interface or subinterface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef) GetEntityData ¶
func (interfaceRef *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Reference to a base interface. If a reference to a subinterface is // required, this leaf must be specified to indicate the base interface. The // type is string. Refers to interfaces.Interfaces_Interface_Name Interface interface{} // Reference to a subinterface -- this requires the base interface to be // specified using the interface leaf in this container. If only a reference // to a base interface is requuired, this leaf should not be set. The type is // string with range: 0..4294967295. Refers to // interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Index Subinterface interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef_Config Configured reference to interface / subinterface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Reference to a base interface. If a reference to a subinterface is // required, this leaf must be specified to indicate the base interface. The // type is string. Refers to interfaces.Interfaces_Interface_Name Interface interface{} // Reference to a subinterface -- this requires the base interface to be // specified using the interface leaf in this container. If only a reference // to a base interface is requuired, this leaf should not be set. The type is // string with range: 0..4294967295. Refers to // interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Index Subinterface interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef_State Operational state for interface-ref
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_InterfaceRef_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Indicates that the subinterface is unnumbered. By default the subinterface // is numbered, i.e., expected to have an IP address configuration. The type // is bool. The default value is false. Enabled interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_State Operational state data for unnumbered interfaces
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_Ipv4_Unnumbered_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6 ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6 struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Enclosing container for address list. Addresses Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses // Enclosing container for list of IPv6 neighbors. Neighbors Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors // Top-level container for setting unnumbered interfaces. Includes reference // the interface that provides the address information. Unnumbered Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered // Top-level config data for the IPv6 interface. Config Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Config // Top-level operational state data for the IPv6 interface. State Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_State }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6 Parameters for the IPv6 address family.
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6) GetEntityData ¶
func (ipv6 *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The list of configured IPv6 addresses on the interface. The type is slice // of Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address. Address []*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses Enclosing container for address list
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses) GetEntityData ¶
func (addresses *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. References the configured IP address. 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}]+)?. // Refers to // interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Config_Ip Ip interface{} // Configuration data for each IPv6 address on the interface. Config Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Config // State data for each IPv6 address on the interface. State Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State // Enclosing container for VRRP groups handled by this IP interface. Vrrp Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address The list of configured IPv6 addresses on the interface.
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address) GetEntityData ¶
func (address *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] The length of the subnet prefix. The // type is interface{} with range: 0..128. This attribute is mandatory. PrefixLength interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Config Configuration data for each IPv6 address on the interface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] The length of the subnet prefix. The // type is interface{} with range: 0..128. This attribute is mandatory. PrefixLength interface{} // [adapted from IETF IP model RFC 7277] The origin of this address, e.g., // static, dhcp, etc. The type is IpAddressOrigin. Origin interface{} // [adapted from IETF IP model RFC 7277] 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{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State State data for each IPv6 address on the interface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status string
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status represents Autoconfiguration protocol.
const ( // This is a valid address that can appear as the // destination or source address of a packet. Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status_PREFERRED Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_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. Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status_DEPRECATED Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status = "DEPRECATED" // This isn't a valid address, and it shouldn't appear // as the destination or source address of a packet. Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status_INVALID Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status = "INVALID" // The address is not accessible because the interface // to which this address is assigned is not // operational. Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status_INACCESSIBLE Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status = "INACCESSIBLE" // The status cannot be determined for some reason. Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status_UNKNOWN Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_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. Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status_TENTATIVE Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status = "TENTATIVE" // The address has been determined to be non-unique on // the link and so must not be used. Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status_DUPLICATE Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status = "DUPLICATE" // The address is available for use, subject to // restrictions, while its uniqueness on a link is // being verified. Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status_OPTIMISTIC Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_State_Status = "OPTIMISTIC" )
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // List of VRRP groups, keyed by virtual router id. The type is slice of // Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup. VrrpGroup []*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp Enclosing container for VRRP groups handled by this IP interface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp) GetEntityData ¶
func (vrrp *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. References the configured virtual router id for // this VRRP group. The type is string with range: 1..255. Refers to // interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config_VirtualRouterId VirtualRouterId interface{} // Configuration data for the VRRP group. Config Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config // Operational state data for the VRRP group. State Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_State // Top-level container for VRRP interface tracking. InterfaceTracking Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup List of VRRP groups, keyed by virtual router id
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup) GetEntityData ¶
func (vrrpGroup *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Set the virtual router id for use by the VRRP group. This usually also // determines the virtual MAC address that is generated for the VRRP group. // The type is interface{} with range: 1..255. VirtualRouterId interface{} // Configure one or more virtual addresses for the VRRP group. The type is one // of the following types: slice of 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}]+)?, // or slice of 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}]+)?. VirtualAddress []interface{} // Specifies the sending VRRP interface's priority for the virtual router. // Higher values equal higher priority. The type is interface{} with range: // 1..254. The default value is 100. Priority interface{} // When set to true, enables preemption by a higher priority backup router of // a lower priority master router. The type is bool. The default value is // true. Preempt interface{} // Set the delay the higher priority router waits before preempting. The type // is interface{} with range: 0..3600. The default value is 0. PreemptDelay interface{} // Configure whether packets destined for virtual addresses are accepted even // when the virtual address is not owned by the router interface. The type is // bool. The default value is false. AcceptMode interface{} // Sets the interval between successive VRRP advertisements -- RFC 5798 // defines this as a 12-bit value expressed as 0.1 seconds, with default 100, // i.e., 1 second. Several implementation express this in units of seconds. // The type is interface{} with range: 1..4095. Units are centiseconds. The // default value is 100. AdvertisementInterval interface{} // For VRRP on IPv6 interfaces, sets the virtual link local address. The type // is one of the following types: 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}]+)?, // or 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}]+)?. VirtualLinkLocal interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config Configuration data for the VRRP group
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration data for VRRP interface tracking. Config Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config // Operational state data for VRRP interface tracking. State Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking Top-level container for VRRP interface tracking
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking) GetEntityData ¶
func (interfaceTracking *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Sets an interface that should be tracked for up/down events to dynamically // change the priority state of the VRRP group, and potentially change the // mastership if the tracked interface going down lowers the priority // sufficiently. The type is string. Refers to // interfaces.Interfaces_Interface_Name TrackInterface interface{} // Set the value to subtract from priority when the tracked interface goes // down. The type is interface{} with range: 0..254. The default value is 0. PriorityDecrement interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config Configuration data for VRRP interface tracking
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Sets an interface that should be tracked for up/down events to dynamically // change the priority state of the VRRP group, and potentially change the // mastership if the tracked interface going down lowers the priority // sufficiently. The type is string. Refers to // interfaces.Interfaces_Interface_Name TrackInterface interface{} // Set the value to subtract from priority when the tracked interface goes // down. The type is interface{} with range: 0..254. The default value is 0. PriorityDecrement interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State Operational state data for VRRP interface tracking
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_InterfaceTracking_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Set the virtual router id for use by the VRRP group. This usually also // determines the virtual MAC address that is generated for the VRRP group. // The type is interface{} with range: 1..255. VirtualRouterId interface{} // Configure one or more virtual addresses for the VRRP group. The type is one // of the following types: slice of 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}]+)?, // or slice of 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}]+)?. VirtualAddress []interface{} // Specifies the sending VRRP interface's priority for the virtual router. // Higher values equal higher priority. The type is interface{} with range: // 1..254. The default value is 100. Priority interface{} // When set to true, enables preemption by a higher priority backup router of // a lower priority master router. The type is bool. The default value is // true. Preempt interface{} // Set the delay the higher priority router waits before preempting. The type // is interface{} with range: 0..3600. The default value is 0. PreemptDelay interface{} // Configure whether packets destined for virtual addresses are accepted even // when the virtual address is not owned by the router interface. The type is // bool. The default value is false. AcceptMode interface{} // Sets the interval between successive VRRP advertisements -- RFC 5798 // defines this as a 12-bit value expressed as 0.1 seconds, with default 100, // i.e., 1 second. Several implementation express this in units of seconds. // The type is interface{} with range: 1..4095. Units are centiseconds. The // default value is 100. AdvertisementInterval interface{} // Operational value of the priority for the interface in the VRRP group. The // type is interface{} with range: 0..255. CurrentPriority interface{} // For VRRP on IPv6 interfaces, sets the virtual link local address. The type // is one of the following types: 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}]+)?, // or 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}]+)?. VirtualLinkLocal interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_State Operational state data for the VRRP group
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Addresses_Address_Vrrp_VrrpGroup_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] 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{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Config Top-level config data for the IPv6 interface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // List of IPv6 neighbors. The type is slice of // Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor. Neighbor []*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors Enclosing container for list of IPv6 neighbors
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors) GetEntityData ¶
func (neighbors *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. References the configured IP neighbor address. 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}]+)?. // Refers to // interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_Config_Ip Ip interface{} // Configuration data for each IPv6 address on the interface. Config Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_Config // State data for each IPv6 address on the interface. State Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor List of IPv6 neighbors
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor) GetEntityData ¶
func (neighbor *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] 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_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_Config Configuration data for each IPv6 address on the interface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] The origin of this neighbor entry. // The type is NeighborOrigin. Origin interface{} // [adapted from IETF IP model RFC 7277] Indicates that the neighbor node // acts as a router. The type is interface{}. IsRouter interface{} // [adapted from IETF IP model RFC 7277] The Neighbor Unreachability // Detection state of this entry. The type is NeighborState. NeighborState interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State State data for each IPv6 address on the interface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State_NeighborState ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State_NeighborState string
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State_NeighborState represents entry.
const ( // Address resolution is in progress, and the link-layer // address of the neighbor has not yet been // determined. Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State_NeighborState_INCOMPLETE Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State_NeighborState = "INCOMPLETE" // Roughly speaking, the neighbor is known to have been // reachable recently (within tens of seconds ago). Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State_NeighborState_REACHABLE Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State_NeighborState = "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. Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State_NeighborState_STALE Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State_NeighborState = "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. Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State_NeighborState_DELAY Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State_NeighborState = "DELAY" // The neighbor is no longer known to be reachable, and // unicast Neighbor Solicitation probes are being sent // to verify reachability. Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State_NeighborState_PROBE Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Neighbors_Neighbor_State_NeighborState = "PROBE" )
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] 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{} // [adapted from IETF IP model RFC 7277] 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{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_State Top-level operational state data for the IPv6 interface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration data for unnumbered interface. Config Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_Config // Operational state data for unnumbered interfaces. State Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_State // Reference to an interface or subinterface. InterfaceRef Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered Top-level container for setting unnumbered interfaces. Includes reference the interface that provides the address information
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered) GetEntityData ¶
func (unnumbered *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Indicates that the subinterface is unnumbered. By default the subinterface // is numbered, i.e., expected to have an IP address configuration. The type // is bool. The default value is false. Enabled interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_Config Configuration data for unnumbered interface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configured reference to interface / subinterface. Config Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef_Config // Operational state for interface-ref. State Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef_State }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef Reference to an interface or subinterface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef) GetEntityData ¶
func (interfaceRef *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Reference to a base interface. If a reference to a subinterface is // required, this leaf must be specified to indicate the base interface. The // type is string. Refers to interfaces.Interfaces_Interface_Name Interface interface{} // Reference to a subinterface -- this requires the base interface to be // specified using the interface leaf in this container. If only a reference // to a base interface is requuired, this leaf should not be set. The type is // string with range: 0..4294967295. Refers to // interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Index Subinterface interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef_Config Configured reference to interface / subinterface
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Reference to a base interface. If a reference to a subinterface is // required, this leaf must be specified to indicate the base interface. The // type is string. Refers to interfaces.Interfaces_Interface_Name Interface interface{} // Reference to a subinterface -- this requires the base interface to be // specified using the interface leaf in this container. If only a reference // to a base interface is requuired, this leaf should not be set. The type is // string with range: 0..4294967295. Refers to // interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Index Subinterface interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef_State Operational state for interface-ref
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_InterfaceRef_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Indicates that the subinterface is unnumbered. By default the subinterface // is numbered, i.e., expected to have an IP address configuration. The type // is bool. The default value is false. Enabled interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_State Operational state data for unnumbered interfaces
func (*Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_Ipv6_Unnumbered_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The index of the subinterface, or logical interface number. On systems with // no support for subinterfaces, or not using subinterfaces, this value should // default to 0, i.e., the default subinterface. The type is interface{} with // range: 0..4294967295. The default value is 0. Index interface{} // [adapted from IETF interfaces model (RFC 7223)] 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/interface[name]/state 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 corresponding state // 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. The // IETF model in RFC 7223 provides YANG features for the following (i.e., // pre-provisioning and arbitrary-names), however they are omitted here: 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 // /interfaces/interface[name]/state list. The type is string. Name interface{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // System assigned number for each interface. Corresponds to ifIndex object // in SNMP Interface MIB. The type is interface{} with range: 0..4294967295. Ifindex interface{} // [adapted from IETF interfaces model (RFC 7223)] The desired state of the // interface. In RFC 7223 this leaf has the same read semantics as // ifAdminStatus. Here, it reflects the administrative state as set by // enabling or disabling the interface. The type is AdminStatus. This // attribute is mandatory. AdminStatus interface{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // Date and time of the last state change of the interface (e.g., up-to-down // transition). This corresponds to the ifLastChange object in the standard // interface MIB. The type is interface{} with range: 0..4294967295. LastChange interface{} // A collection of interface-related statistics objects. Counters Interfaces_Interface_Subinterfaces_Subinterface_State_Counters }
Interfaces_Interface_Subinterfaces_Subinterface_State Operational state data for logical interfaces
func (*Interfaces_Interface_Subinterfaces_Subinterface_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_State) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus ¶
type Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus string
Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus represents disabling the interface.
const ( // Ready to pass packets. Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus_UP Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus = "UP" // Not ready to pass packets and not in some test mode. Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus_DOWN Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus = "DOWN" // In some test mode. Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus_TESTING Interfaces_Interface_Subinterfaces_Subinterface_State_AdminStatus = "TESTING" )
type Interfaces_Interface_Subinterfaces_Subinterface_State_Counters ¶
type Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] Changed the counter type to // counter64. 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..18446744073709551615. InDiscards interface{} // [adapted from IETF interfaces model (RFC 7223)] Changed the counter type to // counter64. 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..18446744073709551615. InErrors interface{} // [adapted from IETF interfaces model (RFC 7223)] Changed the counter type to // counter64. 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{} // [adapted from IETF interfaces model (RFC 7223)] Changed the counter type to // counter64. 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{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] 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{} // [adapted from IETF interfaces model (RFC 7223)] Changed the counter type to // counter64. 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{} // [adapted from IETF interfaces model (RFC 7223)] Changed the counter type to // counter64. 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..18446744073709551615. OutDiscards interface{} // [adapted from IETF interfaces model (RFC 7223)] Changed the counter type to // counter64. 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..18446744073709551615. OutErrors interface{} // Indicates the last time the interface counters were cleared. 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}). LastClear interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_State_Counters A collection of interface-related statistics objects.
func (*Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetEntityData ¶
func (counters *Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus ¶
type Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus string
Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus represents This leaf has the same semantics as ifOperStatus.
const ( // Ready to pass packets. Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus_UP Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus = "UP" // The interface does not pass any packets. Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus_DOWN Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus = "DOWN" // In some test mode. No operational packets can // be passed. Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus_TESTING Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus = "TESTING" // Status cannot be determined for some reason. Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus_UNKNOWN Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus = "UNKNOWN" // Waiting for some external event. Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus_DORMANT Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus = "DORMANT" // Some component (typically hardware) is missing. Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus_NOT_PRESENT Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus = "NOT_PRESENT" // Down due to state of lower-layer interface(s). Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus_LOWER_LAYER_DOWN Interfaces_Interface_Subinterfaces_Subinterface_State_OperStatus = "LOWER_LAYER_DOWN" )
type Interfaces_Interface_Subinterfaces_Subinterface_Vlan ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Vlan struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration parameters for VLANs. Config Interfaces_Interface_Subinterfaces_Subinterface_Vlan_Config // State variables for VLANs. State Interfaces_Interface_Subinterfaces_Subinterface_Vlan_State }
Interfaces_Interface_Subinterfaces_Subinterface_Vlan Enclosing container for VLAN interface-specific data on subinterfaces
func (*Interfaces_Interface_Subinterfaces_Subinterface_Vlan) GetEntityData ¶
func (vlan *Interfaces_Interface_Subinterfaces_Subinterface_Vlan) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Vlan_Config ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Vlan_Config struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // VLAN id for the subinterface -- specified inline for the case of a local // VLAN. The id is scoped to the subinterface, and could be repeated on // different subinterfaces. The type is one of the following types: int with // range: 1..4094, or string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$. VlanId interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Vlan_Config Configuration parameters for VLANs
func (*Interfaces_Interface_Subinterfaces_Subinterface_Vlan_Config) GetEntityData ¶
func (config *Interfaces_Interface_Subinterfaces_Subinterface_Vlan_Config) GetEntityData() *types.CommonEntityData
type Interfaces_Interface_Subinterfaces_Subinterface_Vlan_State ¶
type Interfaces_Interface_Subinterfaces_Subinterface_Vlan_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // VLAN id for the subinterface -- specified inline for the case of a local // VLAN. The id is scoped to the subinterface, and could be repeated on // different subinterfaces. The type is one of the following types: int with // range: 1..4094, or string with pattern: // ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$. VlanId interface{} }
Interfaces_Interface_Subinterfaces_Subinterface_Vlan_State State variables for VLANs
func (*Interfaces_Interface_Subinterfaces_Subinterface_Vlan_State) GetEntityData ¶
func (state *Interfaces_Interface_Subinterfaces_Subinterface_Vlan_State) GetEntityData() *types.CommonEntityData