Search in sources :

Example 1 with Topology

use of org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.topologycontext.Topology in project onos by opennetworkinglab.

the class DcsBasedTapiDataProducer method getNodes.

/**
 * Extract Tapi Nodes from context modelObject and convert them to NodeRefs.
 *
 * @param context
 * @return List of NodeRef
 */
private List<TapiNodeRef> getNodes(DefaultContext context) {
    DefaultAugmentedTapiCommonContext topologyContext = context.augmentation(DefaultAugmentedTapiCommonContext.class);
    Topology topology = topologyContext.topologyContext().topology().get(0);
    if (topology.node() == null) {
        return Collections.emptyList();
    }
    return topology.node().stream().map(node -> {
        TapiNodeRef nodeRef = DcsBasedTapiObjectRefFactory.create(topology, node);
        if (node.name() != null) {
            String deviceId = node.name().stream().filter(kv -> kv.valueName().equals(DEVICE_ID)).findFirst().map(Name::value).get();
            nodeRef.setDeviceId(DeviceId.deviceId(deviceId));
        }
        return nodeRef;
    }).collect(Collectors.toList());
}
Also used : DcsBasedTapiObjectRefFactory(org.onosproject.odtn.utils.tapi.DcsBasedTapiObjectRefFactory) HashMap(java.util.HashMap) DefaultModelObjectData(org.onosproject.yang.model.DefaultModelObjectData) TapiNodeRef(org.onosproject.odtn.utils.tapi.TapiNodeRef) ResourceData(org.onosproject.yang.model.ResourceData) ConnectPoint(org.onosproject.net.ConnectPoint) DataNode(org.onosproject.yang.model.DataNode) Map(java.util.Map) DynamicConfigService(org.onosproject.config.DynamicConfigService) Name(org.onosproject.yang.gen.v1.tapicommon.rev20181210.tapicommon.globalclass.Name) DefaultServiceDirectory.getService(org.onlab.osgi.DefaultServiceDirectory.getService) Logger(org.slf4j.Logger) DefaultResourceData(org.onosproject.yang.model.DefaultResourceData) ModelConverter(org.onosproject.yang.model.ModelConverter) ModelObjectId(org.onosproject.yang.model.ModelObjectId) DefaultContext(org.onosproject.yang.gen.v1.tapicommon.rev20181210.tapicommon.DefaultContext) Collectors(java.util.stream.Collectors) TapiNepRef(org.onosproject.odtn.utils.tapi.TapiNepRef) ResourceId(org.onosproject.yang.model.ResourceId) DefaultAugmentedTapiTopologyOwnedNodeEdgePoint(org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.context.topologycontext.topology.node.ownednodeedgepoint.DefaultAugmentedTapiTopologyOwnedNodeEdgePoint) List(java.util.List) CONNECTION_ID(org.onosproject.odtn.behaviour.OdtnDeviceDescriptionDiscovery.CONNECTION_ID) ModelObjectData(org.onosproject.yang.model.ModelObjectData) Topology(org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.topologycontext.Topology) ODTN_PORT_TYPE(org.onosproject.odtn.utils.tapi.TapiObjectHandler.ODTN_PORT_TYPE) DEVICE_ID(org.onosproject.odtn.utils.tapi.TapiObjectHandler.DEVICE_ID) LoggerFactory.getLogger(org.slf4j.LoggerFactory.getLogger) VisibleForTesting(com.google.common.annotations.VisibleForTesting) Filter(org.onosproject.config.Filter) DeviceId(org.onosproject.net.DeviceId) Collections(java.util.Collections) DefaultAugmentedTapiCommonContext(org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.context.DefaultAugmentedTapiCommonContext) ONOS_CP(org.onosproject.odtn.utils.tapi.TapiObjectHandler.ONOS_CP) TapiNodeRef(org.onosproject.odtn.utils.tapi.TapiNodeRef) DefaultAugmentedTapiCommonContext(org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.context.DefaultAugmentedTapiCommonContext) Topology(org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.topologycontext.Topology) Name(org.onosproject.yang.gen.v1.tapicommon.rev20181210.tapicommon.globalclass.Name)

Example 2 with Topology

use of org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.topologycontext.Topology in project onos by opennetworkinglab.

the class DcsBasedTapiDataProducerTest method makeTestData.

