X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnetconf%2Fnetconf-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Fimpl%2Fmapping%2Foperations%2FDefaultStopExi.java;h=6ea5deb64576f7d936e30f438315e51b823434ef;hb=38500d0f0e22f84bf31618d8b5e9aab37fdb897c;hp=2c6c89617ffbe19b1ff383604ba0e924fdb75ba6;hpb=356f96ce57f8c099ce98e38b4053c075050bda10;p=controller.git diff --git a/opendaylight/netconf/netconf-impl/src/main/java/org/opendaylight/controller/netconf/impl/mapping/operations/DefaultStopExi.java b/opendaylight/netconf/netconf-impl/src/main/java/org/opendaylight/controller/netconf/impl/mapping/operations/DefaultStopExi.java index 2c6c89617f..6ea5deb645 100644 --- a/opendaylight/netconf/netconf-impl/src/main/java/org/opendaylight/controller/netconf/impl/mapping/operations/DefaultStopExi.java +++ b/opendaylight/netconf/netconf-impl/src/main/java/org/opendaylight/controller/netconf/impl/mapping/operations/DefaultStopExi.java @@ -10,14 +10,11 @@ package org.opendaylight.controller.netconf.impl.mapping.operations; import org.opendaylight.controller.netconf.api.NetconfSession; import org.opendaylight.controller.netconf.api.NetconfDocumentedException; import org.opendaylight.controller.netconf.api.NetconfOperationRouter; -import org.opendaylight.controller.netconf.impl.mapping.ExiDecoderHandler; -import org.opendaylight.controller.netconf.impl.mapping.ExiEncoderHandler; import org.opendaylight.controller.netconf.mapping.api.DefaultNetconfOperation; import org.opendaylight.controller.netconf.mapping.api.HandlingPriority; import org.opendaylight.controller.netconf.util.mapping.AbstractNetconfOperation; import org.opendaylight.controller.netconf.util.xml.XmlElement; import org.opendaylight.controller.netconf.util.xml.XmlNetconfConstants; -import org.opendaylight.controller.netconf.util.xml.XmlUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.w3c.dom.Document; @@ -50,16 +47,18 @@ public class DefaultStopExi extends AbstractNetconfOperation implements DefaultN @Override protected Element handle(Document document, XmlElement operationElement, NetconfOperationRouter opRouter) throws NetconfDocumentedException { - + throw new UnsupportedOperationException("Not implemented"); + /* netconfSession.remove(ExiDecoderHandler.class); netconfSession.removeAfterMessageSent(ExiEncoderHandler.HANDLER_NAME); Element getSchemaResult = document.createElement(XmlNetconfConstants.OK); XmlUtil.addNamespaceAttr(getSchemaResult, XmlNetconfConstants.URN_IETF_PARAMS_XML_NS_NETCONF_BASE_1_0); - logger.info("{} operation successful", STOP_EXI); + logger.trace("{} operation successful", STOP_EXI); logger.debug("received stop-exi message {} ", XmlUtil.toString(document)); return getSchemaResult; + */ } @Override @@ -70,4 +69,4 @@ public class DefaultStopExi extends AbstractNetconfOperation implements DefaultN public NetconfSession getNetconfSession() { return netconfSession; } -} \ No newline at end of file +}