tliron / puccini

Cloud topology management and deployment tools based on TOSCA
https://puccini.cloud
Apache License 2.0
88 stars 20 forks source link

Constraint arguments in node_filter are untyped #89

Open tliron opened 2 years ago

tliron commented 2 years ago

The problem appears an parsing special types, such as scalar-units.

The workaround is to use a primitive value. For example, instead of "1 GHz" for a scalar-unit.frequency, a "1e9" float value can be used.

It is unclear how this could be entirely fixed. The node filter, by design, can be applied to arbitrary node types and arbitrary capabilities.