Search in sources :

Example 6 with UnorderedList

use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.store.rev140422.lists.unordered.container.UnorderedList 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();
}
Also used : UnorderedListBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.store.rev140422.lists.unordered.container.UnorderedListBuilder) UnorderedListKey(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.store.rev140422.lists.unordered.container.UnorderedListKey)

Aggregations

Lists (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.store.rev140422.Lists)4 UnorderedList (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.store.rev140422.lists.unordered.container.UnorderedList)4 UnorderedListKey (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.store.rev140422.lists.unordered.container.UnorderedListKey)4 Test (org.junit.Test)3 Assert.assertNotNull (org.junit.Assert.assertNotNull)2 BindingAwareConsumer (org.opendaylight.controller.sal.binding.api.BindingAwareConsumer)2 RoutedSimpleRouteInputBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.rpc.routing.rev140701.RoutedSimpleRouteInputBuilder)2 UnorderedContainer (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.store.rev140422.lists.UnorderedContainer)2 UnorderedListBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.store.rev140422.lists.unordered.container.UnorderedListBuilder)2 InstanceIdentifier (org.opendaylight.yangtools.yang.binding.InstanceIdentifier)2 Optional (com.google.common.base.Optional)1 Futures (com.google.common.util.concurrent.Futures)1 TimeUnit (java.util.concurrent.TimeUnit)1 Assert.assertEquals (org.junit.Assert.assertEquals)1 Assert.assertFalse (org.junit.Assert.assertFalse)1 Assert.assertNotSame (org.junit.Assert.assertNotSame)1 Assert.assertSame (org.junit.Assert.assertSame)1 Assert.assertTrue (org.junit.Assert.assertTrue)1 Before (org.junit.Before)1 Mockito (org.mockito.Mockito)1