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"
vn_mad: 'elastic'
bridge: 'br0'
netrole: 'public'
provision:
count: "${input.number_public_ips}"
ar:
@ -32,4 +33,5 @@ vntemplates:
vn_mad: 'vxlan'
phydev: 'eth0'
automatic_vlan_id: 'yes'
netrole: 'private'
cluster_ids: "${cluster.0.id}"

View File

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