blob: 51ba43739e8aefa3074fe33acb1de0f353e1726a [file] [log] [blame]
Jeepyb Userdd14e0b2017-02-28 15:19:32 +00001=======================
2MCP Virtual Labs Models
3=======================
4
Petr Michalecea980962017-09-07 20:23:29 +02005Virtual reclass models for MCP based deployments for Dev & QA purposes.
6
7Features implemented are expected to be backported to:
8- cookiecutter repository
9- system level reclass
10- formula default metadata
Jeepyb Userdd14e0b2017-02-28 15:19:32 +000011
12
13Available deployments
14=====================
15
Petr Michalecea980962017-09-07 20:23:29 +020016AAA/Identity
17--------------------
Jeepyb Userdd14e0b2017-02-28 15:19:32 +000018
Petr Michalecea980962017-09-07 20:23:29 +020019Model to develop and verify AAA/Identity integrations as separate product
Jeepyb Userdd14e0b2017-02-28 15:19:32 +000020
Petr Michalecea980962017-09-07 20:23:29 +020021Deployment:
Jeepyb Userdd14e0b2017-02-28 15:19:32 +000022* 1 config node
Petr Michalecea980962017-09-07 20:23:29 +020023* 3 identity node (idm/idp)
24* 2 proxy node
Jeepyb Userdd14e0b2017-02-28 15:19:32 +000025
Petr Michalecea980962017-09-07 20:23:29 +020026Clusters:
27* aaa-ha-freeipa
Jeepyb Userdd14e0b2017-02-28 15:19:32 +000028
Petr Michalecea980962017-09-07 20:23:29 +020029Contacts: Petr Michalec, Adam Hecko, Florian S.
Jeepyb Userdd14e0b2017-02-28 15:19:32 +000030
Petr Michalecea980962017-09-07 20:23:29 +020031MCP DriveTrain
Jeepyb Userdd14e0b2017-02-28 15:19:32 +000032---------------------------------------
33
Petr Michalecea980962017-09-07 20:23:29 +020034Clusters:
35* model-manager
36* drivetrain-ha
37* drivetrain-ha-clusters
38
39MCP OpenContrail (Openstack Mitaka)
40---------------------------------------
41
42Deployment:
Jeepyb Userdd14e0b2017-02-28 15:19:32 +000043* 1 config node
44* 3 control nodes
45* 2 compute nodes
46* 1 monitor node
47* 1 meter node
48* 1 log node
Petr Michalecea980962017-09-07 20:23:29 +020049
50Clusters:
51* os-aio-contrail
52* os-aio-ovs
53* os-ha-contrail
54* os-ha-contrail-40
55* os-ha-ovs
56* os-ha-ovs-syndic
57* virtual-mcp05-dvr
58* virtual-mcp05-ovs
59* virtual-mcp10-contrail
60* virtual-mcp10-dvr
61* virtual-mcp10-ovs
62* virtual-mcp11-aio
63* virtual-mcp11-contrail
64* virtual-mcp11-contrail-nfv
65* virtual-mcp11-dvr
66* virtual-mcp11-k8s-calico
67* virtual-mcp11-k8s-calico-dyn
68* virtual-mcp11-k8s-calico-minimal
69* virtual-mcp11-k8s-contrail
70* virtual-mcp11-ovs
71* virtual-mcp11-ovs-dpdk
72* virtual-mcp11-ovs-ironic
73* virtual-mcp-ocata-cicd
74* virtual-mcp-ocata-dvr
75* virtual-mcp-ocata-ovs
76
Andrey Shestakov718e3f42018-04-24 12:51:24 +030077MCP Kubernetes
Petr Michalecea980962017-09-07 20:23:29 +020078---------------
79
80Deployment:
81* 1 config node
82* 3 control nodes
83* 2 compute nodes
84
85Clusters:
86* k8s-aio-calico
87* k8s-aio-contrail
88* k8s-ha-calico
89* k8s-ha-calico-syndic
90* k8s-ha-contrail
Andrey Shestakov718e3f42018-04-24 12:51:24 +030091* k8s-ha-calico-flannel-virtlet
Petr Michalecea980962017-09-07 20:23:29 +020092
93Stacklight
94----------
95
96Clusters:
97* sl-k8s-calico
98* sl-k8s-contrail
99* sl-os-contrail
100* sl-os-ovs
101
102Ceph
103--------
104
105Clusters:
106* ceph-ha
107
108
109Model validation
110================
111
112Models are validated on each commit with latest system-level reclass.
113
114Models can be validated locally in docker instance with test-kitchen. Resources:
115* https://github.com/salt-formulas/salt-formulas/tree/master/deploy/model
116* https://salt-formulas.readthedocs.io/en/latest/develop/testing-formulas.html#requirements
117
118Examples:
119.. code-block:: shell
120
121 mcp-virtual-lab git:(master) kitchen list
122 Instance Driver Provisioner Verifier Transport Last Action Last Error
123 cluster-aaa-ha-freeipa Docker Shell Busser Ssh Converged <None>
124 cluster-ceph-ha Docker Shell Busser Ssh <Not Created> <None>
125 cluster-drivetrain-ha Docker Shell Busser Ssh <Not Created> <None>
126 cluster-drivetrain-ha-clusters Docker Shell Busser Ssh <Not Created> <None>
127 cluster-k8s-aio-calico Docker Shell Busser Ssh <Not Created> <None>
128 cluster-k8s-aio-contrail Docker Shell Busser Ssh <Not Created> <None>
129 cluster-k8s-ha-calico Docker Shell Busser Ssh <Not Created> <None>
130 cluster-k8s-ha-calico-syndic Docker Shell Busser Ssh <Not Created> <None>
131 cluster-k8s-ha-contrail Docker Shell Busser Ssh <Not Created> <None>
132 cluster-model-manager Docker Shell Busser Ssh <Not Created> <None>
133 cluster-os-aio-contrail Docker Shell Busser Ssh <Not Created> <None>
134 cluster-os-aio-ovs Docker Shell Busser Ssh <Not Created> <None>
135 cluster-os-ha-contrail Docker Shell Busser Ssh <Not Created> <None>
136 cluster-os-ha-contrail-40 Docker Shell Busser Ssh <Not Created> <None>
137 cluster-os-ha-ovs Docker Shell Busser Ssh <Not Created> <None>
138 cluster-os-ha-ovs-syndic Docker Shell Busser Ssh <Not Created> <None>
139 cluster-sl-k8s-calico Docker Shell Busser Ssh <Not Created> <None>
140 cluster-sl-k8s-contrail Docker Shell Busser Ssh <Not Created> <None>
141 cluster-sl-os-contrail Docker Shell Busser Ssh <Not Created> <None>
142 cluster-sl-os-ovs Docker Shell Busser Ssh <Not Created> <None>
143 cluster-virtual-mcp05-dvr Docker Shell Busser Ssh <Not Created> <None>
144 cluster-virtual-mcp05-ovs Docker Shell Busser Ssh <Not Created> <None>
145 cluster-virtual-mcp10-contrail Docker Shell Busser Ssh <Not Created> <None>
146 cluster-virtual-mcp10-dvr Docker Shell Busser Ssh <Not Created> <None>
147 cluster-virtual-mcp10-ovs Docker Shell Busser Ssh <Not Created> <None>
148 cluster-virtual-mcp11-aio Docker Shell Busser Ssh <Not Created> <None>
149 cluster-virtual-mcp11-contrail Docker Shell Busser Ssh <Not Created> <None>
150 cluster-virtual-mcp11-contrail-nfv Docker Shell Busser Ssh <Not Created> <None>
151 cluster-virtual-mcp11-dvr Docker Shell Busser Ssh <Not Created> <None>
152 cluster-virtual-mcp11-k8s-calico Docker Shell Busser Ssh <Not Created> <None>
153 cluster-virtual-mcp11-k8s-calico-dyn Docker Shell Busser Ssh <Not Created> <None>
154 cluster-virtual-mcp11-k8s-calico-minimal Docker Shell Busser Ssh <Not Created> <None>
155 cluster-virtual-mcp11-k8s-contrail Docker Shell Busser Ssh <Not Created> <None>
156 cluster-virtual-mcp11-ovs Docker Shell Busser Ssh Converged <None>
157 cluster-virtual-mcp11-ovs-dpdk Docker Shell Busser Ssh <Not Created> <None>
158 cluster-virtual-mcp11-ovs-ironic Docker Shell Busser Ssh <Not Created> <None>
159 cluster-virtual-mcp-ocata-cicd Docker Shell Busser Ssh <Not Created> <None>
160 cluster-virtual-mcp-ocata-dvr Docker Shell Busser Ssh <Not Created> <None>
161 cluster-virtual-mcp-ocata-ovs Docker Shell Busser Ssh <Not Created> <None>
162
Petr Michalec8abadb12018-03-16 15:12:44 +0100163
164Example usage
165
Petr Michalecea980962017-09-07 20:23:29 +0200166.. code-block:: shell
167
Petr Michalec8abadb12018-03-16 15:12:44 +0100168 kitchen converge cluster-k8s-ha-calico
169 kitchen verify cluster-os-ha-contrail
Petr Michalecea980962017-09-07 20:23:29 +0200170
171