private void makeTestData() {
    did1 = DeviceId.deviceId("netconf:127.0.0.1:11001");
    did2 = DeviceId.deviceId("netconf:127.0.0.1:11002");
    cp11 = new ConnectPoint(did1, PortNumber.portNumber(1, "TRANSCEIVER"));
    cp12 = new ConnectPoint(did1, PortNumber.portNumber(2, "TRANSCEIVER"));
    cp21 = new ConnectPoint(did2, PortNumber.portNumber(1, "TRANSCEIVER"));
    cp22 = new ConnectPoint(did2, PortNumber.portNumber(2, "TRANSCEIVER"));
    context = new DefaultContext();
    topology = TapiTopologyHandler.create().getModelObject();
    DefaultTopologyContext topologyContext = TapiTopologyContextHandler.create().getModelObject();
    DefaultAugmentedTapiCommonContext augmentedTopologyContext = new DefaultAugmentedTapiCommonContext();
    Augmentable augmentableContext = context;
    augmentableContext.addAugmentation(augmentedTopologyContext);
    augmentedTopologyContext.topologyContext(topologyContext);
    topologyContext.addToTopology(topology);
    node1 = TapiNodeHandler.create().setTopologyUuid(topology.uuid()).setDeviceId(did1).getModelObject();
    node2 = TapiNodeHandler.create().setTopologyUuid(topology.uuid()).setDeviceId(did2).getModelObject();
    sip11 = TapiSipHandler.create().setConnectPoint(cp11).getModelObject();
    sip21 = TapiSipHandler.create().setConnectPoint(cp21).getModelObject();
    nep11 = TapiNepHandler.create().setTopologyUuid(topology.uuid()).setNodeUuid(node1.uuid()).setConnectPoint(cp11).addSip(sip11.uuid()).getModelObject();
    nep12 = TapiNepHandler.create().setTopologyUuid(topology.uuid()).setNodeUuid(node1.uuid()).setConnectPoint(cp12).getModelObject();
    nep21 = TapiNepHandler.create().setTopologyUuid(topology.uuid()).setNodeUuid(node2.uuid()).setConnectPoint(cp21).addSip(sip21.uuid()).getModelObject();
    nep22 = TapiNepHandler.create().setTopologyUuid(topology.uuid()).setNodeUuid(node2.uuid()).setConnectPoint(cp22).getModelObject();
}
Also used : DefaultTopologyContext(org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.context.augmentedtapicommoncontext.DefaultTopologyContext) DefaultAugmentedTapiCommonContext(org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.context.DefaultAugmentedTapiCommonContext) DefaultContext(org.onosproject.yang.gen.v1.tapicommon.rev20181210.tapicommon.DefaultContext) ConnectPoint(org.onosproject.net.ConnectPoint) Augmentable(org.onosproject.yang.model.Augmentable)

Example 3 with Topology

use of org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.topologycontext.Topology in project onos by opennetworkinglab.

the class OpenRoadmServiceModelRegistrator method getAppInfo.

