Skip to content

Instantly share code, notes, and snippets.

@trozet
trozet / mandatory_vars_HA
Last active August 29, 2015 14:18
Mandatory variables for HA
ha_flag
odl_flag
admin_email
ovs_tunnel_if
controllers_ip_array
controllers_hostnames_array
amqp_vip
private_subnet
cinder_admin_vip
cinder_private_vip
@trozet
trozet / intel_opnfv_ksgen_settings.yml
Last active August 29, 2015 14:19
Intel POD1 ksgen settings
global_params:
admin_email: opnfv@opnfv.com
ha_flag: "true"
odl_flag: "true"
private_network:
storage_network:
controllers_hostnames_array: oscontroller1,oscontroller2,oscontroller3
controllers_ip_array:
amqp_vip:
private_subnet:
@trozet
trozet / lf_pod2_ksgen_settings.yml
Last active August 29, 2015 14:20
LF Hardware POD2 Khaleesi Settings
global_params:
admin_email: opnfv@opnfv.com
ha_flag: "true"
odl_flag: "true"
private_network:
storage_network:
controllers_hostnames_array: oscontroller1,oscontroller2,oscontroller3
controllers_ip_array:
amqp_vip:
private_subnet:
1. Create VNFs in Tacker, attach them to the management VNF network on br-int.
2. Create a chain of those VNFs via Tacker
3. ODL Rest call made to add unique VTEP ports to each OVS br-int that the VNF attaches to. VTEP uses a unique port allocated to identify a tenant. Does VNID matter here?
4. Tacker initiates some type of configuration to the VNF to create matching VTEP in (3)
5. Tacker somehow initiates an ip route call on each host, adding a loopback route for VNF IP to go back into br-int.
6. Tacker then initiates REST calls to ODL SFC to create the chain. Uses regular management VNF IP with unique UDP port as its data-plane-locator.
End result ends up looking like this:
Private Neutron Network= 10.0.0.x
Public External Network= 192.0.0.x
[[local|localrc]]
enable_plugin tacker https://github.com/trozet/tacker SFC_refactor
enable_plugin networking-odl https://github.com/flavio-fernandes/networking-odl summit15demo
#enable_plugin networking-odl https://github.com/openstack/networking-odl stable/kilo
TACKERCLIENT_REPO=https://github.com/trozet/python-tackerclient.git
TACKERCLIENT_BRANCH=SFC_refactor
TACKERHORIZON_REPO=https://github.com/trozet/tacker-horizon.git
TACKERHORIZON_BRANCH=SFC
Copyright 2015 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# Copyright 2015 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
opendaylight-user@root>feature:list | grep ovsdb
odl-ovsdb-southbound-api | 1.1.0-Lithium | x | odl-ovsdb-southbound-1.1.0-Lithium | OpenDaylight :: southbound :: api
odl-ovsdb-southbound-impl | 1.1.0-Lithium | x | odl-ovsdb-southbound-1.1.0-Lithium | OpenDaylight :: southbound :: impl
odl-ovsdb-southbound-impl-rest | 1.1.0-Lithium | x | odl-ovsdb-southbound-1.1.0-Lithium | OpenDaylight :: southbound :: impl :: REST
odl-ovsdb-southbound-impl-ui | 1.1.0-Lithium | x | odl-ovsdb-southbound-1.1.0-Lithium | OpenDaylight :: southbound :: impl :: UI
odl-ovsdb-all | 1.1.0-Lithium | | ovsdb-1.1.0-Lithium | OpenDaylight :: OVSDB :: all
odl-ovsdb-library | 1.1.0-Lithium | | ovsdb-1.1.0-Lithium
[root@opendaylight-server opendaylight]# /bin/curl --fail --head -u admin:admin http://192.0.2.21:8081/restconf/operational/network-topology:network-topology/topology/netvirt:1
curl: (22) The requested URL returned error: 404 Not Found
[root@opendaylight-server opendaylight]# /bin/curl --fail --head -u admin:admin http://192.0.2.21:8081/restconf/operational/network-topology:network-topology
HTTP/1.1 200 OK
Content-Type: application/yang.data+json
Content-Length: 0
Server: Jetty(8.1.15.v20140411)
@trozet
trozet / api.pp
Last active January 14, 2016 21:50
cinder::api
# == Class: cinder::api
#
# Setup and configure the cinder API endpoint
#
# === Parameters
#
# [*keystone_password*]
# The password to use for authentication (keystone)
#
# [*keystone_enabled*]