Interface StaticRoutes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<StaticRoutes>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<HwvtepLogicalRouterAttributes>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface StaticRoutes
    extends org.opendaylight.yangtools.yang.binding.ChildOf<HwvtepLogicalRouterAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<StaticRoutes>
    map of string-string pairs. One or more static routes, mapping IP prefixes to next hop IP addresses.

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

     list static-routes {
       leaf destination-address {
         type inet:ip-prefix;
       }
       leaf nexthop-address {
         type inet:ip-address;
       }
     }
     
    The schema path to identify an instance is hwvtep/hwvtep-logical-router-attributes/static-routes

    To create instances of this class use StaticRoutesBuilder.

    See Also:
    StaticRoutesBuilder
    • 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 Class<StaticRoutes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getDestinationAddress

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getDestinationAddress()
        IPv4 or IPv6 address prefix in CIDR notation
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix destinationAddress, or null if not present
      • getNexthopAddress

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getNexthopAddress()
        IP address of next hop
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress nexthopAddress, or null if not present