private static Map<YangModuleId, AppModuleInfo> getAppInfo() {
    Map<YangModuleId, AppModuleInfo> appInfo = new HashMap<>();
    // Dependencies for org-openroadm-service
    appInfo.put(new DefaultYangModuleId("ietf-yang-types", "2013-07-15"), new DefaultAppModuleInfo(IetfYangTypes.class, null));
    appInfo.put(new DefaultYangModuleId("org-openroadm-routing-constraints", "2016-10-14"), new DefaultAppModuleInfo(OrgOpenroadmRoutingConstraints.class, null));
    appInfo.put(new DefaultYangModuleId("org-openroadm-common-types", "2016-10-14"), new DefaultAppModuleInfo(OrgOpenroadmCommonTypes.class, null));
    appInfo.put(new DefaultYangModuleId("org-openroadm-resource-types", "2016-10-14"), new DefaultAppModuleInfo(OrgOpenroadmResourceTypes.class, null));
    appInfo.put(new DefaultYangModuleId("org-openroadm-common-service-types", "2016-10-14"), new DefaultAppModuleInfo(OrgOpenroadmCommonServiceTypes.class, null));
    // Dependencies for org-openroadm-common-service-types
    appInfo.put(new DefaultYangModuleId("ietf-inet-types", "2013-07-15"), new DefaultAppModuleInfo(IetfInetTypes.class, null));
    appInfo.put(new DefaultYangModuleId("org-openroadm-topology", "2016-10-14"), new DefaultAppModuleInfo(OrgOpenroadmTopology.class, null));
    appInfo.put(new DefaultYangModuleId("org-openroadm-topology", "2016-10-14"), new DefaultAppModuleInfo(OrgOpenroadmTopology.class, null));
    // Dependency for org-openroadm-topology
    appInfo.put(new DefaultYangModuleId("org-openroadm-resource", "2016-10-14"), new DefaultAppModuleInfo(OrgOpenroadmResource.class, null));
    appInfo.put(new DefaultYangModuleId("org-openroadm-service", "2016-10-14"), new DefaultAppModuleInfo(OrgOpenroadmService.class, null));
    return ImmutableMap.copyOf(appInfo);
}
Also used : OrgOpenroadmRoutingConstraints(org.onosproject.yang.gen.v1.orgopenroadmroutingconstraints.rev20161014.OrgOpenroadmRoutingConstraints) AppModuleInfo(org.onosproject.yang.runtime.AppModuleInfo) DefaultAppModuleInfo(org.onosproject.yang.runtime.DefaultAppModuleInfo) HashMap(java.util.HashMap) IetfInetTypes(org.onosproject.yang.gen.v1.ietfinettypes.rev20130715.IetfInetTypes) OrgOpenroadmResource(org.onosproject.yang.gen.v1.orgopenroadmresource.rev20161014.OrgOpenroadmResource) OrgOpenroadmResourceTypes(org.onosproject.yang.gen.v1.orgopenroadmresourcetypes.rev20161014.OrgOpenroadmResourceTypes) OrgOpenroadmTopology(org.onosproject.yang.gen.v1.orgopenroadmtopology.rev20161014.OrgOpenroadmTopology) OrgOpenroadmService(org.onosproject.yang.gen.v1.orgopenroadmservice.rev20161014.OrgOpenroadmService) IetfYangTypes(org.onosproject.yang.gen.v1.ietfyangtypes.rev20130715.IetfYangTypes) OrgOpenroadmCommonTypes(org.onosproject.yang.gen.v1.orgopenroadmcommontypes.rev20161014.OrgOpenroadmCommonTypes) DefaultYangModuleId(org.onosproject.yang.model.DefaultYangModuleId) DefaultAppModuleInfo(org.onosproject.yang.runtime.DefaultAppModuleInfo) OrgOpenroadmCommonServiceTypes(org.onosproject.yang.gen.v1.orgopenroadmcommonservicetypes.rev20161014.OrgOpenroadmCommonServiceTypes) DefaultYangModuleId(org.onosproject.yang.model.DefaultYangModuleId) YangModuleId(org.onosproject.yang.model.YangModuleId)

Example 4 with Topology

use of org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.topologycontext.Topology in project onos by opennetworkinglab.

the class TapiModelRegistrator method getAppInfo.

private static Map<YangModuleId, AppModuleInfo> getAppInfo() {
    Map<YangModuleId, AppModuleInfo> appInfo = new HashMap<>();
    appInfo.put(new DefaultYangModuleId("tapi-connectivity", "2018-12-10"), new DefaultAppModuleInfo(TapiConnectivity.class, null));
    appInfo.put(new DefaultYangModuleId("tapi-common", "2018-12-10"), new DefaultAppModuleInfo(TapiCommon.class, null));
    appInfo.put(new DefaultYangModuleId("tapi-topology", "2018-12-10"), new DefaultAppModuleInfo(TapiTopology.class, null));
    appInfo.put(new DefaultYangModuleId("tapi-photonic-media", "2018-12-10"), new DefaultAppModuleInfo(TapiPhotonicMedia.class, null));
    appInfo.put(new DefaultYangModuleId("tapi-oam", "2018-12-10"), new DefaultAppModuleInfo(TapiOam.class, null));
    appInfo.put(new DefaultYangModuleId("tapi-odu", "2018-12-10"), new DefaultAppModuleInfo(TapiOdu.class, null));
    appInfo.put(new DefaultYangModuleId("tapi-path-computation", "2018-12-10"), new DefaultAppModuleInfo(TapiPathComputation.class, null));
    appInfo.put(new DefaultYangModuleId("tapi-notification", "2018-12-10"), new DefaultAppModuleInfo(TapiNotification.class, null));
    appInfo.put(new DefaultYangModuleId("tapi-virtual-network", "2018-12-10"), new DefaultAppModuleInfo(TapiVirtualNetwork.class, null));
    appInfo.put(new DefaultYangModuleId("tapi-dsr", "2018-12-10"), new DefaultAppModuleInfo(TapiDsr.class, null));
    appInfo.put(new DefaultYangModuleId("tapi-eth", "2018-12-10"), new DefaultAppModuleInfo(TapiEth.class, null));
    return ImmutableMap.copyOf(appInfo);
}
Also used : AppModuleInfo(org.onosproject.yang.runtime.AppModuleInfo) DefaultAppModuleInfo(org.onosproject.yang.runtime.DefaultAppModuleInfo) HashMap(java.util.HashMap) TapiConnectivity(org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.TapiConnectivity) TapiCommon(org.onosproject.yang.gen.v1.tapicommon.rev20181210.TapiCommon) TapiDsr(org.onosproject.yang.gen.v1.tapidsr.rev20181210.TapiDsr) TapiPhotonicMedia(org.onosproject.yang.gen.v1.tapiphotonicmedia.rev20181210.TapiPhotonicMedia) TapiOdu(org.onosproject.yang.gen.v1.tapiodu.rev20181210.TapiOdu) TapiPathComputation(org.onosproject.yang.gen.v1.tapipathcomputation.rev20181210.TapiPathComputation) TapiVirtualNetwork(org.onosproject.yang.gen.v1.tapivirtualnetwork.rev20181210.TapiVirtualNetwork) TapiOam(org.onosproject.yang.gen.v1.tapioam.rev20181210.TapiOam) TapiNotification(org.onosproject.yang.gen.v1.tapinotification.rev20181210.TapiNotification) DefaultYangModuleId(org.onosproject.yang.model.DefaultYangModuleId) TapiTopology(org.onosproject.yang.gen.v1.tapitopology.rev20181210.TapiTopology) DefaultAppModuleInfo(org.onosproject.yang.runtime.DefaultAppModuleInfo) DefaultYangModuleId(org.onosproject.yang.model.DefaultYangModuleId) YangModuleId(org.onosproject.yang.model.YangModuleId) TapiEth(org.onosproject.yang.gen.v1.tapieth.rev20181210.TapiEth)

