Skip to content

Sample Combined JSON for single node with roles: controller, analytics, analyticsdb, bare metal compute and openstack

Nitish Krishna edited this page Aug 22, 2017 · 6 revisions

The sample combined JSON to be used for provisioning Contrail Cluster using SM Lite by single JSON file is placed below

Combined JSON

{
     "cluster": [
        {
            "id": "cluster1",
            "parameters": {
                "provision": {
                    "contrail_4": {
                    },
                    "contrail": {
                    },
                    "openstack": {
                        "openstack_manage_amqp": true,
                        "keystone": {
                            "admin_password": <Contrail WebUI Login Password>
                        }
                    }
                }
            }
        }
    ],
    "server": [
        {
            "cluster_id": "cluster1",
            "domain": "sm-domain.com",
            "id": "<Hostname of the server>",
            "ipmi_address": "<IPMI Address of server>",
            "ipmi_username": "<username>",
            "ipmi_password": "<password>",
            "network": {
                "interfaces": [
                    {
                        "default_gateway": "<Gateway address of Server>",
                        "ip_address": "<IP address of Server>",
                        "mac_address": "<MAC address of Server>",
                        "name": "p4p1"
                    }
                ],
                "management_interface": "p4p1",
                "provisioning": "kickstart"
            },
            "password": "<password>",
            "roles": [
                "openstack", "contrail-controller", "contrail-analytics", "contrail-analyticsdb", "contrail-
compute"
            ],
            "parameters": {
            }
        }
    ],
    "image": [
        {
            "category": "package",
            "id": "<ID>",
            "path": "< Path to contrail-cloud-docker tgz>",
            "type": "contrail-ubuntu-package",
            "version": "mainline"
        }
    ]
}
Clone this wiki locally