-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #173 from grycap/devel
Devel
- Loading branch information
Showing
5 changed files
with
129 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
tosca_definitions_version: tosca_simple_yaml_1_0 | ||
|
||
imports: | ||
- indigo_custom_types: https://raw.githubusercontent.com/indigo-dc/tosca-types/master/custom_types.yaml | ||
|
||
description: Enable to access the Cluster in an private network trought a Proxy/Bastion host. | ||
|
||
metadata: | ||
template_version: "1.0.2" | ||
template_name: Proxy/Bastion host | ||
display_name: Enable to access the Cluster trought a Proxy/Bastion host. | ||
icon: images/bastion.png | ||
tabs: | ||
Bastion host: | ||
- proxy_host | ||
- private_key: | ||
tag_type: textarea | ||
- user | ||
parents: | ||
- slurm_cluster.yml | ||
- htcondor_cluster.yml | ||
|
||
topology_template: | ||
inputs: | ||
|
||
proxy_host: | ||
type: string | ||
description: Proxy/Bastion host needed to access the created VMs | ||
default: "" | ||
private_key: | ||
type: string | ||
description: Private key to SSH access to the Proxy/Bastion host | ||
default: "" | ||
user: | ||
type: string | ||
description: Username to SSH access to the Proxy/Bastion host | ||
default: "" | ||
|
||
node_templates: | ||
|
||
priv_network: | ||
type: tosca.nodes.indigo.network.Network | ||
properties: | ||
network_type: private | ||
proxy_host: { get_input: proxy_host } | ||
proxy_credential: | ||
user: { get_input: user } | ||
token_type: private_key | ||
token: { get_input: private_key } | ||
|
||
server_port: | ||
type: tosca.nodes.network.Port | ||
properties: | ||
order: 0 | ||
requirements: | ||
- binding: lrms_server | ||
- link: priv_network | ||
|
||
outputs: | ||
private_ip: | ||
value: { get_attribute: [ lrms_server, private_address, 0 ] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
tosca_definitions_version: tosca_simple_yaml_1_0 | ||
|
||
imports: | ||
- indigo_custom_types: https://raw.githubusercontent.com/indigo-dc/tosca-types/master/custom_types.yaml | ||
|
||
description: Enable to access the Kubernetes Cluster in an private network trought a Proxy/Bastion host. | ||
|
||
metadata: | ||
template_version: "1.0.2" | ||
template_name: Proxy/Bastion host | ||
display_name: Enable to access the Kubernetes Cluster trought a Proxy/Bastion host. | ||
icon: images/bastion.png | ||
tabs: | ||
Bastion host: | ||
- proxy_host | ||
- private_key: | ||
tag_type: textarea | ||
- user | ||
parents: | ||
- kubernetes.yaml | ||
|
||
topology_template: | ||
inputs: | ||
|
||
proxy_host: | ||
type: string | ||
description: Proxy/Bastion host needed to access the created VMs | ||
default: "" | ||
private_key: | ||
type: string | ||
description: Private key to SSH access to the Proxy/Bastion host | ||
default: "" | ||
user: | ||
type: string | ||
description: Username to SSH access to the Proxy/Bastion host | ||
default: "" | ||
|
||
node_templates: | ||
|
||
priv_network: | ||
type: tosca.nodes.indigo.network.Network | ||
properties: | ||
network_type: private | ||
proxy_host: { get_input: proxy_host } | ||
proxy_credential: | ||
user: { get_input: user } | ||
token_type: private_key | ||
token: { get_input: private_key } | ||
|
||
server_port: | ||
type: tosca.nodes.network.Port | ||
properties: | ||
order: 0 | ||
requirements: | ||
- binding: front | ||
- link: priv_network | ||
|
||
outputs: | ||
private_ip: | ||
value: { get_attribute: [ front, private_address, 0 ] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters