Open trihoangvo opened 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:
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.
A Port
has the following properties:
ip_address
specifies the fixed ip address.ip_range_start
and ip_range_end
) define the starting and ending IP of a range to be allocated for the compute instances. In practice, a network administrator should allocate all ip range for nodes in the beginning (e.g., he allocates 3 IPs for mongodb00, mongodb01, and mongodb02, etc.).
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 propertyip_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