Skip to content
This repository was archived by the owner on Mar 1, 2020. It is now read-only.

Commit d9ed30b

Browse files
authored
Merge pull request #3 from 0lvin-cfy-ci/private_cloud
Support Azure Stack
2 parents 04ae957 + d44b9a8 commit d9ed30b

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

simple-blueprint.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,23 @@ inputs:
2525
type: string
2626
default: { get_secret: azure_client_secret }
2727

28+
endpoint_resource:
29+
default: https://management.core.windows.net/
30+
31+
endpoints_resource_manager:
32+
default: https://management.azure.com
33+
34+
endpoint_verify:
35+
default: True
36+
37+
endpoint_storage:
38+
type: string
39+
default: core.windows.net
40+
41+
endpoints_active_directory:
42+
type: string
43+
default: https://login.microsoftonline.com
44+
2845
location:
2946
default: { get_secret: azure_location }
3047

@@ -43,13 +60,23 @@ inputs:
4360
private_subnet_cidr:
4461
default: 10.10.3.0/24
4562

63+
network_api_version:
64+
description: >
65+
API Version for Network
66+
default: "2015-06-15"
67+
4668
dsl_definitions:
4769

4870
client_config: &client_config
4971
subscription_id: { get_input: subscription_id }
5072
tenant_id: { get_input: tenant_id }
5173
client_id: { get_input: client_id }
5274
client_secret: { get_input: client_secret }
75+
endpoint_resource: { get_input: endpoint_resource }
76+
endpoints_resource_manager: { get_input: endpoints_resource_manager }
77+
endpoint_verify: { get_input: endpoint_verify }
78+
endpoints_active_directory: { get_input: endpoints_active_directory }
79+
5380

5481
node_templates:
5582

@@ -64,6 +91,7 @@ node_templates:
6491
type: cloudify.azure.nodes.network.VirtualNetwork
6592
properties:
6693
azure_config: *client_config
94+
api_version: { get_input: network_api_version }
6795
name: { concat: [ { get_input: resource_prefix }, 'vnet', { get_input: resource_suffix } ] }
6896
location: { get_input: location }
6997
retry_after: { get_input: retry_after }
@@ -75,6 +103,7 @@ node_templates:
75103
type: cloudify.azure.nodes.network.Subnet
76104
properties:
77105
azure_config: *client_config
106+
api_version: { get_input: network_api_version }
78107
name: { concat: [ { get_input: resource_prefix }, 'public_subnet', { get_input: resource_suffix } ] }
79108
location: { get_input: location }
80109
retry_after: { get_input: retry_after }
@@ -88,6 +117,7 @@ node_templates:
88117
type: cloudify.azure.nodes.network.Subnet
89118
properties:
90119
azure_config: *client_config
120+
api_version: { get_input: network_api_version }
91121
name: { concat: [ { get_input: resource_prefix }, 'private_subnet', { get_input: resource_suffix } ] }
92122
location: { get_input: location }
93123
retry_after: { get_input: retry_after }

0 commit comments

Comments
 (0)