ystia / yorc

Ystia Orchestrator
https://ystia.github.io
Apache License 2.0
67 stars 23 forks source link

Support for fixed private ip address #498

Open trihoangvo opened 5 years ago

trihoangvo commented 5 years ago

Is your feature request related to a problem? Please describe.

In a4c and yorc, users cannot specify a fixed private ip address for their compute nodes. Missing a fixed ip address is related to the following security threats:

Describe the solution you'd like

TOSCA provides the normative type: tosca.nodes.network.Port (with the property ip_address). So far not implement. (We could help to implement it, but we need to align with you).

Describe alternatives you've considered

May add a property ip_address to the Compute node. However, this is not a normative approach?

Additional context

No

loicalbertin commented 5 years ago

I agree that this could be great to specify IPs for clouds that support this feature. However here is some things to keep in mind:

We need to think a bit about this, I will dive into the TOSCA spec to see how to implement it. Suggestions welcome! :smile:

trihoangvo commented 5 years ago

Solution (TOSCA-compliant)

If we follow the TOSCA spec precisely, the topology presentation looks like this at the moment. A Port node LinkTo a Network node and also BindsTo a Compute node. Notice the "giant" component presentation for a port type is not nice, but fulfills all requirements.

port1a

A Port has the following properties:

port1b