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;
     }
   }
 }
 
  • Enum Constant Details

    • IpV4

      public static final AddressFamily IpV4
      IP version 4
    • IpV6

      public static final AddressFamily IpV6
      IP version 6
    • Nsap

      public static final AddressFamily Nsap
      NSAP
    • Hdlc

      public static final AddressFamily Hdlc
      HDLC (8-bit multidrop)
    • Bbn1822

      public static final AddressFamily Bbn1822
      BBN 1822
    • All802

      public static final AddressFamily All802
      802 (includes all 802 media plus Ethernet 'canonical format')
    • E163

      public static final AddressFamily E163
      E.163
    • E164

      public static final AddressFamily E164
      E.164 (SMDS, FrameRelay, ATM)
    • F69

      public static final AddressFamily F69
      F.69 (Telex)
    • X121

      public static final AddressFamily X121
      X.121 (X.25, Frame Relay)
    • Ipx

      public static final AddressFamily Ipx
      IPX (Internetwork Packet Exchange)
    • Appletalk

      public static final AddressFamily Appletalk
      Appletalk
    • DecnetIV

      public static final AddressFamily DecnetIV
      DECnet IV
    • BanyanVines

      public static final AddressFamily BanyanVines
      Banyan Vines
    • E164withNsap

      public static final AddressFamily E164withNsap
      E.164 with NSAP format subaddress
    • Dns

      public static final AddressFamily Dns
      DNS (Domain Name System)
    • DistinguishedName

      public static final AddressFamily DistinguishedName
      Distinguished Name (per X.500)
    • AsNumber

      public static final AddressFamily AsNumber
      Autonomous System Number
    • XtpOverIpv4

      public static final AddressFamily XtpOverIpv4
      XTP over IP version 4
    • XtpOverIpv6

      public static final AddressFamily XtpOverIpv6
      XTP over IP version 6
    • XtpNativeModeXTP

      public static final AddressFamily XtpNativeModeXTP
      XTP native mode XTP
    • FibreChannelWWPN

      public static final AddressFamily FibreChannelWWPN
      Fibre Channel World-Wide Port Name
    • FibreChannelWWNN

      public static final AddressFamily FibreChannelWWNN
      Fibre Channel World-Wide Node Name
    • Gwid

      public static final AddressFamily Gwid
      Gateway Identifier
    • L2vpn

      public static final AddressFamily L2vpn
      AFI for L2VPN information
    • MplsTpSectionEndpointIdentifier

      public static final AddressFamily MplsTpSectionEndpointIdentifier
      MPLS-TP Section Endpoint Identifier
    • MplsTpLspEndpointIdentifier

      public static final AddressFamily MplsTpLspEndpointIdentifier
      MPLS-TP LSP Endpoint Identifier
    • MplsTpPseudowireEndpointIdentifier

      public static final AddressFamily MplsTpPseudowireEndpointIdentifier
      MPLS-TP Pseudowire Endpoint Identifier
    • EigrpCommonServiceFamily

      public static final AddressFamily EigrpCommonServiceFamily
      EIGRP Common Service Family
    • EigrpIpv4ServiceFamily

      public static final AddressFamily EigrpIpv4ServiceFamily
      EIGRP IPv4 Service Family
    • EigrpIpv6ServiceFamily

      public static final AddressFamily EigrpIpv6ServiceFamily
      EIGRP IPv6 Service Family
    • LispCanonicalAddressFormat

      public static final AddressFamily LispCanonicalAddressFormat
      LISP Canonical Address Format (LCAF)
    • BgpLs

      public static final AddressFamily BgpLs
      BGP-LS
    • _48BitMac

      public static final AddressFamily _48BitMac
      48-bit MAC
    • _64BitMac

      public static final AddressFamily _64BitMac
      64-bit MAC
  • Method Details

    • values

      public static AddressFamily[] 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

      public static AddressFamily valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getName

      public @NonNull String getName()
      Specified by:
      getName in interface org.opendaylight.yangtools.yang.binding.Enumeration
    • getIntValue

      public int getIntValue()
      Specified by:
      getIntValue in interface org.opendaylight.yangtools.yang.binding.Enumeration
    • forName

      public static @Nullable AddressFamily forName(String name)
      Return the enumeration member whose getName() matches specified assigned name.
      Parameters:
      name - YANG assigned name
      Returns:
      corresponding AddressFamily item, or null if no such item exists
      Throws:
      NullPointerException - if name is null
    • forValue

      public static @Nullable AddressFamily forValue(int intValue)
      Return the enumeration member whose getIntValue() matches specified value.
      Parameters:
      intValue - integer value
      Returns:
      corresponding AddressFamily item, or null if no such item exists
    • ofName

      public static @NonNull AddressFamily ofName(String name)
      Return the enumeration member whose getName() matches specified assigned name.
      Parameters:
      name - YANG assigned name
      Returns:
      corresponding AddressFamily item
      Throws:
      NullPointerException - if name is null
      IllegalArgumentException - if name does not match any item
    • ofValue

      public static @NonNull AddressFamily ofValue(int intValue)
      Return the enumeration member whose getIntValue() matches specified value.
      Parameters:
      intValue - integer value
      Returns:
      corresponding AddressFamily item
      Throws:
      IllegalArgumentException - if intValue does not match any item