X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=network%2Ftenant.yaml;h=33055fe8ff256066c3b0b73ff5af81ba58bfcf5a;hb=88510fce67217692ad5bde5a30cb55dbffd991a4;hp=db7f99f3835f8c9cc0c355b1b49d886ec78212e7;hpb=eaa5eb6a5985c52b484d58e22075b84caf2f2493;p=apex-tripleo-heat-templates.git diff --git a/network/tenant.yaml b/network/tenant.yaml index db7f99f3..33055fe8 100644 --- a/network/tenant.yaml +++ b/network/tenant.yaml @@ -1,4 +1,4 @@ -heat_template_version: 2015-04-30 +heat_template_version: ocata description: > Tenant network. @@ -12,10 +12,10 @@ parameters: TenantNetValueSpecs: default: {'provider:physical_network': 'tenant', 'provider:network_type': 'flat'} description: Value specs for the tenant network. - type: string + type: json TenantNetAdminStateUp: default: false - description: This admin state of of the network. + description: This admin state of the network. type: boolean TenantNetEnableDHCP: default: false @@ -33,6 +33,10 @@ parameters: default: tenant_subnet description: The name of the tenant subnet in Neutron. type: string + TenantAllocationPools: + default: [{'start': '172.16.0.4', 'end': '172.16.0.250'}] + description: Ip allocation pool range for the tenant network. + type: json resources: TenantNetwork: @@ -50,6 +54,8 @@ resources: enable_dhcp: {get_param: TenantNetEnableDHCP} name: {get_param: TenantSubnetName} network: {get_resource: TenantNetwork} + allocation_pools: {get_param: TenantAllocationPools} + gateway_ip: null outputs: OS::stack_id: