All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, HwvtepNodeIdentification
All Known Subinterfaces:
LogicalRouters

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

This class represents the following YANG schema fragment defined in module hwvtep

 grouping hwvtep-logical-router-attributes {
   uses hwvtep-node-identification;
   leaf logical-router-uuid {
     type yang:uuid;
   }
   list switch-bindings {
     leaf destination-address {
       type inet:ip-prefix;
     }
     leaf logical-switch-ref {
       type hwvtep-logical-switch-ref;
     }
   }
   list static-routes {
     leaf destination-address {
       type inet:ip-prefix;
     }
     leaf nexthop-address {
       type inet:ip-address;
     }
   }
   list acl-bindings {
     key router-interface;
     leaf router-interface {
       type inet:ip-prefix;
     }
     leaf acl-ref {
       type hwvtep-acl-ref;
     }
   }
 }
 
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends HwvtepLogicalRouterAttributes> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      Specified by:
      implementedInterface in interface HwvtepNodeIdentification
    • getLogicalRouterUuid

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getLogicalRouterUuid()
      Return logicalRouterUuid, or null if it is not present.
           
               A unique identifier of the logical router
           
       
      Returns:
      Uuid logicalRouterUuid, or null if it is not present.
    • requireLogicalRouterUuid

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireLogicalRouterUuid()
      Return logicalRouterUuid, guaranteed to be non-null.
           
               A unique identifier of the logical router
           
       
      Returns:
      Uuid logicalRouterUuid, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if logicalRouterUuid is not present
    • getSwitchBindings

      @Nullable List<SwitchBindings> getSwitchBindings()
      Return switchBindings, or null if it is not present.
           
               A map of IPv4 or IPv6 address prefix in CIDR notation to logical switch.
               Multiple prefixes may map to the same switch. By writing a 32-bit (or 128-bit
               for v6) address with a /N prefix length, both the router's interface address and
               the subnet prefix can be configured. For example, 192.68.1.1/24 creates a /24
               subnet for the logical switch attached to the interface and assigns the address
               192.68.1.1 to the router interface.
           
       
      Returns:
      List<SwitchBindings> switchBindings, or null if it is not present.
    • nonnullSwitchBindings

      default @NonNull List<SwitchBindings> nonnullSwitchBindings()
      Return switchBindings, or an empty list if it is not present.
      Returns:
      List<SwitchBindings> switchBindings, or an empty list if it is not present.
    • getStaticRoutes

      @Nullable List<StaticRoutes> getStaticRoutes()
      Return staticRoutes, or null if it is not present.
           
               map of string-string pairs. One or more static routes, mapping IP prefixes to
               next hop IP addresses.
           
       
      Returns:
      List<StaticRoutes> staticRoutes, or null if it is not present.
    • nonnullStaticRoutes

      default @NonNull List<StaticRoutes> nonnullStaticRoutes()
      Return staticRoutes, or an empty list if it is not present.
      Returns:
      List<StaticRoutes> staticRoutes, or an empty list if it is not present.
    • getAclBindings

      @Nullable Map<AclBindingsKey,AclBindings> getAclBindings()
      Return aclBindings, or null if it is not present.
           
               map of string-ACL pairs. Maps ACLs to logical router interfaces. The router
               interfaces are indicated using IP address notation, and must be the same
               interfaces created in the switch_binding column. For example, an ACL could be
               associated with the logical router interface with an address of 192.68.1.1 as
               defined in the example above.
           
       
      Returns:
      Map<AclBindingsKey, AclBindings> aclBindings, or null if it is not present.
    • nonnullAclBindings

      default @NonNull Map<AclBindingsKey,AclBindings> nonnullAclBindings()
      Return aclBindings, or an empty list if it is not present.
      Returns:
      Map<AclBindingsKey, AclBindings> aclBindings, or an empty list if it is not present.