1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00

M #-: Add netroles to provision networks

This commit is contained in:
Ruben S. Montero 2021-01-20 11:16:59 +01:00
parent cf5a5b5ed5
commit f1c8b3d404
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87
2 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,7 @@ networks:
- name: "${provision}-public" - name: "${provision}-public"
vn_mad: 'elastic' vn_mad: 'elastic'
bridge: 'br0' bridge: 'br0'
netrole: 'public'
provision: provision:
count: "${input.number_public_ips}" count: "${input.number_public_ips}"
ar: ar:
@ -32,4 +33,5 @@ vntemplates:
vn_mad: 'vxlan' vn_mad: 'vxlan'
phydev: 'eth0' phydev: 'eth0'
automatic_vlan_id: 'yes' automatic_vlan_id: 'yes'
netrole: 'private'
cluster_ids: "${cluster.0.id}" cluster_ids: "${cluster.0.id}"

View File

@ -19,6 +19,7 @@ networks:
- name: "${provision}-public" - name: "${provision}-public"
vn_mad: 'elastic' vn_mad: 'elastic'
bridge: 'br0' bridge: 'br0'
netrole: 'public'
provision: provision:
count: "${input.number_public_ips}" count: "${input.number_public_ips}"
ar: ar:
@ -32,4 +33,5 @@ vntemplates:
vn_mad: 'vxlan' vn_mad: 'vxlan'
phydev: 'bond0' phydev: 'bond0'
automatic_vlan_id: 'yes' automatic_vlan_id: 'yes'
netrole: 'private'
cluster_ids: "${cluster.0.id}" cluster_ids: "${cluster.0.id}"