Model blackholing feature of DE-CIX
DE-CIX offers blackholing advanced service which can be modelled as a network feature referring to an existing network service of type exchange_lan. The idea is to enable the feature by creating a new network feature config which refers to that feature.
This would unilaterally work by creating an extension which defines a new network feature type. However, this is not enough, because the feature would have to be advertised in the product offerings.
We currently specify the type of the product offering as well as the resource type (network_service or network_service_config). In this case, we would set resource type to be network_feature, but this would not tell the user which network_feature they would have to instantiate in order to consume the product offering.
We are suggesting: Add a new (optional) property to product_offering called network_feature, which MUST be set if resource_type is network_feature. In case of DE-CIX blackholing advanced, the product offering would look like this:
{
"id": ...,
"type": "exchange_lan",
"resource_type": "network_feature",
"display_name": "DE-CIX Blackholing Advanced",
"exchange_lan_network_service": ...,
"network_feature": "...",
...
}