Commit Graph

15 Commits

Author SHA1 Message Date
Takashi Kajinami 474d20438a Remove OpenDaylight support
... because OpenDaylight tempmates and environemtns were alredy removed
in tripleo-heat-teampltes[1].

[1] 9c3638b8a13ea08a1bab95c9cd6ab335b729b6b3

Change-Id: I0204b6985de71441e0f63f21cfda24d55fd340e5
2020-04-14 22:42:44 +09:00
Tobias Urdin 1523a4b804 Convert all class usage to relative names
Change-Id: Ib2ed745b682cf12f9469a5a64451adcabec400af
2019-12-08 23:23:25 +01:00
Zuul e78e640b7a Merge "Pass variable from puppet-tripleo to puppet-neutron" 2018-11-26 09:37:42 +00:00
Janki Chhatbar ffcf3a07bb Pass variable from puppet-tripleo to puppet-neutron
Pass enable_ipv6 flag from puppet-tripleo to
puppet-neutron when deploying ODL on IPv6 tenant network.

Change-Id: Id41d5299edd2da305f0ff006acbc914a9542ffa1
Depends-On: https://review.openstack.org/#/c/584740/
2018-11-20 11:57:45 +00:00
Zuul c5713786f6 Merge "Add support for ODL-OVS IPv6 deployment" 2018-10-12 15:56:17 +00:00
Janki Chhatbar a1a30bc731 Set OVS local ip through OVS ODL class
OVS local IP is currently set through
puppet-tripleo's neutron ovs agent class.
Instead set it through ovs odl class.

Partial-Bug: #1789371
Depends-On: I5f6e8b76eeac75298f11d69441b9ad08a5c51005
https://review.openstack.org/#/c/597002/

Change-Id: Ia98f39c1185ff234d1d68737055cf3e6cb4a8bc4
2018-09-17 10:15:50 +00:00
Janki Chhatbar 66292a5886 Add support for ODL-OVS IPv6 deployment
Make necessary changes for proper deployment
of ODL on IPv6 network.

Change-Id: Id7a0986f886a81b2041987b0d5a95edf2160e05e
Depends-On: Idd257cf4666b853eb4c52861f9f400b6dbdeeadb
Partial-Bug: #1783196
2018-08-24 09:30:37 +05:30
Tim Rozet 54188dbcf0 Fixes ODL issue where OF port may be set wrong
There is a case where OVS needs to have the OpenFlow configuration
resynced. The regsubst was only replacing one of the ports instead of
all, so sometimes the OpenFlow controller settings on OVS would have
ports 6640 instead of the right port (6653).

Closes-Bug: 1786037

Change-Id: I93e3d355625508fdc42f44bdd358f3ba86fbd8d7
Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-08 09:23:11 -04:00
Tim Rozet 199ddad31b Adds check and resyncs ODL/OVS OF pipeline
Some flows may be missing in OVS (on a per table basis) when deploying
with OpenDaylight. There is no OpenDaylight fix yet for this issue, so
this patch implements a workaround. The workaround is to check if all
the tables exist on each OVS node. If they are missing, then reset the
OpenFlow connection to the ODL controller, which will result in ODL
pushing the flows again and inserting the missing flows.

Closes-Bug: 1775436

Change-Id: I28d13a26198268cfd1f3e9e64236605f24319a04
Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-06 14:06:48 -04:00
Janki Chhatbar c8fe3cbb06 Create vhost_socket_dir with proper permissions
For ovs2.8 version, it is required to modify the vhost socket
directory permissions as openvswitch:hugetlbfs instead of
qemu:qemu. Create the dir and assign it proper permissions in
step 3.

Change-Id: I5fc2f852c66c2b825af96aba2657d0f9085dc8c3
2018-03-07 15:38:16 -05:00
Tim Rozet 10468ae5f9 Adds TLS support for OpenDaylight
Allows enabling TLS for the ODL service as well as OVS.

Partially-Implements: blueprint opendaylight-ssl-support

Depends-On: I719e8dddbd00d19fd8e1bd2a20dabd600b7b9d1c

Change-Id: Id579aea77bf8d679b514ef9851af36d9170e93a1
Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-01-19 17:11:07 -05:00
Steve Baker 94f13e6608 Ensure hiera step value is an integer
The step is typically set with the hieradata setting an integer value:

  {"step": 1}

However it would be useful for the value to be a string so that
substitutions are possible, for example:

  {"step": "%{::step}"}

This change ensures the step parameter defaults to an integer by
calling Integer(hiera('step'))

This change was made by manually removing the undef defaults from
fluentd.pp, uchiwa.pp, and sensu.pp then bulk updating with:

    find ./ -type f -print0 |xargs -0 sed -i "s/= hiera('step')/= Integer(hiera('step'))/"

Change-Id: I8a47ca53a7dea8391103abcb8960a97036a6f5b3
2017-06-14 14:31:52 +12:00
Tim Rozet 0cec9b6f49 Enables OpenDaylight Clustering in HA deployments
Previously ODL was restricted to only running on the first node in an
tripleO HA deployment.  This patches enables clustering for ODL and
allows multiple ODL instances (minimum 3 for HA).

Partially-implements: blueprint opendaylight-ha

Change-Id: Ic9a955a1c2afc040b2f9c6fb86573c04a60f9f31
Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-16 16:13:10 -04:00
Tim Rozet 4cf346d257 Removes logic dependent on 'odl_on_controller'
Since moving to composable service/roles there was some logic here that
was relying on a variable to enable ODL rather than enabling the service
itself to decide where ODL was enabled.  Now that ODL and ODL OVS
configuration are split into 2 different services we can make these
truly composable.

Partial-Bug: 1633625

Change-Id: Ia55c05e12d5d434111a13e1ed795da530e3ff4a5
Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-10-17 11:29:10 -04:00
Tim Rozet d688064d23 Adds OpenDaylight
Partially-Implements: blueprint opendaylight-integration

Note this patch only adds support for a single ODL instance.

 - neutron/opendaylight.pp handles installing ODL to control nodes
 - ml2/opendaylight.pp handles configuring ML2 to work with ODL
 - ovs/opendaylight.pp handles configuring OVS to connect to ODL

Change-Id: I666dc0874f1d11a72a62d796f4f6d41f7aa87a3f
Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-13 15:34:22 -04:00