Enum Class AddressFamily
java.lang.Object
java.lang.Enum<AddressFamily>
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana.afn.safi.rev130704.AddressFamily
- All Implemented Interfaces:
Serializable
,Comparable<AddressFamily>
,Constable
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.Enumeration
,org.opendaylight.yangtools.yang.binding.TypeObject
@Generated("mdsal-binding-generator")
public enum AddressFamily
extends Enum<AddressFamily>
implements org.opendaylight.yangtools.yang.binding.Enumeration
This class represents the following YANG schema fragment defined in module iana-afn-safi
typedef address-family { type enumeration { enum ipV4 { value 1; } enum ipV6 { value 2; } enum nsap { value 3; } enum hdlc { value 4; } enum bbn1822 { value 5; } enum all802 { value 6; } enum e163 { value 7; } enum e164 { value 8; } enum f69 { value 9; } enum x121 { value 10; } enum ipx { value 11; } enum appletalk { value 12; } enum decnetIV { value 13; } enum banyanVines { value 14; } enum e164withNsap { value 15; } enum dns { value 16; } enum distinguishedName { value 17; } enum asNumber { value 18; } enum xtpOverIpv4 { value 19; } enum xtpOverIpv6 { value 20; } enum xtpNativeModeXTP { value 21; } enum fibreChannelWWPN { value 22; } enum fibreChannelWWNN { value 23; } enum gwid { value 24; } enum l2vpn { value 25; } enum mplsTpSectionEndpointIdentifier { value 26; } enum mplsTpLspEndpointIdentifier { value 27; } enum mplsTpPseudowireEndpointIdentifier { value 28; } enum eigrpCommonServiceFamily { value 16384; } enum eigrpIpv4ServiceFamily { value 16385; } enum eigrpIpv6ServiceFamily { value 16386; } enum lispCanonicalAddressFormat { value 16387; } enum bgpLs { value 16388; } enum 48BitMac { value 16389; } enum 64BitMac { value 16390; } } }
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription48-bit MAC64-bit MAC802 (includes all 802 media plus Ethernet 'canonical format')AppletalkAutonomous System NumberBanyan VinesBBN 1822BGP-LSDECnet IVDistinguished Name (per X.500)DNS (Domain Name System)E.163E.164 (SMDS, FrameRelay, ATM)E.164 with NSAP format subaddressEIGRP Common Service FamilyEIGRP IPv4 Service FamilyEIGRP IPv6 Service FamilyF.69 (Telex)Fibre Channel World-Wide Node NameFibre Channel World-Wide Port NameGateway IdentifierHDLC (8-bit multidrop)IP version 4IP version 6IPX (Internetwork Packet Exchange)AFI for L2VPN informationLISP Canonical Address Format (LCAF)MPLS-TP LSP Endpoint IdentifierMPLS-TP Pseudowire Endpoint IdentifierMPLS-TP Section Endpoint IdentifierNSAPX.121 (X.25, Frame Relay)XTP native mode XTPXTP over IP version 4XTP over IP version 6 -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable AddressFamily
Return the enumeration member whosegetName()
matches specified assigned name.static @Nullable AddressFamily
forValue
(int intValue) Return the enumeration member whosegetIntValue()
matches specified value.int
@NonNull String
getName()
static @NonNull AddressFamily
Return the enumeration member whosegetName()
matches specified assigned name.static @NonNull AddressFamily
ofValue
(int intValue) Return the enumeration member whosegetIntValue()
matches specified value.static AddressFamily
Returns the enum constant of this class with the specified name.static AddressFamily[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IpV4
IP version 4 -
IpV6
IP version 6 -
Nsap
NSAP -
Hdlc
HDLC (8-bit multidrop) -
Bbn1822
BBN 1822 -
All802
802 (includes all 802 media plus Ethernet 'canonical format') -
E163
E.163 -
E164
E.164 (SMDS, FrameRelay, ATM) -
F69
F.69 (Telex) -
X121
X.121 (X.25, Frame Relay) -
Ipx
IPX (Internetwork Packet Exchange) -
Appletalk
Appletalk -
DecnetIV
DECnet IV -
BanyanVines
Banyan Vines -
E164withNsap
E.164 with NSAP format subaddress -
Dns
DNS (Domain Name System) -
DistinguishedName
Distinguished Name (per X.500) -
AsNumber
Autonomous System Number -
XtpOverIpv4
XTP over IP version 4 -
XtpOverIpv6
XTP over IP version 6 -
XtpNativeModeXTP
XTP native mode XTP -
FibreChannelWWPN
Fibre Channel World-Wide Port Name -
FibreChannelWWNN
Fibre Channel World-Wide Node Name -
Gwid
Gateway Identifier -
L2vpn
AFI for L2VPN information -
MplsTpSectionEndpointIdentifier
MPLS-TP Section Endpoint Identifier -
MplsTpLspEndpointIdentifier
MPLS-TP LSP Endpoint Identifier -
MplsTpPseudowireEndpointIdentifier
MPLS-TP Pseudowire Endpoint Identifier -
EigrpCommonServiceFamily
EIGRP Common Service Family -
EigrpIpv4ServiceFamily
EIGRP IPv4 Service Family -
EigrpIpv6ServiceFamily
EIGRP IPv6 Service Family -
LispCanonicalAddressFormat
LISP Canonical Address Format (LCAF) -
BgpLs
BGP-LS -
_48BitMac
48-bit MAC -
_64BitMac
64-bit MAC
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
- Specified by:
getName
in interfaceorg.opendaylight.yangtools.yang.binding.Enumeration
-
getIntValue
public int getIntValue()- Specified by:
getIntValue
in interfaceorg.opendaylight.yangtools.yang.binding.Enumeration
-
forName
Return the enumeration member whosegetName()
matches specified assigned name.- Parameters:
name
- YANG assigned name- Returns:
- corresponding AddressFamily item, or
null
if no such item exists - Throws:
NullPointerException
- ifname
is null
-
forValue
Return the enumeration member whosegetIntValue()
matches specified value.- Parameters:
intValue
- integer value- Returns:
- corresponding AddressFamily item, or
null
if no such item exists
-
ofName
Return the enumeration member whosegetName()
matches specified assigned name.- Parameters:
name
- YANG assigned name- Returns:
- corresponding AddressFamily item
- Throws:
NullPointerException
- ifname
is nullIllegalArgumentException
- ifname
does not match any item
-
ofValue
Return the enumeration member whosegetIntValue()
matches specified value.- Parameters:
intValue
- integer value- Returns:
- corresponding AddressFamily item
- Throws:
IllegalArgumentException
- ifintValue
does not match any item
-