Interface SourcePrefixCase

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<SourcePrefixCase>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChoiceIn<Flowspec>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, FlowspecType

    public interface SourcePrefixCase
    extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<SourcePrefixCase>, FlowspecType

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

     case source-prefix-case {
       leaf source-prefix {
         type inet:ipv4-prefix;
       }
     }
     
    The schema path to identify an instance is bgp-flowspec/flowspec-destination-group-ipv4/flowspec/flowspec-type/source-prefix-case
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<SourcePrefixCase> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getSourcePrefix

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix getSourcePrefix()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix sourcePrefix, or null if not present