Search in sources :

Example 1 with ConnectivityServiceKeys

use of org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connectivitycontext.ConnectivityServiceKeys in project onos by opennetworkinglab.

the class TapiConnectivityServiceHandler method getChildModelObjectData.

@Override
public ModelObjectData getChildModelObjectData() {
    ConnectivityServiceKeys key = new ConnectivityServiceKeys();
    key.uuid(getId());
    DefaultConnection mObj = new DefaultConnection();
    ModelObjectId mId = ModelObjectId.builder().addChild(DefaultContext.class).addChild(DefaultConnectivityContext.class).addChild(DefaultConnectivityService.class, key).build();
    return DefaultModelObjectData.builder().addModelObject(mObj).identifier(mId).build();
}
Also used : DefaultConnection(org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connectivityservice.DefaultConnection) DefaultConnectivityService(org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connectivitycontext.DefaultConnectivityService) DefaultContext(org.onosproject.yang.gen.v1.tapicommon.rev20181210.tapicommon.DefaultContext) ConnectivityServiceKeys(org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connectivitycontext.ConnectivityServiceKeys) ModelObjectId(org.onosproject.yang.model.ModelObjectId)

Aggregations

DefaultContext (org.onosproject.yang.gen.v1.tapicommon.rev20181210.tapicommon.DefaultContext)1 ConnectivityServiceKeys (org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connectivitycontext.ConnectivityServiceKeys)1 DefaultConnectivityService (org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connectivitycontext.DefaultConnectivityService)1 DefaultConnection (org.onosproject.yang.gen.v1.tapiconnectivity.rev20181210.tapiconnectivity.connectivityservice.DefaultConnection)1 ModelObjectId (org.onosproject.yang.model.ModelObjectId)1