Skip to content

Commit

Permalink
changed structure and file names to .config
Browse files Browse the repository at this point in the history
  • Loading branch information
arikyakir committed Feb 13, 2019
1 parent b289e43 commit 7d0c0b1
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 5 additions & 7 deletions vyos-vnf-branch.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
tosca_definitions_version: cloudify_dsl_1_3

imports:
- http://www.getcloudify.org/spec/cloudify/4.0.1/types.yaml
- http://www.getcloudify.org/spec/cloudify/4.5/types.yaml
- plugin:cloudify-openstack-plugin
# - https://raw.githubusercontent.com/cloudify-incubator/cloudify-utilities-plugin/1.2.5/plugin.yaml
# - https://raw.githubusercontent.com/MichaelShn/cloudify-utilities-plugin/patch-tmp/plugin.yaml
- plugin:cloudify-utilities-plugin


inputs:

vyos_image_url:
Expand Down Expand Up @@ -120,7 +118,7 @@ node_templates:
terminal_auth: *terminal_auth_hq
calls:
- action: config
- template: templates/vyos-vnf-hq-vpn-start.txt
- template: resources/vyos-vnf-hq-vpn-start.config
params:
TUNNEL_INTERFACE: { get_input: hq_tunnel_interface }
HQ_TUNNEL_ADDRESS: { get_input: hq_tunnel_address }
Expand All @@ -133,7 +131,7 @@ node_templates:
terminal_auth: *terminal_auth_hq
calls:
- action: config
- template: templates/vyos-vnf-hq-vpn-start.txt
- template: resources/vyos-vnf-hq-vpn-start.config
params:
TUNNEL_INTERFACE: { get_input: hq_tunnel_interface }
- action: commit
Expand Down Expand Up @@ -171,7 +169,7 @@ node_templates:
terminal_auth: *terminal_auth_branch
calls:
- action: config
- template: templates/vyos-vnf-branch-vpn-start.txt
- template: resources/vyos-vnf-branch-vpn-start.config
params:
BRANCH_TUNNEL_ADDRESS: { get_input: branch_tunnel_address }
BRANCH_TUNNEL_LOCAL_IP: { get_attribute: [vyos_vnf_branch, networks, wan_net, 0] }
Expand Down Expand Up @@ -220,7 +218,7 @@ node_templates:
terminal_auth: *terminal_auth
calls:
- action: config
- template: templates/vyos-vnf-branch-baseline.txt
- template: resources/vyos-vnf-branch-baseline.config
params:
BRANCH_HOSTNAME: { get_input: branch_hostname }
BRANCH_LAN_ADDRESS: { get_attribute: [vyos_vnf_branch, networks, { get_input: branch_lan_name }, 0] }
Expand Down
4 changes: 2 additions & 2 deletions vyos-vnf-hq-baseline.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tosca_definitions_version: cloudify_dsl_1_3

imports:
- http://www.getcloudify.org/spec/cloudify/4.0.1/types.yaml
- http://www.getcloudify.org/spec/cloudify/4.5/types.yaml
- plugin:cloudify-openstack-plugin
# - https://raw.githubusercontent.com/cloudify-incubator/cloudify-utilities-plugin/1.2.5/plugin.yaml
# - https://raw.githubusercontent.com/MichaelShn/cloudify-utilities-plugin/patch-tmp/plugin.yaml
Expand Down Expand Up @@ -62,7 +62,7 @@ node_templates:
terminal_auth: *terminal_auth
calls:
- action: config
- template: templates/vyos-vnf-hq-baseline.txt
- template: resources/vyos-vnf-hq-baseline.config
- action: commit
- action: save
relationships:
Expand Down

0 comments on commit 7d0c0b1

Please sign in to comment.