diff options
author | Dan Prince <dprince@redhat.com> | 2015-06-09 13:51:04 -0400 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2015-06-16 15:52:22 +0000 |
commit | 582c150fcea8b154cc0b23ae689ae23a3e27dd8f (patch) | |
tree | 7498e70c3922fddd0e785d7fe19a91f24f42951d /network/config/bond-with-vlans/ceph-storage.yaml | |
parent | 48d07db384a3e8a36a2a92e95ef3ad4ed5c6071e (diff) |
Configurable vlan_id's for isolated networks
This patch adds parameters to configure the various
vlan IDs to all of the bond-with-vlans and single-nic-vlans
network config templates.
Change-Id: Ia6196735927777b73879e8086568f8a435597c6c
Diffstat (limited to 'network/config/bond-with-vlans/ceph-storage.yaml')
-rw-r--r-- | network/config/bond-with-vlans/ceph-storage.yaml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/network/config/bond-with-vlans/ceph-storage.yaml b/network/config/bond-with-vlans/ceph-storage.yaml index 69e85b93..3216018c 100644 --- a/network/config/bond-with-vlans/ceph-storage.yaml +++ b/network/config/bond-with-vlans/ceph-storage.yaml @@ -30,6 +30,15 @@ parameters: description: The ovs_options string for the bond interface. Set things like lacp=active and/or bond_mode=balance-slb using this option. type: string + StorageNetworkVlanID: + default: 30 + description: Vlan ID for the storage network traffic. + type: number + StorageMgmtNetworkVlanID: + default: 40 + description: Vlan ID for the storage mgmt network traffic. + type: number + resources: OsNetConfigImpl: @@ -68,14 +77,14 @@ resources: - type: vlan device: bond1 - vlan_id: 30 + vlan_id: {get_param: StorageNetworkVlanID} addresses: - ip_netmask: {get_param: StorageIpSubnet} - type: vlan device: bond1 - vlan_id: 40 + vlan_id: {get_param: StorageMgmtNetworkVlanID} addresses: - ip_netmask: {get_param: StorageMgmtIpSubnet} |