Interface Static

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

    public interface Static
    extends org.opendaylight.yangtools.yang.binding.ChildOf<StaticRoutes>, org.opendaylight.yangtools.yang.binding.Augmentable<Static>, org.opendaylight.yangtools.yang.binding.Identifiable<StaticKey>
    List of locally configured static routes

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

     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/static

    To create instances of this class use StaticBuilder.

    See Also:
    StaticBuilder, StaticKey
    • 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<Static> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getPrefix

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getPrefix()
        Reference to the destination prefix for the static route
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix prefix, or null if not present
      • getConfig

        @Nullable Config getConfig()
        Configuration data for static routes
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.local.routing.rev151009.local._static.top._static.routes._static.Config config, or null if not present
      • getState

        @Nullable State getState()
        Operational state data for static routes
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.local.routing.rev151009.local._static.top._static.routes._static.State state, or null if not present
      • key

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