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
All Known Subinterfaces:
OpenconfigRoutingPolicyData

@Generated("mdsal-binding-generator") public interface RoutingPolicyTop extends org.opendaylight.yangtools.yang.binding.DataObject
Top level container for OpenConfig routing policy

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

 grouping routing-policy-top {
   container routing-policy {
     container defined-sets {
       uses generic-defined-sets;
     }
     container policy-definitions {
       list policy-definition {
         key name;
         leaf name {
           type string;
         }
         container statements {
           list statement {
             key name;
             ordered-by user;
             leaf name {
               type string;
             }
             container conditions {
               leaf call-policy {
                 type leafref {
                   path /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:name;
                 }
               }
               uses generic-conditions;
               uses igp-conditions;
             }
             container actions {
               uses generic-actions;
               uses igp-actions;
             }
           }
         }
       }
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return routingPolicy, or null if it is not present.
     
    @NonNull RoutingPolicy
    Return routingPolicy, or an empty instance if it is not present.
  • 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 RoutingPolicyTop> 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
    • getRoutingPolicy

      RoutingPolicy getRoutingPolicy()
      Return routingPolicy, or null if it is not present.
           
               top-level container for all routing policy configuration
           
       
      Returns:
      RoutingPolicy routingPolicy, or null if it is not present.
    • nonnullRoutingPolicy

      @NonNull RoutingPolicy nonnullRoutingPolicy()
      Return routingPolicy, or an empty instance if it is not present.
      Returns:
      RoutingPolicy routingPolicy, or an empty instance if it is not present.