use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.store.rev140422.lists.unordered.container.UnorderedListKey in project controller by opendaylight.
the class RoutedServiceIT method createNodeRef.
/**
* Returns node reference from string which represents path
*
* @param string
* string with key(path)
* @return instance identifier to {@link UnorderedList}
*/
private static InstanceIdentifier<UnorderedList> createNodeRef(final String string) {
final UnorderedListKey key = new UnorderedListKey(string);
final InstanceIdentifier<UnorderedList> path = InstanceIdentifier.builder(Lists.class).child(UnorderedContainer.class).child(UnorderedList.class, key).build();
return path;
}
use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.store.rev140422.lists.unordered.container.UnorderedListKey in project controller by opendaylight.
the class DataServiceIT method createNode.
private static UnorderedList createNode(final String string) {
UnorderedListBuilder ret = new UnorderedListBuilder();
UnorderedListKey nodeKey = new UnorderedListKey(string);
ret.setKey(nodeKey);
ret.setName("name of " + string);
ret.setName("value of " + string);
return ret.build();
}
Aggregations