Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1048

Netconf connector assumes candidate=running on transaction start

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Post-Helium
    • None
    • netconf
    • None
    • Operating System: All
      Platform: All

    • 2443

    Description

      Currently ODL's netconf implementation does not ask for a copy of running configuration to candidate configuration when applying changes. Hence, when a commit with changes is applied the changes overwrite the running configuration with candidate which is empty containing only the new changes in that part of the tree (i.e. old running config is deleted).

      The sequence of commands (applied via restconf) was:

      1. GET all config :http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/vppA/yang-ext:mount/

      Provides list of full interfaces

      2. POST http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/vppA/yang-ext:mount/ietf-interfaces:interfaces/
      {
      "ietf-interfaces:interface" : [

      { "name":"TenGigabitEthernet4/0/1", "enabled" : true, "type": "iana-if-type:ethernetCsmacd" }

      ]
      }

      3. GET all config http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/vppA/yang-ext:mount/

      Provides only interface TenGE4/0/1

      Regards,
      Wojciech.

      2014-11-24 17:01:56,201 | DEBUG | oupCloseable-6-2 | AbstractNetconfSession | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | handling incoming message
      2014-11-24 17:01:56,201 | DEBUG | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice

      {vppA}: Message received org.opendaylight.controller.netconf.api.NetconfMessage@2aa9c63
      2014-11-24 17:01:56,203 | TRACE | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice{vppA}

      : Matched request: <rpc message-id="m-2" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      </get-config>
      </rpc>
      to response: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-2">
      <data>

      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>GigabitEthernet2/0/1</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>GigabitEthernet2/0/2</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>GigabitEthernet2/0/3</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet4/0/0</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet6/0/0</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet6/0/1</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet83/0/0</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet83/0/1</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      </interfaces>

      </rpc-reply>

      2014-11-24 17:03:51,528 | TRACE | qtp13837820-65 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice

      {vppA}: Sending message <rpc message-id="m-3" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      </interface>
      </interfaces>
      </filter>
      </get-config>
      </rpc>

      2014-11-24 17:03:51,529 | TRACE | oupCloseable-6-2 | NetconfMessageToXMLEncoder | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Sent to encode : <rpc message-id="m-3" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      </interface>
      </interfaces>
      </filter>
      </get-config>
      </rpc>

      2014-11-24 17:03:51,530 | TRACE | oupCloseable-6-2 | AsyncSshHandlerWriter | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Writing request on channel: [id: 0xf12e5f79], message:
      #362
      <rpc message-id="m-3" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      </interface>
      </interfaces>
      </filter>
      </get-config>
      </rpc>

      ##

      2014-11-24 17:03:51,530 | TRACE | 2]-nio2-thread-5 | AsyncSshHandlerWriter | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Ssh write request finished on channel: [id: 0xf12e5f79] with result: true: and ex:null, message:
      #362
      <rpc message-id="m-3" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      </interface>
      </interfaces>
      </filter>
      </get-config>
      </rpc>

      ##

      2014-11-24 17:03:51,531 | TRACE | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | Finished sending request org.opendaylight.controller.netconf.api.NetconfMessage@48f97e2a
      2014-11-24 17:03:51,713 | TRACE | oupCloseable-6-2 | NetconfXMLToMessageDecoder | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Received to decode: 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d38223f3e0a3c7270632d7265706c7920786d6c6e733d2275726e3a696574663a706172616d733a786d6c3a6e733a6e6574636f6e663a626173653a312e3022206d6573736167652d69643d226d2d33223e3c646174613e3c696e746572666163657320786d6c6e733d2275726e3a696574663a706172616d733a786d6c3a6e733a79616e673a696574662d696e7465726661636573223e3c696e746572666163653e3c6e616d653e54656e4769676162697445746865726e6574342f302f313c2f6e616d653e3c7479706520786d6c6e733a69616e616966743d2275726e3a696574663a706172616d733a786d6c3a6e733a79616e673a69616e612d69662d74797065223e69616e616966743a65746865726e657443736d6163643c2f747970653e3c656e61626c65643e66616c73653c2f656e61626c65643e3c2f696e746572666163653e3c2f696e74657266616365733e3c2f646174613e3c2f7270632d7265706c793e
      2014-11-24 17:03:51,714 | DEBUG | oupCloseable-6-2 | AbstractNetconfSession | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | handling incoming message
      2014-11-24 17:03:51,714 | DEBUG | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice{vppA}

      : Message received org.opendaylight.controller.netconf.api.NetconfMessage@2369ff77
      2014-11-24 17:03:51,715 | TRACE | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice

      {vppA}: Matched request: <rpc message-id="m-3" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      </interface>
      </interfaces>
      </filter>
      </get-config>
      </rpc>
      to response: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-3">
      <data>
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      </interfaces>
      </data>
      </rpc-reply>

      2014-11-24 17:03:51,724 | TRACE | qtp13837820-65 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice{vppA}

      : Sending message <rpc message-id="m-4" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"/>
      </filter>
      </get-config>
      </rpc>

      2014-11-24 17:03:51,725 | TRACE | oupCloseable-6-2 | NetconfMessageToXMLEncoder | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Sent to encode : <rpc message-id="m-4" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"/>
      </filter>
      </get-config>
      </rpc>

      2014-11-24 17:03:51,725 | TRACE | oupCloseable-6-2 | AsyncSshHandlerWriter | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Writing request on channel: [id: 0xf12e5f79], message:
      #287
      <rpc message-id="m-4" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"/>
      </filter>
      </get-config>
      </rpc>

      ##

      2014-11-24 17:03:51,726 | TRACE | 2]-nio2-thread-7 | AsyncSshHandlerWriter | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Ssh write request finished on channel: [id: 0xf12e5f79] with result: true: and ex:null, message:
      #287
      <rpc message-id="m-4" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"/>
      </filter>
      </get-config>
      </rpc>

      ##

      2014-11-24 17:03:51,726 | TRACE | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | Finished sending request org.opendaylight.controller.netconf.api.NetconfMessage@3969ac8
      2014-11-24 17:03:51,911 | TRACE | oupCloseable-6-2 | NetconfXMLToMessageDecoder | 145 - org.opendaylight.controller.netconf-
      2014-11-24 17:03:51,912 | DEBUG | oupCloseable-6-2 | AbstractNetconfSession | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | handling incoming message
      2014-11-24 17:03:51,912 | DEBUG | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice

      {vppA}: Message received org.opendaylight.controller.netconf.api.NetconfMessage@6255adc7
      2014-11-24 17:03:51,913 | TRACE | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice{vppA}

      : Matched request: <rpc message-id="m-4" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"/>
      </filter>
      </get-config>
      </rpc>
      to response: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-4">
      <data>
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>GigabitEthernet2/0/1</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>GigabitEthernet2/0/2</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>GigabitEthernet2/0/3</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet4/0/0</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet6/0/0</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet6/0/1</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet83/0/0</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet83/0/1</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      </interfaces>
      </data>
      </rpc-reply>

      2014-11-24 17:03:51,923 | TRACE | qtp13837820-65 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice

      {vppA}: Sending message <rpc message-id="m-5" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"/>
      </filter>
      </get-config>
      </rpc>

      2014-11-24 17:03:51,924 | TRACE | oupCloseable-6-2 | NetconfMessageToXMLEncoder | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Sent to encode : <rpc message-id="m-5" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"/>
      </filter>
      </get-config>
      </rpc>

      2014-11-24 17:03:51,924 | TRACE | oupCloseable-6-2 | AsyncSshHandlerWriter | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Writing request on channel: [id: 0xf12e5f79], message:
      #287
      <rpc message-id="m-5" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"/>
      </filter>
      </get-config>
      </rpc>

      ##

      2014-11-24 17:03:51,925 | TRACE | 2]-nio2-thread-2 | AsyncSshHandlerWriter | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Ssh write request finished on channel: [id: 0xf12e5f79] with result: true: and ex:null, message:
      #287
      <rpc message-id="m-5" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"/>
      </filter>
      </get-config>
      </rpc>

      ##

      2014-11-24 17:03:51,925 | TRACE | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | Finished sending request org.opendaylight.controller.netconf.api.NetconfMessage@aa6f553
      2014-11-24 17:03:52,114 | TRACE | oupCloseable-6-2 | NetconfXMLToMessageDecoder | 145 - org.opendaylight.controller.netconf-n
      2014-11-24 17:03:52,115 | DEBUG | oupCloseable-6-2 | AbstractNetconfSession | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | handling incoming message
      2014-11-24 17:03:52,115 | DEBUG | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice{vppA}

      : Message received org.opendaylight.controller.netconf.api.NetconfMessage@3abb386e
      2014-11-24 17:03:52,116 | TRACE | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice

      {vppA}: Matched request: <rpc message-id="m-5" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"/>
      </filter>
      </get-config>
      </rpc>
      to response: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-5">
      <data>
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>GigabitEthernet2/0/1</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>GigabitEthernet2/0/2</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>GigabitEthernet2/0/3</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet4/0/0</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet6/0/0</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet6/0/1</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet83/0/0</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      <interface>
      <name>TenGigabitEthernet83/0/1</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      </interfaces>
      </data>
      </rpc-reply>

      2014-11-24 17:03:52,127 | TRACE | qtp13837820-65 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice{vppA}

      : Sending message <rpc message-id="m-6" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      </interface>
      </interfaces>
      </filter>
      </get-config>
      </rpc>

      2014-11-24 17:03:52,127 | TRACE | oupCloseable-6-2 | NetconfMessageToXMLEncoder | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Sent to encode : <rpc message-id="m-6" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      </interface>
      </interfaces>
      </filter>
      </get-config>
      </rpc>

      2014-11-24 17:03:52,128 | TRACE | oupCloseable-6-2 | AsyncSshHandlerWriter | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Writing request on channel: [id: 0xf12e5f79], message:
      #362
      <rpc message-id="m-6" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      </interface>
      </interfaces>
      </filter>
      </get-config>
      </rpc>

      ##

      2014-11-24 17:03:52,128 | TRACE | 2]-nio2-thread-6 | AsyncSshHandlerWriter | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Ssh write request finished on channel: [id: 0xf12e5f79] with result: true: and ex:null, message:
      #362
      <rpc message-id="m-6" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      </interface>
      </interfaces>
      </filter>
      </get-config>
      </rpc>

      ##

      2014-11-24 17:03:52,129 | TRACE | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | Finished sending request org.opendaylight.controller.netconf.api.NetconfMessage@312d0eac
      2014-11-24 17:03:52,300 | TRACE | oupCloseable-6-2 | NetconfXMLToMessageDecoder | 145 - org.opendaylight.controller.netconf-
      2014-11-24 17:03:52,301 | DEBUG | oupCloseable-6-2 | AbstractNetconfSession | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | handling incoming message
      2014-11-24 17:03:52,301 | DEBUG | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice

      {vppA}: Message received org.opendaylight.controller.netconf.api.NetconfMessage@17295ba0
      2014-11-24 17:03:52,302 | TRACE | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice{vppA}

      : Matched request: <rpc message-id="m-6" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      <filter xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:type="subtree">
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      </interface>
      </interfaces>
      </filter>
      </get-config>
      </rpc>
      to response: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-6">
      <data>
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
      <enabled>false</enabled>
      </interface>
      </interfaces>
      </data>
      </rpc-reply>

      2014-11-24 17:03:52,312 | TRACE | qtp13837820-65 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice

      {vppA}: Sending message <rpc message-id="m-7" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <edit-config>
      <target>
      <candidate/>
      </target>
      <error-option>rollback-on-error</error-option>
      <config>
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      <type xmlns:x="urn:ietf:params:xml:ns:yang:iana-if-type">x:ethernetCsmacd</type>
      <enabled>true</enabled>
      </interface>
      </interfaces>
      </config>
      </edit-config>
      </rpc>

      2014-11-24 17:03:52,313 | TRACE | oupCloseable-6-2 | NetconfMessageToXMLEncoder | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Sent to encode : <rpc message-id="m-7" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <edit-config>
      <target>
      <candidate/>
      </target>
      <error-option>rollback-on-error</error-option>
      <config>
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      <type xmlns:x="urn:ietf:params:xml:ns:yang:iana-if-type">x:ethernetCsmacd</type>
      <enabled>true</enabled>
      </interface>
      </interfaces>
      </config>
      </edit-config>
      </rpc>

      2014-11-24 17:03:52,313 | TRACE | oupCloseable-6-2 | AsyncSshHandlerWriter | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Writing request on channel: [id: 0xf12e5f79], message:
      #451
      <rpc message-id="m-7" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <edit-config>
      <target>
      <candidate/>
      </target>
      <error-option>rollback-on-error</error-option>
      <config>
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      <type xmlns:x="urn:ietf:params:xml:ns:yang:iana-if-type">x:ethernetCsmacd</type>
      <enabled>true</enabled>
      </interface>
      </interfaces>
      </config>
      </edit-config>
      </rpc>

      ##

      2014-11-24 17:03:52,314 | TRACE | 2]-nio2-thread-8 | AsyncSshHandlerWriter | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Ssh write request finished on channel: [id: 0xf12e5f79] with result: true: and ex:null, message:
      #451
      <rpc message-id="m-7" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <edit-config>
      <target>
      <candidate/>
      </target>
      <error-option>rollback-on-error</error-option>
      <config>
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      <type xmlns:x="urn:ietf:params:xml:ns:yang:iana-if-type">x:ethernetCsmacd</type>
      <enabled>true</enabled>
      </interface>
      </interfaces>
      </config>
      </edit-config>
      </rpc>

      ##

      2014-11-24 17:03:52,314 | TRACE | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | Finished sending request org.opendaylight.controller.netconf.api.NetconfMessage@44fb326e
      2014-11-24 17:03:52,504 | TRACE | oupCloseable-6-2 | NetconfXMLToMessageDecoder | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Received to decode: 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d38223f3e0a3c7270632d7265706c7920786d6c6e733d2275726e3a696574663a706172616d733a786d6c3a6e733a6e6574636f6e663a626173653a312e3022206d6573736167652d69643d226d2d37223e3c6f6b2f3e3c2f7270632d7265706c793e
      2014-11-24 17:03:52,504 | DEBUG | oupCloseable-6-2 | AbstractNetconfSession | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | handling incoming message
      2014-11-24 17:03:52,505 | DEBUG | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice{vppA}

      : Message received org.opendaylight.controller.netconf.api.NetconfMessage@3f910959
      2014-11-24 17:03:52,506 | TRACE | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice

      {vppA}: Matched request: <rpc message-id="m-7" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <edit-config>
      <target>
      <candidate/>
      </target>
      <error-option>rollback-on-error</error-option>
      <config>
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>
      <name>TenGigabitEthernet4/0/1</name>
      <type xmlns:x="urn:ietf:params:xml:ns:yang:iana-if-type">x:ethernetCsmacd</type>
      <enabled>true</enabled>
      </interface>
      </interfaces>
      </config>
      </edit-config>
      </rpc>
      to response: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-7">
      <ok/>
      </rpc-reply>

      2014-11-24 17:03:52,516 | TRACE | qtp13837820-65 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice{vppA}

      : Sending message <rpc message-id="m-8" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <commit/>
      </rpc>

      2014-11-24 17:03:52,517 | TRACE | oupCloseable-6-2 | NetconfMessageToXMLEncoder | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Sent to encode : <rpc message-id="m-8" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <commit/>
      </rpc>

      2014-11-24 17:03:52,517 | TRACE | oupCloseable-6-2 | AsyncSshHandlerWriter | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Writing request on channel: [id: 0xf12e5f79], message:
      #88
      <rpc message-id="m-8" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <commit/>
      </rpc>

      ##

      2014-11-24 17:03:52,518 | TRACE | 2]-nio2-thread-3 | AsyncSshHandlerWriter | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Ssh write request finished on channel: [id: 0xf12e5f79] with result: true: and ex:null, message:
      #88
      <rpc message-id="m-8" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <commit/>
      </rpc>

      ##

      2014-11-24 17:03:52,518 | TRACE | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | Finished sending request org.opendaylight.controller.netconf.api.NetconfMessage@4bde8e6
      2014-11-24 17:03:52,880 | TRACE | oupCloseable-6-2 | NetconfXMLToMessageDecoder | 145 - org.opendaylight.controller.netconf-
      2014-11-24 17:03:52,881 | DEBUG | oupCloseable-6-2 | AbstractNetconfSession | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | handling incoming message
      2014-11-24 17:03:52,881 | DEBUG | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice

      {vppA}: Message received org.opendaylight.controller.netconf.api.NetconfMessage@5d742f8c
      2014-11-24 17:03:52,882 | TRACE | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice{vppA}

      : Matched request: <rpc message-id="m-8" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <commit/>
      </rpc>
      to response: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-8">
      <ok/>
      </rpc-reply>

      2014-11-24 17:03:52,883 | DEBUG | oupCloseable-6-2 | NetconfDeviceWriteOnlyTx | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice

      {vppA}: Write successful, transaction: org.opendaylight.controller.sal.connect.netconf.sal.tx.NetconfDeviceWriteOnlyTx@7f1654b4
      2014-11-24 17:04:05,516 | TRACE | qtp13837820-67 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice{vppA}

      : Sending message <rpc message-id="m-9" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      </get-config>
      </rpc>

      2014-11-24 17:04:05,516 | TRACE | oupCloseable-6-2 | NetconfMessageToXMLEncoder | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Sent to encode : <rpc message-id="m-9" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      </get-config>
      </rpc>

      2014-11-24 17:04:05,517 | TRACE | oupCloseable-6-2 | AsyncSshHandlerWriter | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Writing request on channel: [id: 0xf12e5f79], message:
      #135
      <rpc message-id="m-9" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      </get-config>
      </rpc>

      ##

      2014-11-24 17:04:05,517 | TRACE | 2]-nio2-thread-4 | AsyncSshHandlerWriter | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | Ssh write request finished on channel: [id: 0xf12e5f79] with result: true: and ex:null, message:
      #135
      <rpc message-id="m-9" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      </get-config>
      </rpc>

      ##

      2014-11-24 17:04:05,518 | TRACE | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | Finished sending request org.opendaylight.controller.netconf.api.NetconfMessage@3ed99ae8
      2014-11-24 17:04:05,699 | TRACE | oupCloseable-6-2 | NetconfXMLToMessageDecoder | 145 - org.opendaylight.controller.netconf-
      2014-11-24 17:04:05,700 | DEBUG | oupCloseable-6-2 | AbstractNetconfSession | 145 - org.opendaylight.controller.netconf-netty-util - 0.2.5.Helium | handling incoming message
      2014-11-24 17:04:05,700 | DEBUG | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice

      {vppA}: Message received org.opendaylight.controller.netconf.api.NetconfMessage@65dd92d0
      2014-11-24 17:04:05,702 | TRACE | oupCloseable-6-2 | NetconfDeviceCommunicator | 168 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.Helium | RemoteDevice{vppA}

      : Matched request: <rpc message-id="m-9" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get-config>
      <source>
      <running/>
      </source>
      </get-config>
      </rpc>
      ...

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mmarsale@cisco.com Maros Marsalek
              wojdec Wojciech Dec
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: