Interface Address

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    SetNextHopAction, SetNwDstAction, SetNwSrcAction

    @Generated("mdsal-binding-generator")
    public interface Address
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module opendaylight-action-types

     grouping address {
       choice address {
         case ipv4 {
           leaf ipv4-address {
             type inet:ipv4-prefix;
           }
         }
         case ipv6 {
           leaf ipv6-address {
             type inet:ipv6-prefix;
           }
         }
       }
     }
     
    The schema path to identify an instance is opendaylight-action-types/address
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends Address> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getAddress

        Address getAddress()
        Return address, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.address.Address address, or null if it is not present.