All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.ChoiceIn<ExtendedCommunity>, org.opendaylight.yangtools.yang.binding.DataContainer
All Known Subinterfaces:
As4GenericSpecExtendedCommunityCase, As4RouteOriginExtendedCommunityCase, As4RouteTargetExtendedCommunityCase, AsSpecificExtendedCommunityCase, DefaultGatewayExtendedCommunityCase, DefaultGatewayExtendedCommunityCase, EncapsulationCase, EsiLabelExtendedCommunityCase, EsiLabelExtendedCommunityCase, EsImportRouteExtendedCommunityCase, EsImportRouteExtendedCommunityCase, Inet4SpecificExtendedCommunityCase, Layer2AttributesExtendedCommunityCase, Layer2AttributesExtendedCommunityCase, LinkBandwidthCase, MacMobilityExtendedCommunityCase, MacMobilityExtendedCommunityCase, OpaqueExtendedCommunityCase, RedirectAs4ExtendedCommunityCase, RedirectAs4ExtendedCommunityCase, RedirectExtendedCommunityCase, RedirectExtendedCommunityCase, RedirectIpNhExtendedCommunityCase, RedirectIpNhExtendedCommunityCase, RedirectIpv4ExtendedCommunityCase, RedirectIpv4ExtendedCommunityCase, RedirectIpv6ExtendedCommunityCase, RedirectIpv6ExtendedCommunityCase, RouteOriginExtendedCommunityCase, RouteOriginIpv4Case, RouteTargetExtendedCommunityCase, RouteTargetIpv4Case, SourceAs4ExtendedCommunityCase, SourceAsExtendedCommunityCase, TrafficActionExtendedCommunityCase, TrafficActionExtendedCommunityCase, TrafficMarkingExtendedCommunityCase, TrafficMarkingExtendedCommunityCase, TrafficRateExtendedCommunityCase, TrafficRateExtendedCommunityCase, VrfRouteImportExtendedCommunityCase

@Generated("mdsal-binding-generator") public interface ExtendedCommunity extends org.opendaylight.yangtools.yang.binding.ChoiceIn<ExtendedCommunity>

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

 choice extended-community {
   case as-specific-extended-community-case {
     container as-specific-extended-community {
       leaf global-administrator {
         type short-as-number;
       }
       leaf local-administrator {
         type binary {
           length 4;
         }
       }
     }
   }
   case inet4-specific-extended-community-case {
     container inet4-specific-extended-community {
       uses inet4-specific-extended-community-common;
       leaf global-administrator {
         status deprecated;
         type inet:ipv4-address-no-zone;
       }
       leaf local-administrator {
         status deprecated;
         type binary {
           length 2;
         }
       }
     }
   }
   case opaque-extended-community-case {
     container opaque-extended-community {
       leaf value {
         type binary {
           length 6;
         }
       }
     }
   }
   case route-target-extended-community-case {
     uses route-target-extended-community-grouping;
   }
   case route-target-ipv4-case {
     uses route-target-ipv4-grouping;
   }
   case as-4-route-target-extended-community-case {
     uses as-4-route-target-extended-community-grouping;
   }
   case route-origin-extended-community-case {
     container route-origin-extended-community {
       leaf global-administrator {
         type short-as-number;
       }
       leaf local-administrator {
         type binary {
           length 4;
         }
       }
     }
   }
   case route-origin-ipv4-case {
     container route-origin-ipv4 {
       uses route-ipv4-extended-community;
     }
   }
   case link-bandwidth-case {
     container link-bandwidth-extended-community {
       uses link-bandwidth-extended-community;
     }
   }
   case as-4-generic-spec-extended-community-case {
     container as-4-generic-spec-extended-community {
       uses as-4-spec-common;
     }
   }
   case as-4-route-origin-extended-community-case {
     container as-4-route-origin-extended-community {
       uses as-4-spec-common;
     }
   }
   case encapsulation-case {
     container encapsulation-extended-community {
       uses encapsulation-extended-community;
     }
   }
   case vrf-route-import-extended-community-case {
     container vrf-route-import-extended-community {
       uses inet4-specific-extended-community-common;
     }
   }
   case source-as-4-extended-community-case {
     container source-as-4-extended-community {
       uses source-as-4-extended-community-grouping;
     }
   }
   case source-as-extended-community-case {
     container source-as-extended-community {
       uses source-as-extended-community-grouping;
     }
   }
 }
 
  • 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

    Methods inherited from interface org.opendaylight.yangtools.yang.binding.BindingContract

    implementedInterface
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.