Interface HwvtepLogicalRouterAttributes

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

    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;
         }
       }
     }
     
    The schema path to identify an instance is hwvtep/hwvtep-logical-router-attributes
    • Field Detail

      • QNAME

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

      • getLogicalRouterUuid

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

        @Nullable List<SwitchBindings> getSwitchBindings()
        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:
        java.util.List switchBindings, or null if not present
      • nonnullSwitchBindings

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

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

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

        @Nullable List<AclBindings> getAclBindings()
        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:
        java.util.List aclBindings, or null if not present
      • nonnullAclBindings

        default @NonNull List<AclBindings> nonnullAclBindings()
        Returns:
        java.util.List aclBindings, or an empty list if it is not present