Xml 如何从OpenDaylight中删除操作节点?
我试图添加netconf服务器装载点,从而破坏了OpenDaylight的安装。我相信只要删除添加到操作清单中的节点(/restconf/operational/opendaylight inventory:nodes/node/netconfserver),就可以修复系统。如何删除此项?关于我如何打破ODL的全部细节如下Xml 如何从OpenDaylight中删除操作节点?,xml,rest,opendaylight,Xml,Rest,Opendaylight,我试图添加netconf服务器装载点,从而破坏了OpenDaylight的安装。我相信只要删除添加到操作清单中的节点(/restconf/operational/opendaylight inventory:nodes/node/netconfserver),就可以修复系统。如何删除此项?关于我如何打破ODL的全部细节如下 我试图通过以下示例将OpenDaylight连接到netconf服务器。我向正在运行的opendaylight服务器发送了以下curl请求: curl-v-X POST-H
我试图通过以下示例将OpenDaylight连接到netconf服务器。我向正在运行的opendaylight服务器发送了以下curl请求: curl-v-X POST-H“内容类型:应用程序/xml”-T./mount\u netconfserver.xml-u admin:admin mount_netconfserver.xml:
<snapshot>
<configuration>
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
<module>
<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">prefix:sal-netconf-connector</type>
<name>netconf_server</name>
<port xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">8181</port>
<username xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">admin</username>
<address xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">*address_removed_for_privacy*</address>
<tcp-only xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">false</tcp-only>
<password xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">admin</password>
<event-executor xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">
<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netty">prefix:netty-event-executor</type>
<name>global-event-executor</name>
</event-executor>
<binding-registry xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">
<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">prefix:binding-broker-osgi-registry</type>
<name>binding-osgi-broker</name>
</binding-registry>
<dom-registry xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">
<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">prefix:dom-broker-osgi-registry</type>
<name>dom-broker</name>
</dom-registry>
<client-dispatcher xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">
<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf">prefix:netconf-client-dispatcher</type>
<name>global-netconf-dispatcher</name>
</client-dispatcher>
<processing-executor xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">
<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:threadpool">prefix:threadpool</type>
<name>global-netconf-processing-executor</name>
</processing-executor>
</module>
</modules>
</data>
</configuration>
<required-capabilities>
<![CDATA[urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf?module=odl-sal-netconf-connector-cfg&revision=2013-10-28]]>
</required-capabilities>
</snapshot>
你在找这个吗 在控制器运行时销毁Netconf连接器 使用RESTCONF还可以销毁模块的实例。如果是netconf连接器,模块将被销毁,netconf连接将被删除,所有资源将被清理。为此,只需向以下URL发出删除请求:
!ENTRY org.apache.oltu.oauth2.resourceserver 4 0 2015-01-13 15:53:18.047
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.io.IOException: Exception in opening zip file: /opt/distribution-karaf-0.2.1-Helium-SR1/data/cache/org.eclipse.osgi/bundles/207/1/bundlefile
at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:291)
...