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
| { | |
| "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
| 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
| 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
| @Test | |
| public void testFlowToJsonString(){ | |
| EthernetType ethernetType = new EthernetType(45); | |
| EthernetDestination ethernetDestination = new EthernetDestination("f4:ce:46:bf:32:f3"); | |
| EthernetSource ethernetSource = new EthernetSource("d8:d3:85:5b:ad:89"); | |
| Match match = MatchBuilder | |
| .setEthernetType(ethernetType) | |
| .setEthernetDestination(ethernetDestination) | |
| .setEthernetSource(ethernetSource) |
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"?> | |
| <!-- vi: set et smarttab sw=4 tabstop=4: --> | |
| <!-- | |
| Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. | |
| This program and the accompanying materials are 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 | |
| --> | |
| <snapshot> |
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
| #!/usr/bin/python | |
| from mininet.topo import Topo | |
| from mininet.net import Mininet | |
| from mininet.cli import CLI | |
| from mininet.log import setLogLevel, info, debug | |
| from mininet.node import Host, RemoteController | |
| QUAGGA_DIR = '/usr/lib/quagga' | |
| # Must exist and be owned by quagga user (quagga:quagga by default on Ubuntu) |
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
| <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config"><module><type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:pcep:sr:cfg">x:pcep-parser-segment-routing</type><name>pcep-parser-segment-routing</name><iana-sr-subobjects-type xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:sr:cfg">false</iana-sr-subobjects-type></module><module><type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:pcep:stateful07:cfg">x:pcep-parser-ietf-stateful07</type><name>pcep-parser-ietf-stateful07</name></module><module><type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:bgp:flowspec">x:bgp-flowspec</type><name>bgp-flowspec</name></module><module><type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:netty:threadgroup">x:netty-threadgroup-fixed</type><name>global-worker-group</name></module><module><type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:netty:threadgroup">x:netty-threadgroup-fixed</type><name>global-boss-group</name></module><module><type xmlns:x="ur |
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
| ==Without any network== | |
| sudo ovs-ofctl -O OpenFlow13 dump-flows br-int | |
| OFPST_FLOW reply (OF1.3) (xid=0x2): | |
| cookie=0x0, duration=2871.555s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535 | |
| cookie=0x0, duration=2871.555s, table=0, n_packets=1, n_bytes=90, priority=0 actions=goto_table:20 | |
| cookie=0x0, duration=2871.555s, table=20, n_packets=122, n_bytes=13263, priority=0 actions=goto_table:30 | |
| cookie=0x0, duration=2871.555s, table=30, n_packets=122, n_bytes=13263, priority=0 actions=goto_table:40 | |
| cookie=0x0, duration=2871.555s, table=40, n_packets=59, n_bytes=6726, priority=0 actions=goto_table:50 | |
| cookie=0x0, duration=2871.555s, table=50, n_packets=122, n_bytes=13263, priority=0 actions=goto_table:60 | |
| cookie=0x0, duration=2871.555s, table=60, n_packets=122, n_bytes=13263, priority=0 actions=goto_table:70 |
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
| ldapRealm = org.opendaylight.aaa.shiro.realm.ODLJndiLdapRealm | |
| ldapRealm.userDnTemplate = uid={0},ou=<PEOPLE>,dc=<DOMAIN>,dc=<TLD> | |
| ldapRealm.contextFactory.url = ldap://<URL>:<PORT> | |
| ldapRealm.searchBase = dc=<DOMAIN>,dc=<TLD> | |
| ldapRealm.ldapAttributeForComparison = <OBJECTCLASS> | |
| ... |