yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #35432
[Bug 1460222] Re: Add 'labels', a list of opaque strings, to the neutron 'port' object
Per the RFE decoder ring [1], marking this as "Won't Fix" since we've
rejected it.
[1] https://review.openstack.org/#/c/202797/
** Changed in: neutron
Status: Triaged => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1460222
Title:
Add 'labels', a list of opaque strings, to the neutron 'port' object
Status in neutron:
Won't Fix
Bug description:
*What is being requested*
This request is to add an attribute 'labels' to the neutron 'port'
object. The type of 'labels' is a list of strings.
*Why is it being requested*
There are many use cases in which you wish to provide hint-by-
reference to downstream providers of neutron services (like
controllers) for which you would like to allow the user to provide
hint-by-reference about the nature of the port and the service it
should receive.
In the parlance of the Neutron API Documentation:
Object: ports
Parameter: labels
Style: plain
Type: xsd:list
Description: A list of opaque strings to be interpreted as
hints-by-reference by the neutron provider
*Examples*
1) Indicate the Network Policy that should be applied to the port. Most network policy systems resolve policy based upon the
'Endpoint Group(s)' (abbreviated EPGs) and Endpoint (think port) (abbreviated EP) is placed in. 'labels' could be used to indicate EPG membership for a port. For example:
{
"port": {
"labels": [ "epg:blue", "epg:green" ],
...
}
}
2) Indicate the type of Virtual Network Function (VNF) of the VM
being deployed on the port. This would be important for a controller
rendering Service Function Chains (SFCs) to know so that it knew it
had additional VNFs of that type to use in the SFCs it was
constructing. For example:
{
"port": {
"labels": [ "vnf-type:firewall-3" ],
...
}
}
*Who needs it*
This is needed to assist the OpenDaylight Controller in being able to
better provide the Policy and SFC services. However, this mechanism
is agnostic as to the underlying controller, and also can be used for
a variety of other useful purposes. Anywhere that it would be useful
to pass on hints-by-reference to downstream providers could take
advantage of it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1460222/+subscriptions
References