1st COMMAND DEVICE-SETCONFIGURATION EXECUTION W/O MESSAGE_ID - SUCCESS ====================================================================== andreas@andreas-OptiPlex-755:~/onos$ ol | grep -i netconf 2016-01-29 09:09:39,321 | DEBUG | h for user karaf | LoggingCommandSessionListener | 27 - org.apache.karaf.shell.console - 3.0.5 | Executing command: 'device-setconfiguration netconf:cisco@172.16.114.20:22 /home/JRA2members/netconf/test_wo_message_id.xml' 2016-01-29 09:09:39,345 | DEBUG | Thread-176 | onfDeviceOutputEventListenerImpl | 184 - org.onosproject.onos-netconf-ctl - 1.5.0.SNAPSHOT | Device netconf:cisco@172.16.114.20:22 has reply: 2016-01-29 09:09:39,346 | DEBUG | h for user karaf | NetconfSessionImpl | 184 - org.onosproject.onos-netconf-ctl - 1.5.0.SNAPSHOT | Reply from device 2016-01-29 09:09:39,346 | DEBUG | h for user karaf | LoggingCommandSessionListener | 27 - org.apache.karaf.shell.console - 3.0.5 | Command: 'device-setconfiguration netconf:cisco@172.16.114.20:22 /home/JRA2members/netconf/test_wo_message_id.xml' returned 'null' 2nd COMMAND SETCONFIGURATION EXECUTION W/O MESSAGE_ID - FAILURE ====================================================================== andreas@andreas-OptiPlex-755:~/onos$ ol | grep -i netconf 2016-01-29 09:11:28,657 | DEBUG | h for user karaf | LoggingCommandSessionListener | 27 - org.apache.karaf.shell.console - 3.0.5 | Executing command: 'device-setconfiguration netconf:cisco@172.16.114.20:22 /home/JRA2members/netconf/test_wo_message_id.xml' DEVICE COUNTERS BEFORE FAILED COMMAND ===================================== switch01#show netconf counters NETCONF Counters Connection Attempts:44: rejected:0 no-hello:0 success:44 Transactions total:254, success:147, errors:107 detailed errors: in-use 0 invalid-value 0 too-big 0 missing-attribute 0 bad-attribute 0 unknown-attribute 0 missing-element 92 bad-element 0 unknown-element 12 unknown-namespace 0 access-denied 0 lock-denied 0 resource-denied 1 rollback-failed 0 data-exists 0 data-missing 0 operation-not-supported 0 operation-failed 2 partial-operation 0 DEVICE OUTPUT WHILE RECEIVING MESSAGE ===================================== switch01# Jan 29 09:04:39.318: SSH2 0: ssh_receive: 476 bytes received Jan 29 09:04:39.318: SSH2 0: input: total packet length of 464 bytes Jan 29 09:04:39.318: SSH2 0: partial packet length(block size)16 bytes,needed 448 bytes, maclen 12 Jan 29 09:04:39.318: SSH2 0: MAC compared for #11 :ok Jan 29 09:04:39.318: SSH2 0: input: padlength 8 bytes Jan 29 09:04:39.335: SSH2 0: send:packet of length 448 (length also includes padlen of 11) Jan 29 09:04:39.335: SSH2 0: computed MAC for sequence no.#11 type 94 DEVICE COUNTERS AFTER FAILED COMMAND - NOTE THAT BOTH SUCCESS AND FAIL COUNTERS STEP UP ======================================================================================= switch01#show netconf counters NETCONF Counters Connection Attempts:44: rejected:0 no-hello:0 success:44 Transactions total:256, success:148, errors:108 detailed errors: in-use 0 invalid-value 0 too-big 0 missing-attribute 0 bad-attribute 0 unknown-attribute 0 missing-element 93 bad-element 0 unknown-element 12 unknown-namespace 0 access-denied 0 lock-denied 0 resource-denied 1 rollback-failed 0 data-exists 0 data-missing 0 operation-not-supported 0 operation-failed 2 partial-operation 0 COMMAND CONFIGURATION EXECUTION ================================================================= 2016-01-29 09:14:45,932 | DEBUG | h for user karaf | LoggingCommandSessionListener | 27 - org.apache.karaf.shell.console - 3.0.5 | Executing command: 'device-configuration netconf:cisco@172.16.114.20:22 running' DEVICE OUTPUT WHILE RECEIVING MESSAGE ===================================== switch01# Jan 29 09:07:56.610: SSH2 0: ssh_receive: 220 bytes received Jan 29 09:07:56.610: SSH2 0: input: total packet length of 208 bytes Jan 29 09:07:56.610: SSH2 0: partial packet length(block size)16 bytes,needed 192 bytes, maclen 12 Jan 29 09:07:56.610: SSH2 0: MAC compared for #12 :ok Jan 29 09:07:56.610: SSH2 0: input: padlength 18 bytes Jan 29 09:07:57.491: SSH2 0: send:packet of length 2640 (length also includes padlen of 17) Jan 29 09:07:57.491: SSH2 0: computed MAC for sequence no.#12 type 94 DEVICE COUNTERS AFTER FAILED COMMAND - NOTE THAT TRANSACTION WAS SUCCESSFUL =========================================================================== switch01#show netconf counters NETCONF Counters Connection Attempts:44: rejected:0 no-hello:0 success:44 Transactions total:257, success:149, errors:108 detailed errors: in-use 0 invalid-value 0 too-big 0 missing-attribute 0 bad-attribute 0 unknown-attribute 0 missing-element 93 bad-element 0 unknown-element 12 unknown-namespace 0 access-denied 0 lock-denied 0 resource-denied 1 rollback-failed 0 data-exists 0 data-missing 0 operation-not-supported 0 operation-failed 2 partial-operation 0