use of org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connection.DefaultConnectionEndPoint in project onos by opennetworkinglab.
the class TapiNepHandler method addCep.
public TapiNepHandler addCep(DefaultConnectionEndPoint cep) {
DefaultCepList cepList = new DefaultCepList();
cepList.addToConnectionEndPoint(cep);
DefaultAugmentedTapiTopologyOwnedNodeEdgePoint augmentNep = new DefaultAugmentedTapiTopologyOwnedNodeEdgePoint();
augmentNep.cepList(cepList);
obj.addAugmentation(augmentNep);
return this;
}
use of org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connection.DefaultConnectionEndPoint in project onos by opennetworkinglab.
the class TapiConnectionHandler method getChildModelObjectData.
@Override
public ModelObjectData getChildModelObjectData() {
ConnectionKeys key = new ConnectionKeys();
key.uuid(getId());
DefaultConnectionEndPoint mObj = new DefaultConnectionEndPoint();
ModelObjectId mId = ModelObjectId.builder().addChild(DefaultContext.class).addChild(DefaultConnectivityContext.class).addChild(DefaultConnection.class, key).build();
return DefaultModelObjectData.builder().addModelObject(mObj).identifier(mId).build();
}
use of org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connection.DefaultConnectionEndPoint in project onos by opennetworkinglab.
the class TapiRouteHandler method addCep.
public TapiRouteHandler addCep(TapiCepRef cepRef) {
DefaultConnectionEndPoint cep = new DefaultConnectionEndPoint();
cep.topologyUuid(cepRef.getTopologyId());
cep.nodeUuid(cepRef.getNodeId());
cep.nodeEdgePointUuid(cepRef.getNepId());
cep.connectionEndPointUuid(cepRef.getCepId());
obj.addToConnectionEndPoint(cep);
return this;
}
Aggregations