use of org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connectivitycontext.ConnectionKeys 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.connectivitycontext.ConnectionKeys in project onos by opennetworkinglab.
the class TapiRouteHandler method getParentModelObjectId.
@Override
public ModelObjectId getParentModelObjectId() {
ConnectionKeys connectionKeys = new ConnectionKeys();
connectionKeys.uuid(connectionId);
return ModelObjectId.builder().addChild(DefaultContext.class).addChild(DefaultConnectivityContext.class).addChild(DefaultConnection.class, connectionKeys).build();
}
Aggregations