Skip to content

Instantly share code, notes, and snippets.

a. Deploy ODL + Deploy Control Node + Compute Node
(could be in parallel also)
b. Check if ODL as a manager is successfully connected in Control and Compute Nodes
is_connected from their sudo ovs-vsctl show
c. Check if br-int and br-ex have got created in both nodes
d. Check if the initial list of flow entries are present in both nodes
20160318 09:07:52.326 : INFO : Logging into '127.0.0.1:8101' as 'karaf'.
20160318 09:07:52.397 : INFO :
Read output: 
 ________ ________ .__ .__ .__ __
 \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
 / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
 / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
 \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
 \/|__| \/ \/ \/ \/\/ /_____/ \/
20160318 08:44:39.728 : INFO : Logging into '127.0.0.1:8101' as 'karaf'.
20160318 08:44:39.869 : INFO :
Read output: 
 ________ ________ .__ .__ .__ __
 \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
 / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
 / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
 \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
 \/|__| \/ \/ \/ \/\/ /_____/ \/
Mininet script
gvrangan@openstack-controlnode:~$ cat path_test.py
#!/usr/bin/python
from mininet.topo import Topo
class MyTopo( Topo ):
"Simple topology example."
def __init__( self ):
"Create custom topo."
# Initialize topology
Topo.__init__( self )
8:05.35] <@hideyuki> #startmeeting Weekly Meeting
[08:06.20] <@hideyuki> #topic Questions
[08:06.40] <@hideyuki> #info Sai asked a problem about errors on OpenStack Integration.
[08:10.32] <gvrangan> #info Sai has problems with stacking
[08:18.26] <gvrangan> #info Suggested Sai to try packstack also
[08:18.44] <gvrangan> #action need to comeuop with the list of API to suport with openstack
[08:19.44] <@hideyuki> #topic Review the meeting minutes of the last meeting
[08:19.59] <gvrangan> #action update the dates in trello - yet to complete
[08:20.11] <@hideyuki> #link https://meetings.opendaylight.org/opendaylight-vtn/2016/weekly_meeting/openday light-vtn-weekly_meeting.2016-02-24-16.03.html the meeting minutes for the last meeting (02/24)
[08:20.18] <gvrangan> #action Bug 5330 Needs to be assigned and worked on priority - in progress
Opendaylight
------------
- Download the Be distribution (https://www.opendaylight.org/downloads)
- Untar the distribution and them launch bin/karaf from the extracted directory
- Install the feature odl-ovsdb-openstack
- Open another terminal and verify ODL successfully bings to ports 6640,6653,6633, 8080 etc using "netstat -tunpl" command
ubuntu@odl-os-control-node:~/devstack$ sudo ovs-ofctl dump-flows br-int -OOpenFlow13
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=2004.335s, table=0, n_packets=67, n_bytes=8000, in_port=1,dl_src=fa:16:3e:d0:1f:ad actions=set_field:0x426->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=1182.896s, table=0, n_packets=44, n_bytes=3754, in_port=6,dl_src=fa:16:3e:de:47:a5 actions=set_field:0x426->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=2052.341s, table=0, n_packets=3, n_bytes=258, priority=0 actions=goto_table:20
cookie=0x0, duration=1182.868s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=6 actions=drop
cookie=0x0, duration=2004.292s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=1 actions=drop
cookie=0x0, duration=1182.544s, table=0, n_packets=23, n_bytes=1942, tun_id=0x426,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=2052.272s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535
ubuntu@odl-os-control-node:~/devstack$ cat local.conf
[[local|localrc]]
LOGFILE=stack.sh.log
SCREEN_LOGDIR=/opt/stack/data/log
LOG_COLOR=False
#OFFLINE=True
RECLONE=yes
MULTI_HOST=1
disable_service swift
ubuntu@odl-os-control-node:/opt/stack/networking-odl$ sudo ovs-vsctl show
7379aa64-0416-45e2-9531-351397cc742a
Manager "tcp:12.13.14.3:6640"
is_connected: true
Manager "tcp:12.13.14.1:6640"
is_connected: true
Manager "tcp:12.13.14.2:6640"
is_connected: true
Bridge br-int
Controller "tcp:12.13.14.1:6653"
[[local|localrc]]
LOGFILE=stack.sh.log
SCREEN_LOGDIR=/opt/stack/data/log
LOG_COLOR=False
#OFFLINE=True
RECLONE=yes
MULTI_HOST=1
disable_service swift
disable_service cinder