import com.google.common.collect.Lists;
import java.io.IOException;
import org.junit.Test;
-import org.opendaylight.controller.config.util.xml.XmlUtil;
+import org.opendaylight.netconf.api.xml.XmlUtil;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.notification._1._0.rev080714.StreamNameType;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netmod.notification.rev080714.netconf.Streams;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netmod.notification.rev080714.netconf.StreamsBuilder;
final StreamBuilder streamBuilder = new StreamBuilder();
final StreamNameType base = new StreamNameType("base");
streamBuilder.setName(base);
- streamBuilder.setKey(new StreamKey(base));
+ streamBuilder.withKey(new StreamKey(base));
streamBuilder.setDescription("description");
streamBuilder.setReplaySupport(false);
streamsBuilder.setStream(Lists.newArrayList(streamBuilder.build()));
+ "</data>\n"
+ "</rpc-reply>");
}
-}
\ No newline at end of file
+}