Also there is an issue with the entity-owner API in cluster mode, same REST request in 3 node cluster gives no response:
GET http://192.168.0.101:8181/restconf/operational/entity-owners:entity-owners { "errors": { "error": [ { "error-type": "application", "error-tag": "data-missing", "error-message": "Request could not be completed because the relevant data model content does not exist " } ] } } Can you please fix this asap? without this API I cannot rework the cluster test to verify Carbon. BR/Luis > On Aug 18, 2016, at 3:37 PM, Luis Gomez <[email protected]> wrote: > > Definitely the singleton in Carbon introduced changes in the entity-owner > API, this is what it was before (for a single instance): > > { > "entity-owners": { > "entity-type": [ > { > "type": "openflow", > "entity": [ > { > "id": "/general-entity:entity[general-entity:name='openflow:1']", > "candidate": [ > { > "name": "member-1" > } > ], > "owner": "member-1" > } > ] > } > ] > } > } > > And this is what I see now: > > { > "entity-owners": { > "entity-type": [ > { > "type": "org.opendaylight.mdsal.ServiceEntityType", > "entity": [ > { > "id": > "/odl-general-entity:entity[odl-general-entity:name='openflow:1']", > "candidate": [ > { > "name": "member-1" > } > ], > "owner": "member-1" > } > ] > }, > { > "type": "org.opendaylight.mdsal.AsyncServiceCloseEntityType", > "entity": [ > { > "id": > "/odl-general-entity:entity[odl-general-entity:name='openflow:1']", > "candidate": [ > { > "name": "member-1" > } > ], > "owner": "member-1" > } > ] > } > ] > } > } > > > Question: Which device type should I look at to extract the owner? > org.opendaylight.mdsal.ServiceEntityType or > org.opendaylight.mdsal.AsyncServiceCloseEntityType or does not matter? > > BR/Luis > _______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
