public interface IetfInterfacesData extends DataRoot
This class represents the following YANG schema fragment defined in module ietf-interfaces
module ietf-interfaces { namespace urn:ietf:params:xml:ns:yang:ietf-interfaces; prefix if; import ietf-yang-types { prefix yang; } revision 2014-05-08 { } typedef interface-ref { type leafref { path /if:interfaces/if:interface/if:name; } } typedef interface-state-ref { type leafref { path /if:interfaces-state/if:interface/if:name; } } identity interface-type { } feature arbitrary-names { } feature pre-provisioning { } feature if-mib { } container interfaces { list interface { key name; leaf name { type string; } leaf description { type string; } leaf type { type identityref { base interface-type; } } leaf enabled { type boolean; default true; } leaf link-up-down-trap-enable { if-feature if-mib; type enumeration { enum enabled { value 1; } enum disabled { value 2; } } } } } container interfaces-state { config false; list interface { key name; leaf name { type string; } leaf type { type identityref { base interface-type; } } leaf admin-status { if-feature if-mib; type enumeration { enum up { value 1; } enum down { value 2; } enum testing { value 3; } } } leaf oper-status { type enumeration { enum up { value 1; } enum down { value 2; } enum testing { value 3; } enum unknown { value 4; } enum dormant { value 5; } enum not-present { value 6; } enum lower-layer-down { value 7; } } } leaf last-change { type yang:date-and-time; } leaf if-index { if-feature if-mib; type int32 { range 1..2147483647; } } leaf phys-address { type yang:phys-address; } leaf-list higher-layer-if { type interface-state-ref; } leaf-list lower-layer-if { type interface-state-ref; } leaf speed { type yang:gauge64; units bits/second; } container statistics { leaf discontinuity-time { type yang:date-and-time; } leaf in-octets { type yang:counter64; } leaf in-unicast-pkts { type yang:counter64; } leaf in-broadcast-pkts { type yang:counter64; } leaf in-multicast-pkts { type yang:counter64; } leaf in-discards { type yang:counter32; } leaf in-errors { type yang:counter32; } leaf in-unknown-protos { type yang:counter32; } leaf out-octets { type yang:counter64; } leaf out-unicast-pkts { type yang:counter64; } leaf out-broadcast-pkts { type yang:counter64; } leaf out-multicast-pkts { type yang:counter64; } leaf out-discards { type yang:counter32; } leaf out-errors { type yang:counter32; } } } } }
Modifier and Type | Method and Description |
---|---|
@Nullable Interfaces |
getInterfaces()
Interface configuration parameters.
|
@Nullable InterfacesState |
getInterfacesState()
Data nodes for the operational state of interfaces.
|
@Nullable Interfaces getInterfaces()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces
interfaces
, or null
if not present@Nullable InterfacesState getInterfacesState()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.InterfacesState
interfacesState
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.