All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentation<Protocol>, BgpTop, 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

@Generated("mdsal-binding-generator") public interface NetworkInstanceProtocol extends org.opendaylight.yangtools.yang.binding.Augmentation<Protocol>, BgpTop

This class represents the following YANG schema fragment defined in module bgp-openconfig-extensions

 augment /netinst:network-instances/netinst:network-instance/netinst:protocols/netinst:protocol {
   ext:augment-identifier network-instance-protocol;
   uses openconfig-bgp:bgp-top {
     augment bgp/neighbors/neighbor/afi-safis/afi-safi {
       ext:augment-identifier neighbor-add-paths-config;
       uses openconfig-bgp:bgp-neighbor-add-paths_config;
     }
     augment bgp/global/afi-safis/afi-safi {
       ext:augment-identifier global-add-paths-config;
       uses openconfig-bgp:bgp-neighbor-add-paths_config;
     }
     augment bgp/global/afi-safis/afi-safi/state {
       ext:augment-identifier global-afi-safi_state-augmentation;
       uses bgp-op:bgp-global-afi-safi_state;
     }
     augment bgp/neighbors/neighbor/transport/config {
       ext:augment-identifier neighbor-transport-config;
       uses transport-config;
     }
     augment bgp/neighbors/neighbor/config {
       ext:augment-identifier neighbor-peer-group-config;
       uses openconfig-bgp:bgp-neighbor-peer-group_config;
     }
     augment bgp/global/config {
       ext:augment-identifier global-config-augmentation;
       leaf route-reflector-cluster-id {
         type bgp-types:rr-cluster-id-type;
       }
     }
     augment bgp/neighbors/neighbor/state {
       ext:augment-identifier neighbor_state-augmentation;
       uses bgp-op:bgp-neighbor_state;
     }
     augment bgp/neighbors/neighbor/state {
       ext:augment-identifier bgp-neighbor_state-augmentation;
       container messages {
         container sent {
           uses bgp-op:bgp-neighbor-message-counters-sent_state;
         }
         container received {
           uses bgp-op:bgp-neighbor-message-counters-received_state;
         }
       }
       container queues {
         uses bgp-op:bgp-neighbor-queue-counters_state;
       }
     }
     augment bgp/neighbors/neighbor/timers/state {
       ext:augment-identifier neighbor-timers_state-augmentation;
       uses bgp-op:bgp-neighbor-timers_state;
     }
     augment bgp/neighbors/neighbor/transport/state {
       ext:augment-identifier neighbor-transport_state-augmentation;
       uses bgp-op:bgp-neighbor-transport_state;
     }
     augment bgp/neighbors/neighbor/error-handling/state {
       ext:augment-identifier neighbor-error-handling_state-augmentation;
       uses bgp-op:bgp-neighbor-error-handling_state;
     }
     augment bgp/neighbors/neighbor/afi-safis/afi-safi/state {
       ext:augment-identifier neighbor-afi-safi_state-augmentation;
       uses bgp-op:bgp-neighbor-afi-safi_state;
     }
     augment bgp/neighbors/neighbor/graceful-restart/state {
       ext:augment-identifier neighbor-graceful-restart_state-augmentation;
       uses bgp-op:bgp-afi-safi-graceful-restart_state;
     }
     augment bgp/neighbors/neighbor/afi-safis/afi-safi/graceful-restart/state {
       ext:augment-identifier neighbor-afi-safi-graceful-restart_state-augmentation;
       uses bgp-op:bgp-neighbor-afi-safi-graceful-restart_state;
       uses neighbor-afi-safi-ll-graceful-restart-state;
     }
     augment bgp/peer-groups/peer-group/state {
       ext:augment-identifier peer-group_state-augmentation;
       uses bgp-op:bgp-peer-group_state;
     }
     augment bgp/peer-groups/peer-group/transport/config {
       ext:augment-identifier peer-group-transport-config;
       uses transport-config;
     }
     augment bgp/peer-groups/peer-group/afi-safis/afi-safi {
       ext:augment-identifier group-add-paths-config;
       uses openconfig-bgp:bgp-neighbor-add-paths_config;
     }
   }
 }
 
See Also:
  • Method Details

    • implementedInterface

      default Class<NetworkInstanceProtocol> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.Augmentation<Protocol>
      Specified by:
      implementedInterface in interface BgpTop
      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
    • bindingHashCode

      static int bindingHashCode(@NonNull NetworkInstanceProtocol obj)
      Default implementation of Object.hashCode() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.
      Parameters:
      obj - Object for which to generate hashCode() result.
      Returns:
      Hash code value of data modeled by this interface.
      Throws:
      NullPointerException - if obj is null
    • bindingEquals

      static boolean bindingEquals(@NonNull NetworkInstanceProtocol thisObj, Object obj)
      Default implementation of Object.equals(Object) contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.
      Parameters:
      thisObj - Object acting as the receiver of equals invocation
      obj - Object acting as argument to equals invocation
      Returns:
      True if thisObj and obj are considered equal
      Throws:
      NullPointerException - if thisObj is null
    • bindingToString

      static String bindingToString(@NonNull NetworkInstanceProtocol obj)
      Default implementation of Object.toString() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.
      Parameters:
      obj - Object for which to generate toString() result.
      Returns:
      String value of data modeled by this interface.
      Throws:
      NullPointerException - if obj is null