Example 5 with Topology

use of org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.topologycontext.Topology in project onos by opennetworkinglab.

the class OdtnTapiHandlersTestCommand method setupTapiContext.

private void setupTapiContext() {
    DeviceId did1 = DeviceId.deviceId("netconf:127.0.0.1:11001");
    DeviceId did2 = DeviceId.deviceId("netconf:127.0.0.1:11002");
    ConnectPoint cp11 = new ConnectPoint(did1, PortNumber.portNumber(1, "TRANSCEIVER"));
    ConnectPoint cp12 = new ConnectPoint(did1, PortNumber.portNumber(2, "TRANSCEIVER"));
    ConnectPoint cp21 = new ConnectPoint(did2, PortNumber.portNumber(1, "TRANSCEIVER"));
    ConnectPoint cp22 = new ConnectPoint(did2, PortNumber.portNumber(2, "TRANSCEIVER"));
    // context
    contextHandler = TapiContextHandler.create();
    DefaultContext context = contextHandler.getModelObject();
    // context augmentation
    Augmentable augmentableContext = context;
    // context augmentation with topologyContext
    org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.context.DefaultAugmentedTapiCommonContext augmentedTopologyContext = new org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.context.DefaultAugmentedTapiCommonContext();
    augmentableContext.addAugmentation(augmentedTopologyContext);
    // context augmentation with connectivityServiceContext
    org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.context.DefaultAugmentedTapiCommonContext augmentedConnectivityContext = new org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.context.DefaultAugmentedTapiCommonContext();
    augmentableContext.addAugmentation(augmentedConnectivityContext);
    // topology context
    DefaultTopologyContext topologyContext = TapiTopologyContextHandler.create().getModelObject();
    augmentedTopologyContext.topologyContext(topologyContext);
    // topology
    TapiTopologyHandler topologyHandler = TapiTopologyHandler.create();
    topologyHandler.setId(Uuid.of("00000000-0000-0000-0000-000000000001"));
    DefaultTopology topology = topologyHandler.getModelObject();
    topologyContext.addToTopology(topology);
    // nodes
    TapiNodeHandler nodeHandler1 = TapiNodeHandler.create();
    nodeHandler1.setId(Uuid.of("00000000-0000-0000-0001-000000000001"));
    DefaultNode node1 = nodeHandler1.setTopologyUuid(topology.uuid()).setDeviceId(did1).getModelObject();
    topology.addToNode(node1);
    TapiNodeHandler nodeHandler2 = TapiNodeHandler.create();
    nodeHandler2.setId(Uuid.of("00000000-0000-0000-0001-000000000002"));
    DefaultNode node2 = nodeHandler2.setTopologyUuid(topology.uuid()).setDeviceId(did2).getModelObject();
    topology.addToNode(node2);
    // sips
    TapiSipHandler sipHandler1 = TapiSipHandler.create();
    sipHandler1.setId(Uuid.of("00000000-0000-0000-0002-000000000001"));
    DefaultServiceInterfacePoint sip1 = sipHandler1.setConnectPoint(cp11).getModelObject();
    context.addToServiceInterfacePoint(sip1);
    TapiSipHandler sipHandler2 = TapiSipHandler.create();
    sipHandler2.setId(Uuid.of("00000000-0000-0000-0002-000000000002"));
    DefaultServiceInterfacePoint sip2 = sipHandler2.setConnectPoint(cp21).getModelObject();
    context.addToServiceInterfacePoint(sip2);
    // neps
    TapiNepHandler nepHandler11 = TapiNepHandler.create();
    nepHandler11.setId(Uuid.of("00000000-0000-0000-0003-000000000011"));
    DefaultOwnedNodeEdgePoint nep11 = nepHandler11.setTopologyUuid(topology.uuid()).setNodeUuid(node1.uuid()).setConnectPoint(cp11).addSip(sip1.uuid()).getModelObject();
    nodeHandler1.addNep(nep11);
    TapiNepHandler nepHandler12 = TapiNepHandler.create();
    nepHandler12.setId(Uuid.of("00000000-0000-0000-0003-000000000012"));
    DefaultOwnedNodeEdgePoint nep12 = nepHandler12.setTopologyUuid(topology.uuid()).setNodeUuid(node1.uuid()).setConnectPoint(cp12).getModelObject();
    nodeHandler1.addNep(nep12);
    TapiNepHandler nepHandler21 = TapiNepHandler.create();
    nepHandler21.setId(Uuid.of("00000000-0000-0000-0003-000000000021"));
    DefaultOwnedNodeEdgePoint nep21 = nepHandler21.setTopologyUuid(topology.uuid()).setNodeUuid(node2.uuid()).setConnectPoint(cp21).addSip(sip2.uuid()).getModelObject();
    nodeHandler2.addNep(nep21);
    TapiNepHandler nepHandler22 = TapiNepHandler.create();
    nepHandler22.setId(Uuid.of("00000000-0000-0000-0003-000000000022"));
    DefaultOwnedNodeEdgePoint nep22 = nepHandler22.setTopologyUuid(topology.uuid()).setNodeUuid(node2.uuid()).setConnectPoint(cp22).getModelObject();
    nodeHandler2.addNep(nep22);
    // connectivity context
    DefaultConnectivityContext connectivityContext = TapiConnectivityContextHandler.create().getModelObject();
    augmentedConnectivityContext.connectivityContext(connectivityContext);
    // connectivityService
    TapiConnectivityServiceHandler connectivityServiceHandler = TapiConnectivityServiceHandler.create();
    connectivityServiceHandler.setId(Uuid.of("00000000-0000-0000-0004-000000000001"));
    DefaultConnectivityService connectivityService = connectivityServiceHandler.getModelObject();
    connectivityContext.addToConnectivityService(connectivityService);
    // connection
    TapiConnectionHandler connectionHandler = TapiConnectionHandler.create();
    connectionHandler.setId(Uuid.of("00000000-0000-0000-0005-000000000001"));
    DefaultConnection connection1 = connectionHandler.getModelObject();
    connectivityServiceHandler.addConnection(connection1.uuid());
    connectivityContext.addToConnection(connection1);
    // seps
    TapiSepHandler sepHandler1 = TapiSepHandler.create();
    sepHandler1.setId(Uuid.of("00000000-0000-0000-0006-000000000001"));
    DefaultEndPoint sep1 = sepHandler1.getModelObject();
    connectivityServiceHandler.addSep(sep1);
    TapiSepHandler sepHandler2 = TapiSepHandler.create();
    sepHandler2.setId(Uuid.of("00000000-0000-0000-0006-000000000002"));
    DefaultEndPoint sep2 = sepHandler2.getModelObject();
    connectivityServiceHandler.addSep(sep2);
    // ceps
    TapiCepHandler cepHandler11 = TapiCepHandler.create();
    cepHandler11.setId(Uuid.of("00000000-0000-0000-0007-000000000011"));
    org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.ceplist.DefaultConnectionEndPoint cep11 = cepHandler11.setTopologyUuid(topology.uuid()).setNodeUuid(node1.uuid()).setNepUuid(nep11.uuid()).setParentNep().getModelObject();
    nepHandler11.addCep(cep11);
    org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connection.DefaultConnectionEndPoint cepRef11 = TapiCepRefHandler.create().setCep(cep11).getModelObject();
    connectionHandler.addCep(cepRef11);
    TapiCepHandler cepHandler21 = TapiCepHandler.create();
    cepHandler21.setId(Uuid.of("00000000-0000-0000-0007-000000000021"));
    org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.ceplist.DefaultConnectionEndPoint cep21 = cepHandler21.setTopologyUuid(topology.uuid()).setNodeUuid(node1.uuid()).setNepUuid(nep21.uuid()).setParentNep().getModelObject();
    nepHandler21.addCep(cep21);
    org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connection.DefaultConnectionEndPoint cepRef21 = TapiCepRefHandler.create().setCep(cep21).getModelObject();
    connectionHandler.addCep(cepRef21);
}
Also used : DefaultTopology(org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.topologycontext.DefaultTopology) DeviceId(org.onosproject.net.DeviceId) TapiConnectivityServiceHandler(org.onosproject.odtn.utils.tapi.TapiConnectivityServiceHandler) DefaultTopologyContext(org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.context.augmentedtapicommoncontext.DefaultTopologyContext) TapiNepHandler(org.onosproject.odtn.utils.tapi.TapiNepHandler) TapiTopologyHandler(org.onosproject.odtn.utils.tapi.TapiTopologyHandler) DefaultOwnedNodeEdgePoint(org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.node.DefaultOwnedNodeEdgePoint) TapiNodeHandler(org.onosproject.odtn.utils.tapi.TapiNodeHandler) DefaultNode(org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.topology.DefaultNode) DefaultEndPoint(org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connectivityservice.DefaultEndPoint) DefaultConnectivityService(org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connectivitycontext.DefaultConnectivityService) TapiConnectionHandler(org.onosproject.odtn.utils.tapi.TapiConnectionHandler) DefaultServiceInterfacePoint(org.onosproject.yang.gen.v1.tapicommon.rev20181210.tapicommon.tapicontext.DefaultServiceInterfacePoint) TapiSipHandler(org.onosproject.odtn.utils.tapi.TapiSipHandler) ConnectPoint(org.onosproject.net.ConnectPoint) Augmentable(org.onosproject.yang.model.Augmentable) DefaultConnection(org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connectivitycontext.DefaultConnection) TapiCepHandler(org.onosproject.odtn.utils.tapi.TapiCepHandler) TapiSepHandler(org.onosproject.odtn.utils.tapi.TapiSepHandler) DefaultConnectivityContext(org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.context.augmentedtapicommoncontext.DefaultConnectivityContext) DefaultContext(org.onosproject.yang.gen.v1.tapicommon.rev20181210.tapicommon.DefaultContext)

