This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-02-17 05:37:25,323 | INFO | lt-dispatcher-18 | MplsIntentFlowManager | 281 - org.opendaylight.nic.of-renderer - 1.1.0.Beryllium | Forward MPLS label at switch: Uri [_value=openflow:42] | |
2016-02-17 05:37:25,325 | WARN | entLoopGroup-7-4 | OFEncoder | 255 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.7.0.Beryllium | Message serialization failed | |
java.lang.IllegalStateException: Serializer for key: msgVersion: 1 objectType: org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev150203.actions.grouping.Action action type: org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev150203.action.grouping.action.choice.PushMplsCase experimenterID: null was not found - please verify that you are using correct message combination (e.g. OF v1.0 message to OF v1.0 device) | |
at org.opendaylight.openflowjava.protocol.impl.serialization.SerializerRegistryImpl.getSerializer(SerializerRegistryImpl.java:72)[255:org.opendaylight.openflowjav |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Setup 3 VM's in order to have 3 UNI's | |
Use POSTMAN collection under /resources | |
1. ovs-vsctl set-manager tcp:10.0.1.6:6640 | |
2. Create UNI #1 (Use POSTMAN collection under /resources) | |
3. Create UNI #2 | |
4. Create UNI #3 | |
5.Create EVC #1 (UNI #1 to UNI #2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"topology-id": "unimgr:evc", | |
"link": [ | |
{ | |
"link-id": "evc://1", | |
"cl-unimgr-mef:uni-dest": [ | |
{ | |
"order": 0, | |
"uni": "/network-topology:network-topology/network-topology:topology[network-topology:topology-id='unimgr:uni']/network-topology:node[network-topology:node-id='uni://10.0.1.35']", | |
"ip-address": "10.0.1.35" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"topology-id": "unimgr:evc", | |
"link": [ | |
{ | |
"link-id": "evc://1", | |
"cl-unimgr-mef:uni-dest": [ | |
{ | |
"order": 0, | |
"uni": "/network-topology:network-topology/network-topology:topology[network-topology:topology-id='unimgr:uni']/network-topology:node[network-topology:node-id='uni://10.0.1.36']", | |
"ip-address": "10.0.1.36" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-12-21 12:18:52,546 | ERROR | ult-dispatcher-3 | DataChangeListener | 161 - org.opendaylight.controller.sal-distributed-datastore - 1.3.0.SNAPSHOT | Error notifying listener org.opendaylight.nic.listeners.impl.IntentNotificationSupplierImpl | |
java.lang.NullPointerException | |
at org.opendaylight.nic.mapping.mdsal.impl.MappingMdsalProvider.get(MappingMdsalProvider.java:156)[243:org.opendaylight.nic.intent-mapping-mdsal:1.1.0.SNAPSHOT] | |
at org.opendaylight.nic.of.renderer.impl.OFRendererFlowManagerProvider.pushIntentFlow(OFRendererFlowManagerProvider.java:95)[266:org.opendaylight.nic.of-renderer:1.1.0.SNAPSHOT] | |
at org.opendaylight.nic.listeners.impl.IntentNotificationSubscriberImpl.handleEvent(IntentNotificationSubscriberImpl.java:33)[275:org.opendaylight.nic.intent-listeners:1.1.0.SNAPSHOT] | |
at org.opendaylight.nic.listeners.impl.AbstractNotificationSupplierItemRoot.deleted(AbstractNotificationSupplierItemRoot.java:137)[275:org.opendaylight.nic.intent-listeners:1.1.0.SNAPSHOT] | |
at org.opendaylig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mininet@mininet-vm:~$ sudo ovs-ofctl -O OpenFlow13 dump-flows s1|head -10 | |
OFPST_FLOW reply (OF1.3) (xid=0x2): | |
cookie=0x1, duration=378.143s, table=0, n_packets=76, n_bytes=6460, priority=9500,dl_type=0x88cc actions=CONTROLLER:65535 | |
cookie=0x3, duration=378.142s, table=0, n_packets=0, n_bytes=0, priority=10000,arp actions=CONTROLLER:65535,NORMAL | |
cookie=0x0, duration=378.140s, table=0, n_packets=0, n_bytes=0, priority=9000,ip,nw_src=10.0.0.1,nw_dst=10.0.0.3 actions=push_mpls:0x8847,set_field:22154->mpls_label,output:2 | |
cookie=0x0, duration=113.231s, table=0, n_packets=0, n_bytes=0, priority=9000,mpls,mpls_label=410740,mpls_bos=1 actions=pop_mpls:0x8847,output:1 | |
cookie=0x0, duration=378.143s, table=0, n_packets=0, n_bytes=0, priority=0 actions=goto_table:1 | |
cookie=0x0, duration=378.138s, table=1, n_packets=0, n_bytes=0, priority=0 actions=goto_table:2 | |
cookie=0x0, duration=378.135s, table=2, n_packets=0, n_bytes=0, priority=0 actions=goto_table:3 | |
cookie=0x0, duration=378.132s, table=3, n_packets=0, n_bytes= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
(c) Copyright 2015 Hewlett-Packard Development Company, L.P. and others. All rights reserved. | |
This program is made available under the terms of the | |
Eclipse Public License v1.0 which accompanies this distribution, | |
and is available at http://www.eclipse.org/legal/epl-v10.html | |
--> | |
<features name="odl-nic-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-11-20 13:09:07,948 | ERROR | config-pusher | ConfigPusherImpl | 114 - org.opendaylight.controller.config-persister-impl - 0.4.0.SNAPSHOT | Failed to apply configuration snapshot: 87-intent-mapping-mdsal.xml(odl-nic-core-service-mdsal,odl-nic-core-service-mdsal) | |
java.lang.NullPointerException: Namespace urn:opendaylight:nic:intent:mapping:mdsal:impl, defined in: module intent-mapping-mdsal-impl of type intent-mapping-mdsal-impl not found, available namespaces: [urn:opendaylight:params:xml:ns:yang:openflowplugin:app:forwardingrules-manager, urn:opendaylight:params:xml:ns:yang:topology-lldp-discovery:impl, urn:opendaylight:params:xml:ns:yang:controller:config:distributed-entity-ownership-service, urn:opendaylight:nic:intent:impl, config:aaa:authn:mdsal:store, urn:opendaylight:params:xml:ns:yang:controller:config:cluster-admin-provider, urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:flexible, urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor, urn:opendaylig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"mappings": { | |
"outer-map": [ | |
{ | |
"id": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6", | |
"inner-map": [ | |
{ | |
"inner-key": "hostname", | |
"value": "alice" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Mapping Service feature --> | |
<feature name="odl-nic-core-service" version="${project.version}" description='OpenDaylight :: Network Intent Composition :: Mapping service'> | |
<feature version="${hazelcast.version}">hazelcast</feature> | |
<feature version="${mdsal.version}">odl-mdsal-broker</feature> | |
<bundle>mvn:org.opendaylight.nic/intent-mapping/{{VERSION}}</bundle> | |
<configfile finalname="etc/opendaylight/karaf/87-intent-mapping.xml"> | |
mvn:org.opendaylight.nic/intent-mapping/{{VERSION}}/xml/config | |
</configfile> | |
</feature> |