Resource to add security-group to a pre-created port

Registered by Vijendar Komalla

Neutron 'OS::Neutron::Port' resource can be used to create port with
security-groups, but it is not possible to add a security group to a port that
was created out side of template.

I propose adding a new
resource 'OS::Neutron::AttachSecurityGroupToPort' like below.
  attach_sec_group:
     type: OS::Neutron::AttachSecurityGroupToPort
     properties:
       security_group: { get_resource: default_sec_group }
       port: { get_attr: [ my_server, networks, public, 0, port ] }

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Vijendar Komalla
Direction:
Needs approval
Assignee:
Vijendar Komalla
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Thomas Herve

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-security-group-to-port,n,z

Addressed by: https://review.openstack.org/194267
    Add secuity group to port spec

Addressed by: https://review.openstack.org/195036
    Resource to add security group to port

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.