Aggregations

HashMap (java.util.HashMap)4 ConnectPoint (org.onosproject.net.ConnectPoint)4 DefaultContext (org.onosproject.yang.gen.v1.tapicommon.rev20181210.tapicommon.DefaultContext)4 DeviceId (org.onosproject.net.DeviceId)3 DefaultAugmentedTapiCommonContext (org.onosproject.yang.gen.v1.tapitopology.rev20181210.tapitopology.context.DefaultAugmentedTapiCommonContext)3 VisibleForTesting (com.google.common.annotations.VisibleForTesting)2 Collections (java.util.Collections)2 List (java.util.List)2 Map (java.util.Map)2 Collectors (java.util.stream.Collectors)2 DefaultServiceDirectory.getService (org.onlab.osgi.DefaultServiceDirectory.getService)2 DynamicConfigService (org.onosproject.config.DynamicConfigService)2 Filter (org.onosproject.config.Filter)2 CONNECTION_ID (org.onosproject.odtn.behaviour.OdtnDeviceDescriptionDiscovery.CONNECTION_ID)2 DcsBasedTapiObjectRefFactory (org.onosproject.odtn.utils.tapi.DcsBasedTapiObjectRefFactory)2 TapiNepRef (org.onosproject.odtn.utils.tapi.TapiNepRef)2 TapiNodeRef (org.onosproject.odtn.utils.tapi.TapiNodeRef)2 DEVICE_ID (org.onosproject.odtn.utils.tapi.TapiObjectHandler.DEVICE_ID)2 ODTN_PORT_TYPE (org.onosproject.odtn.utils.tapi.TapiObjectHandler.ODTN_PORT_TYPE)2 ONOS_CP (org.onosproject.odtn.utils.tapi.TapiObjectHandler.ONOS_CP)2