Interface StaticRoutes

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

    public interface StaticRoutes
    extends org.opendaylight.yangtools.yang.binding.ChildOf<LocalStaticTop>, org.opendaylight.yangtools.yang.binding.Augmentable<StaticRoutes>
    Enclosing container for the list of static routes

    This class represents the following YANG schema fragment defined in module openconfig-local-routing

     container static-routes {
       list static {
         key prefix;
         leaf prefix {
           type leafref {
             path ../config/prefix;
           }
         }
         container config {
           uses local-static-config;
         }
         container state {
           config false;
           uses local-static-config;
           uses local-static-state;
         }
       }
     }
     
    The schema path to identify an instance is openconfig-local-routing/local-static-top/static-routes

    To create instances of this class use StaticRoutesBuilder.

    See Also:
    StaticRoutesBuilder
    • 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
      • getStatic

        @Nullable Map<StaticKey,​Static> getStatic()
        List of locally configured static routes
        Returns:
        java.util.Map static, or null if not present
      • nonnullStatic

        default @NonNull Map<StaticKey,​Static> nonnullStatic()
        Returns:
        java.util.Map static, or an empty list if it is not present