Interface Computes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Computes>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<GetDpnInfoOutput>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<ComputesKey>

    public interface Computes
    extends org.opendaylight.yangtools.yang.binding.ChildOf<GetDpnInfoOutput>, org.opendaylight.yangtools.yang.binding.Augmentable<Computes>, org.opendaylight.yangtools.yang.binding.Identifiable<ComputesKey>

    This class represents the following YANG schema fragment defined in module itm-rpc

     list computes {
       key compute-name;
       leaf compute-name {
         type string;
       }
       leaf zone-name {
         type string;
       }
       leaf prefix {
         type inet:ip-prefix;
       }
       leaf dpn-id {
         type uint64;
       }
       leaf-list tep-ip {
         type inet:ip-address;
       }
       leaf port-name {
         type string;
       }
       leaf node-id {
         type string;
       }
     }
     
    The schema path to identify an instance is itm-rpc/get-dpn-info/output/computes

    To create instances of this class use ComputesBuilder.

    See Also:
    ComputesBuilder, ComputesKey
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<Computes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getComputeName

        @Nullable java.lang.String getComputeName()
        Returns:
        java.lang.String computeName, or null if not present
      • getZoneName

        @Nullable java.lang.String getZoneName()
        Returns:
        java.lang.String zoneName, or null if not present
      • getPrefix

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getPrefix()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix prefix, or null if not present
      • getDpnId

        @Nullable org.opendaylight.yangtools.yang.common.Uint64 getDpnId()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint64 dpnId, or null if not present
      • getTepIp

        @Nullable java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress> getTepIp()
        Returns:
        java.util.List tepIp, or null if not present
      • getPortName

        @Nullable java.lang.String getPortName()
        Returns:
        java.lang.String portName, or null if not present
      • getNodeId

        @Nullable java.lang.String getNodeId()
        Returns:
        java.lang.String nodeId, or null if not present
      • key

        ComputesKey key()
        Specified by:
        key in interface org.opendaylight.yangtools.yang.binding.Identifiable<ComputesKey>