Add support different strategy in swarmbay

Registered by xianchaobo

Swarm support different strategies [spread, binpack, random] to scheduler container. In magnum, we should have a way to config this in swarm bay.

Swarm strategy:
https://github.com/docker/swarm/tree/master/scheduler/strategy

Blueprint information

Status:
Complete
Approver:
Adrian Otto
Priority:
Low
Drafter:
xianchaobo
Direction:
Approved
Assignee:
yatin
Definition:
Approved
Series goal:
Accepted for ocata
Implementation:
Implemented
Milestone target:
milestone icon ocata-2
Started by
yatin
Completed by
Adrian Otto

Related branches

Sprints

Whiteboard

For the implementation, use magnum labels that are picked up when the Cluster create happens, to cause the COE to be configured as desired.

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-support-different-strategy-in-swarmbay,n,z

Addressed by: https://review.openstack.org/393110
    Support scheduler strategy for swarm cluster

Addressed by: https://review.openstack.org/393628
    Add use of label 'swarm_strategy' in userguide

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.