UpdateNetworks workflow

Registered by Ana Krivokapić on 2017-03-13

[tripleo-common]

Provide an UpdateNetworks action to update Networks. It takes data in json format validates it's contents and persists them in network_data.yaml.

Updating networks works the same as updating roles:
https://blueprints.launchpad.net/tripleo/+spec/update-roles-action

1) validate the format of input (input includes required fields for each network)
2) validate that all networks from the input exist in networks directory. This check is performed by name. This prevents user from updating network which does not exist.
3) update network_data.yaml object in Swift with networks from workflow input
4) regenerate templates
5) run ListNetworksAction to get updated contents of network_data.yaml and provide it as output

Spec in progress: https://review.openstack.org/#/c/438918

Blueprint information

Status:
Complete
Approver:
Emilien Macchi
Priority:
Medium
Drafter:
Ana Krivokapić
Direction:
Approved
Assignee:
Brad P. Crochet
Definition:
Approved
Series goal:
Accepted for queens
Implementation:
Implemented
Milestone target:
milestone icon queens-rc1
Started by
Brad P. Crochet on 2017-10-19
Completed by
Emilien Macchi on 2018-01-31

Related branches

Sprints

Whiteboard

[2017-12-11] Moving back to Queens per ML http://lists.openstack.org/pipermail/openstack-dev/2017-December/125394.html
[2017-12-08] Moving out to Rocky. Please request FFE if this is needed for Queens.

Gerrit topic: https://review.openstack.org/#q,topic:bp/update-networks-action,n,z

Addressed by: https://review.openstack.org/513463
    Add UpdateNetworks workflow

Addressed by: https://review.openstack.org/508567
    Validate roles data and network data

Addressed by: https://review.openstack.org/509419
    Add a Get Networks workflow

Addressed by: https://review.openstack.org/509832
    Adds Workflow to List Available Roles

Addressed by: https://review.openstack.org/515045
    [WIP] Adds UpdateRoles Workflow

Gerrit topic: https://review.openstack.org/#q,topic:bp/update-roles-action,n,z

Gerrit topic: https://review.openstack.org/#q,topic:bp/tripleo-common-select-roles-workflow,n,z

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.