Class LabeledUnicastIpv4RIBSupport

    • Constructor Detail

      • LabeledUnicastIpv4RIBSupport

        public LabeledUnicastIpv4RIBSupport​(org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer mappingService)
    • Method Detail

      • extractPrefix

        public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix extractPrefix​(org.opendaylight.yangtools.yang.data.api.schema.DataContainerNode<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument> route,
                                                                                                                         org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier prefixTypeNid)
      • processDestination

        protected Collection<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates> processDestination​(org.opendaylight.mdsal.dom.api.DOMDataTreeWriteTransaction tx,
                                                                                                                                              org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier routesPath,
                                                                                                                                              org.opendaylight.yangtools.yang.data.api.schema.ContainerNode destination,
                                                                                                                                              org.opendaylight.yangtools.yang.data.api.schema.ContainerNode attributes,
                                                                                                                                              RIBSupport.ApplyRoute function)
        Specified by:
        processDestination in class AbstractRIBSupport<C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject,​S extends org.opendaylight.yangtools.yang.binding.ChildOf<? super C> & LabeledUnicastRoutesList,​LabeledUnicastRoute>
      • extractLabel

        public static List<LabelStack> extractLabel​(org.opendaylight.yangtools.yang.data.api.schema.DataContainerNode<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument> route,
                                                    org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier labelStackNid,
                                                    org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier labelValueNid)