Implement AWS::EC2::EIP resource updatable

Registered by huangtianhua

Now in Heat, the AWS::EC2::EIP and AWS::EC2::EIPAssociation resources do not
support the properties updatable, we should support the AWS::EC2::EIP and
AWS::EC2::EIPAssociation resources updatable to be compatible with AWSCloudFormation.
See AWSCloudFormation doc:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip.html
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip-association.html

1. Support 'InstanceId' property updatable for AWS::EC2::EIP resource
2. Support 'InstanceId', 'EIP', 'AllocationId', 'NetworkInterfaceId' properties updatable for
   AWS::EC2::EIPAssociation resource
3. Add validate function to check whether provide one of 'EIP' and 'AllocationId' for
   AWS::EC2::EIPAssociation resource
4. Modify the way to get 'network_id' of the port for AWS::EC2::EIPAssociation resource
5. Modify if the association is not created successful, don't try to delete it.

Blueprint information

Status:
Complete
Approver:
Zane Bitter
Priority:
Low
Drafter:
huangtianhua
Direction:
Approved
Assignee:
huangtianhua
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 2014.2
Started by
Zane Bitter
Completed by
huangtianhua

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/implement-ec2eip-updatable,n,z

Addressed by: https://review.openstack.org/106925
    Add specification to implement eip/eipassociation updatable

Addressed by: https://review.openstack.org/107577
    Implement EC2 eip/eipassociation resources updatable

Addressed by: https://review.openstack.org/117935
    Implement AWS::EC2::EIP updatable

Addressed by: https://review.openstack.org/117938
    Add validate function for AWS::EC2::EIPAssociation

Addressed by: https://review.openstack.org/117961
    Modify the way to get 'network_id' of the port

Addressed by: https://review.openstack.org/117962
    Fix delete failed because association creation failed

Addressed by: https://review.openstack.org/117970
    Refactor functions in eip.py

Addressed by: https://review.openstack.org/118562
    Implement AWS::EC2::EIPAssociation updatable

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.