Skip to content

Instantly share code, notes, and snippets.

@chopmann
Created April 25, 2016 06:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chopmann/4094a5e69b38e63f305c9f882085513f to your computer and use it in GitHub Desktop.
Save chopmann/4094a5e69b38e63f305c9f882085513f to your computer and use it in GitHub Desktop.
adv_net_template:
default:
network_assignments:
ceph_front:
ep: br-ceph-front
fuelweb_admin:
ep: br-pxe
management:
ep: br-mgmt-ops
private:
ep: br-tenant
public:
ep: br-public
storage:
ep: br-ceph-back
network_scheme:
common:
endpoints:
- br-pxe
roles:
admin/pxe: br-pxe
fw-admin: br-pxe
transformations:
- action: add-br
name: br-pxe
- action: add-port
bridge: br-pxe
name: <% if1 %>
ctl_cmp:
endpoints:
- br-tenant
- br-ceph-front
- br-mgmt-ops
roles:
ceilometer/api: br-mgmt-ops
ceph/public: br-ceph-front
ceph/radosgw: br-ceph-front
cinder/api: br-mgmt-ops
cinder/iscsi: br-mgmt-ops
glance/api: br-mgmt-ops
heat/api: br-mgmt-ops
horizon: br-mgmt-ops
keystone/api: br-mgmt-ops
management: br-mgmt-ops
mgmt/api: br-mgmt-ops
mgmt/corosync: br-mgmt-ops
mgmt/database: br-mgmt-ops
mgmt/memcache: br-mgmt-ops
mgmt/messaging: br-mgmt-ops
mgmt/vip: br-mgmt-ops
mongo/db: br-mgmt-ops
murano/api: br-mgmt-ops
neutron/api: br-mgmt-ops
neutron/mesh: br-mgmt-ops
neutron/private: br-tenant
nova/api: br-mgmt-ops
nova/migration: br-mgmt-ops
sahara/api: br-mgmt-ops
swift/api: br-mgmt-ops
swift/replication: br-mgmt-ops
transformations:
- action: add-br
name: br-tenant
- action: add-br
name: br-ceph-front
- action: add-br
name: br-mgmt-ops
- action: add-bond
bond_properties:
mode: 802.3ad
bridge: br-tenant
interfaces:
- <% if4 %>
- <% if5 %>
name: bond-tenant
- action: add-bond
bond_properties:
mode: 802.3ad
bridge: br-ceph-front
interfaces:
- <% if6 %>
- <% if7 %>
name: bond-ceph-front
- action: add-bond
bond_properties:
mode: 802.3ad
bridge: br-mgmt-ops
interfaces:
- <% if2 %>
- <% if3 %>
name: bond-mgmt-ops
public:
endpoints:
- br-public
roles:
ex: br-public
neutron/floating: br-public
public/vip: br-public
transformations:
- action: add-br
name: br-public
- action: add-bond
bond_properties:
mode: 802.3ad
bridge: br-public
interfaces:
- <% if8 %>
- <% if9 %>
- <% if10 %>
name: bond-public
str:
endpoints:
- br-ceph-front
- br-ceph-back
- br-mgmt-ops
roles:
ceilometer/api: br-mgmt-ops
ceph/public: br-ceph-front
ceph/radosgw: br-ceph-front
ceph/replication: br-ceph-back
cinder/api: br-mgmt-ops
cinder/iscsi: br-mgmt-ops
glance/api: br-mgmt-ops
heat/api: br-mgmt-ops
horizon: br-mgmt-ops
keystone/api: br-mgmt-ops
management: br-mgmt-ops
mgmt/api: br-mgmt-ops
mgmt/corosync: br-mgmt-ops
mgmt/database: br-mgmt-ops
mgmt/memcache: br-mgmt-ops
mgmt/messaging: br-mgmt-ops
mgmt/vip: br-mgmt-ops
mongo/db: br-mgmt-ops
murano/api: br-mgmt-ops
neutron/api: br-mgmt-ops
neutron/mesh: br-mgmt-ops
nova/api: br-mgmt-ops
nova/migration: br-mgmt-ops
sahara/api: br-mgmt-ops
storage: br-ceph-back
swift/api: br-mgmt-ops
swift/replication: br-mgmt-ops
transformations:
- action: add-br
name: br-ceph-front
- action: add-br
name: br-ceph-back
- action: add-br
name: br-mgmt-ops
- action: add-bond
bond_properties:
mode: 802.3ad
bridge: br-ceph-front
interfaces:
- <% if6 %>
- <% if7 %>
- <% if8 %>
name: bond-ceph-front
- action: add-bond
bond_properties:
mode: 802.3ad
bridge: br-ceph-back
interfaces:
- <% if4 %>
- <% if5 %>
- <% if9 %>
- <% if10 %>
- <% if12 %>
name: bond-ceph-back
- action: add-bond
bond_properties:
mode: 802.3ad
bridge: br-mgmt-ops
interfaces:
- <% if2 %>
- <% if3 %>
- <% if11 %>
name: bond-mgmt-ops
nic_mapping:
default:
if1: eno1
if10: enp6s0f1
if11: eno4
if12: enp130s0f0
if2: eno2
if3: eno3
if4: enp4s0f1
if5: enp5s0f0
if6: enp4s0f0
if7: enp6s0f0
if8: enp130s0f1
if9: enp5s0f1
NLIHA01FWRSTRP003:
if1: eno1
if10: enp6s0f1
if11: eno4
if12: enp130s0f0
if2: eno2
if3: eno3
if4: enp4s0f1
if5: enp5s0f0
if6: enp4s0f0
if7: enp6s0f0
if8: enp130s0f1
if9: enp5s0f1
NLIHA01FWRSTRP001:
if1: eno1
if10: enp6s0f1
if11: eno4
if12: enp130s0f0
if2: eno2
if3: eno3
if4: enp4s0f1
if5: enp5s0f0
if6: enp4s0f0
if7: enp6s0f0
if8: enp130s0f1
if9: enp5s0f1
NLIHA01FWRSTRP002:
if1: eno1
if10: enp6s0f1
if11: eno4
if12: enp130s0f0
if2: eno2
if3: eno3
if4: enp4s0f1
if5: enp5s0f0
if6: enp4s0f0
if7: enp6s0f0
if8: enp130s0f1
if9: enp5s0f1
NLIHA01FWRCTLP002:
if1: eno1
if10: eno4
if2: enp5s0f0
if3: enp130s0f1
if4: enp5s0f1
if5: enp6s0f0
if6: enp6s0f1
if7: enp130s0f0
if8: eno2
if9: eno3
NLIHA01FWRCTLP001:
if1: eno1
if10: eno4
if2: enp5s0f0
if3: enp130s0f1
if4: enp5s0f1
if5: enp6s0f0
if6: enp6s0f1
if7: enp130s0f0
if8: eno2
if9: eno3
NLIHA01FWRCTLP003:
if1: eno1
if10: eno4
if2: enp5s0f0
if3: enp130s0f1
if4: enp5s0f1
if5: enp6s0f0
if6: enp6s0f1
if7: enp130s0f0
if8: eno2
if9: eno3
NLIHA01FWRCMPP001:
if1: eno1
if2: enp5s0f0
if3: enp130s0f1
if4: enp5s0f1
if5: enp6s0f0
if6: enp6s0f1
if7: enp130s0f0
NLIHA01FWRCMPP002:
if1: eno1
if2: enp5s0f0
if3: enp130s0f1
if4: enp5s0f1
if5: enp6s0f0
if6: enp6s0f1
if7: enp130s0f0
NLIHA01FWRCMPP003:
if1: eno1
if2: enp5s0f0
if3: enp130s0f1
if4: enp5s0f1
if5: enp6s0f0
if6: enp6s0f1
if7: enp130s0f0
templates_for_node_role:
ceph-osd:
- common
- str
compute:
- common
- ctl_cmp
controller:
- common
- ctl_cmp
- public
mongo:
- common
- ctl_cmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment