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:
Srlg

@Generated("mdsal-binding-generator") public interface SrlgAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
Shared Risk Link Group Attributes

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

 grouping srlg-attributes {
   list interface-switching-capabilities {
     key switching-capability;
     leaf switching-capability {
       type ted:switching-capabilities;
     }
     leaf encoding {
       type uint8;
     }
     list max-lsp-bandwidth {
       max-elements 8;
       key priority;
       leaf priority {
         type uint8 {
           range 0..7;
         }
       }
       leaf bandwidth {
         type decimal64 {
           fraction-digits 2;
         }
       }
     }
     container packet-switch-capable {
       when "../switching-capability = PSC-1 or ../switching-capability = PSC-2 or ../switching-capability = PSC-3 or ../switching-capability = PSC-4";
       leaf minimum-lsp-bandwidth {
         type decimal64 {
           fraction-digits 2;
         }
       }
       leaf interface-mtu {
         type uint16;
       }
     }
     container time-division-multiplex-capable {
       when "../switching-capability = TDM";
       leaf minimum-lsp-bandwidth {
         type decimal64 {
           fraction-digits 2;
         }
       }
       leaf indication {
         type uint16;
       }
     }
   }
   list srlg-values {
     key srlg-value;
     leaf srlg-value {
       type uint32;
     }
   }
   leaf link-protection-type {
     type uint16;
   }
 }
 
  • 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 SrlgAttributes> 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
    • getInterfaceSwitchingCapabilities

      @Nullable Map<InterfaceSwitchingCapabilitiesKey,InterfaceSwitchingCapabilities> getInterfaceSwitchingCapabilities()
      Return interfaceSwitchingCapabilities, or null if it is not present.
           
               List of interface capabilities for this interface
           
       
      Returns:
      Map<InterfaceSwitchingCapabilitiesKey, InterfaceSwitchingCapabilities> interfaceSwitchingCapabilities, or null if it is not present.
    • nonnullInterfaceSwitchingCapabilities

      default @NonNull Map<InterfaceSwitchingCapabilitiesKey,InterfaceSwitchingCapabilities> nonnullInterfaceSwitchingCapabilities()
      Return interfaceSwitchingCapabilities, or an empty list if it is not present.
      Returns:
      Map<InterfaceSwitchingCapabilitiesKey, InterfaceSwitchingCapabilities> interfaceSwitchingCapabilities, or an empty list if it is not present.
    • getSrlgValues

      @Nullable Map<SrlgValuesKey,SrlgValues> getSrlgValues()
      Return srlgValues, or null if it is not present.
           
               List of Shared Risk Link Group this interface belongs to.
           
       
      Returns:
      Map<SrlgValuesKey, SrlgValues> srlgValues, or null if it is not present.
    • nonnullSrlgValues

      default @NonNull Map<SrlgValuesKey,SrlgValues> nonnullSrlgValues()
      Return srlgValues, or an empty list if it is not present.
      Returns:
      Map<SrlgValuesKey, SrlgValues> srlgValues, or an empty list if it is not present.
    • getLinkProtectionType

      org.opendaylight.yangtools.yang.common.Uint16 getLinkProtectionType()
      Return linkProtectionType, or null if it is not present.
           
               Link Protection Type desired for this link
           
       
      Returns:
      Uint16 linkProtectionType, or null if it is not present.
    • requireLinkProtectionType

      default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireLinkProtectionType()
      Return linkProtectionType, guaranteed to be non-null.
           
               Link Protection Type desired for this link
           
       
      Returns:
      Uint16 linkProtectionType, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if linkProtectionType is not present