Skip to content

Instantly share code, notes, and snippets.

2015-11-12 12:50:44,466 | WARN | CommitFutures-7 | PingPongTransactionChain | 133 - org.opendaylight.controller.sal-broker-impl - 1.3.0.SNAPSHOT | Transaction chain org.opendaylight.controller.cluster.databroker.DOMBrokerTransactionChain@5251884c failed with no pending transactions
2015-11-12 12:50:44,466 | WARN | CommitFutures-4 | TransactionChainManager | 250 - org.opendaylight.openflowplugin.impl - 0.2.0.SNAPSHOT | txChain failed -> recreating
TransactionCommitFailedException{message=Data did not pass validation., errorList=[RpcError [message=Data did not pass validation., severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ModifiedNodeDoesNotExistException: Node /(urn:opendaylight:inventory?revision=2013-08-19)nodes/node/node[{(urn:opendaylight:inventory?revision=2013-08-19)id=openflow:86438107511875}] does not exist. Cannot apply modification to its children.]]}
at org.opendaylight.co
2015-10-29 10:52:46,341 | INFO | NioProcessor-2 | ClientUserAuthServiceNew | 163 - org.apache.sshd.core - 0.14.0 | Received SSH_MSG_USERAUTH_SUCCESS
2015-10-29 10:52:46,341 | INFO | o-group-thread-7 | ServerUserAuthService | 163 - org.apache.sshd.core - 0.14.0 | Session admin@/127.0.0.1:44381 authenticated
2015-10-29 10:52:47,458 | INFO | sing-executor-11 | NetconfDevice | 262 - org.opendaylight.controller.sal-netconf-connector - 1.2.3.SNAPSHOT | RemoteDevice{controller-config}: Netconf connector initialized successfully
2015-10-29 10:52:49,171 | INFO | ntLoopGroup-13-1 | ConnectionAdapterImpl | 287 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.6.3.SNAPSHOT | Hello received / branch
2015-10-29 10:52:49,226 | INFO | pool-29-thread-1 | StatisticsManagerImpl | 301 - org.opendaylight.openflowplugin.applications.statistics-manager - 0.1.3.SNAPSHOT | No existing collector found for new node. Creating a new collector for KeyedInstanceIde
2015-10-28 22:43:52,862 | INFO | Event Dispatcher | RegionsPersistenceImpl | 49 - org.apache.karaf.region.persist - 3.0.3 | Loading region digraph persistence
2015-10-28 22:43:52,932 | INFO | Event Dispatcher | Activator | 66 - org.ops4j.pax.web.pax-web-runtime - 3.1.4 | EventAdmin support is not available, no servlet events will be posted!
2015-10-28 22:43:52,934 | INFO | Event Dispatcher | Activator | 66 - org.ops4j.pax.web.pax-web-runtime - 3.1.4 | LogService support enabled, log events will be created.
2015-10-28 22:43:52,935 | INFO | Event Dispatcher | Activator | 66 - org.ops4j.pax.web.pax-web-runtime - 3.1.4 | Pax Web started
2015-10-28 22:43:53,048 | INFO | pool-3-thread-1 | Server | 58 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.15.v20140411 | jetty-8.1.15.v20140411
2015-10-28 22:43:53,077 | INFO | pool-3-thread-1 | AbstractConnector | 58 - org.eclipse.jetty.aggrega
MutableDataTree [modification=NodeModification [identifier=(urn:ietf:params:xml:ns:netconf:base:1.0)data, modificationType=TOUCH, childModification={(urn:opendaylight:inventory?revision=2013-08-19)nodes=NodeModification [identifier=(urn:opendaylight:inventory?revision=2013-08-19)nodes, modificationType=TOUCH, childModification={(urn:opendaylight:inventory?revision=2013-08-19)node=NodeModification [identifier=(urn:opendaylight:inventory?revision=2013-08-19)node, modificationType=MERGE, childModification={(urn:opendaylight:inventory?revision=2013-08-19)node[{(urn:opendaylight:inventory?revision=2013-08-19)id=openflow:1}]=NodeModification [identifier=(urn:opendaylight:inventory?revision=2013-08-19)node[{(urn:opendaylight:inventory?revision=2013-08-19)id=openflow:1}], modificationType=WRITE, childModification={AugmentationIdentifier{childNames=[(urn:opendaylight:meter:statistics?revision=2013-11-11)meter-features]}=NodeModification [identifier=AugmentationIdentifier{childNames=[(urn:opendaylight:meter:statistics?
2015-10-08 18:36:32,123 | WARN | oupCloseable-6-1 | NetconfDeviceCommunicator | 264 - org.opendaylight.controller.sal-netconf-connector - 1.2.2.SNAPSHOT | RemoteDevice{controller-config}: Session went down
java.io.IOException: End of input detected. Close the session.
at org.opendaylight.controller.netconf.nettyutil.AbstractNetconfSession.endOfInput(AbstractNetconfSession.java:80)[116:org.opendaylight.controller.netconf-netty-util:0.3.2.SNAPSHOT]
at org.opendaylight.protocol.framework.AbstractProtocolSession.channelInactive(AbstractProtocolSession.java:40)[104:org.opendaylight.controller.protocol-framework:0.6.2.SNAPSHOT]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:237)[75:io.netty.transport:4.0.26.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:223)[75:io.netty.transport:4.0.26.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.jav
@icarocamelo
icarocamelo / odl-notes.txt
Created October 1, 2015 13:25
Opendaylight notes
1) GettingStarted:Development Environment Setup
https://wiki.opendaylight.org/view/GettingStarted:Development_Environment_Setup#Edit_your_.7E.2F.m2.2Fsettings.xml
GettingStarted:_Eclipse
2) https://wiki.opendaylight.org/view/GettingStarted:_Eclipse
You need to clone and compile in that order:
1. odlparent (git clone https://git.opendaylight.org/gerrit/odlparent)
2. yangtools (git clone https://git.opendaylight.org/gerrit/yangtools)
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>opendaylight-release</id>
<repositories>
<repository>
<id>opendaylight-mirror</id>
@icarocamelo
icarocamelo / keystore.java
Created September 24, 2015 19:53
add-to-keystore
public java.security.cert.Certificate getCert(Certificate certificate,
InputStream certificateStream) throws NoSuchAlgorithmException,
CertificateException, IOException, KeyStoreException {
String alias = "alias"; // TODO: replace for certificate.getAlias()
KeyStore keystore = KeyStore.getInstance("JKS");
keystore.load(certificateStream,
certificate.getKeyPassword().toCharArray());
java.security.cert.Certificate cert = keystore.getCertificate(alias);
return cert;
}
@icarocamelo
icarocamelo / socket-server.py
Last active September 9, 2015 19:13
simple socket server
#!/usr/bin/python
import socket
print 'Starting server...'
s = socket.socket()
host = '127.0.0.1'
port = 8887
s.bind((host, port))
print 'Bind'
s.listen(5) # Now wait for client connection.
while True:
@icarocamelo
icarocamelo / socket-client.py
Last active September 9, 2015 19:14
simple socket client
#client example
import socket
client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
print 'Connecting...'
client_socket.connect(('127.0.0.1', 8887))
print 'Connected'
while 1:
data = client_socket.recv(512)
if ( data == 'q' or data == 'Q'):
client_socket.close()