Sample input JSON
The following is a sample input JSON for VMware VIM deployment.
{
"topology_name": "vmware2",
"topology_modules": [
"hardware_preparation",
"switch_automation",
"image_service",
"vim_deployment"
],
"topology_data": {
"computes": {
"vim": [
{
"deployment_type": "2POD",
"nsxt": {
"controllers": [
{
"hostname": "nsx-ctrl-1.vmw.com",
"ip": "10.xx.xx.xx"
},
{
"hostname": "nsx-ctrl-2.vmw.com",
"ip": "10.xx.xx.xx"
},
{
"hostname": "nsx-ctrl-3.vmw.com",
"ip": "10.xx.xx.xx"
}
],
"ctrl_password": "******",
"manager": {
"password": "******",
"hostname": "nsx-manager",
"ip": "10.xx.xx.xx"
},
"edgevm_password": "******",
"edge_vms": [
{
"hostname": "nsx-edge-1.vmw.com",
"ip": "10.xx.xx.xx"
},
{
"hostname": "nsx-edge-2.vmw.com",
"ip": "10.xx.xx.xx"
},
{
"hostname": "nsx-edge-3.vmw.com",
"ip": "10.xx.xx.xx"
}
],
"overlay_start_address": "10.xx.xx.xx",
"overlay_end_address": "10.xx.xx.xx",
"ext_uplink_ip": "10.xx.xx.xx"
},
"vio": {
"manager": {
"ip": "10.xx.xx.xx",
"hostname": "vio1.vmw.com",
"password": "******"
},
"openstack_info": {
"admin_project_name": "project1",
"admin_username": "admin",
"admin_password": "******",
"public_hostname": "vio-dashboard.vmw.com",
"public_vip": "10.xx.xx.xx",
"vm_mgmt_start_address": "10.xx.xx.xx",
"vm_mgmt_end_address": "10.xx.xx.xx",
"api_start_address": "10.xx.xx.xx",
"api_end_address": "10.xx.xx.xx"
}
},
"vcenter": {
"management": {
"hostname": "vcs-mgmt.vmw.com",
"username": "admin",
"password": "******",
"ip": "10.xx.xx.xx",
"vcha": {
"active_ip": "10.xx.xx.xx",
"passive_ip": "10.xx.xx.xx",
"witness_ip": "10.xx.xx.xx"
}
},
"resource": {
"hostname": "vcs-res.vmw.com",
"username": "admin",
"password": "******",
"ip": "10.xx.xx.xx",
"vcha": {
"active_ip": "10.xx.xx.xx",
"passive_ip": "10.xx.xx.xx",
"witness_ip": "10.xx.xx.xx"
}
}
},
"pods": [
{
"type": "mgmt",
"name": "mgmt_pod",
"profile": "NA",
"storage": "vsan"
},
{
"type": "edge_resource",
"name": "resource_pod",
"profile": "NVDSE",
"storage": "vsan"
}
],
"operation_manager": {
"password": "******",
"nodes": [
{
"ip": "10.xx.xx.xx",
"hostname": "vops-manager.vmw.com",
"role": "master"
},
{
"ip": "10.xx.xx.xx",
"hostname": "vops-replica.vmw.com",
"role": "replica"
},
{
"ip": "10.xx.xx.xx",
"hostname": "vops-data.vmw.com",
"role": "data"
}
]
},
"log_insight": {
"password": "******",
"nodes": [
{
"ip": "10.xx.xx.xx",
"hostname": "vlog-master.vmw.com",
"role": "master"
},
{
"ip": "10.xx.xx.xx",
"hostname": "vlog-worker1.vmw.com",
"role": "worker"
},
{
"ip": "10.xx.xx.xx",
"hostname": "vlog-worker2.vmw.com",
"role": "worker"
}
]
},
"orchestrator": {
"password": "******",
"nodes": [
{
"ip": "10.xx.xx.xx",
"hostname": "vror-master.vmw.com",
"role": "master"
},
{
"ip": "10.xx.xx.xx",
"hostname": "vror-replica.vmw.com",
"role": "replica"
}
]
},
"name": "VMWARE",
"version": "3.1",
"Infrastructure": "Baremetal"
}
],
"description": "Compute platforms and its configurations"
},
"infra": {
"servers": [
{
"description": "management pod node",
"hostname": "esxi-mgmt1",
"hw_profile": "default_management_profile",
"role": "mgmt_pod",
"ilo": "10.xx.xx.xx",
"user": "admin",
"password": "******",
"model": "DL360",
"custom_data": {
"esxi_mgmt_ip": "10.xx.xx.xx",
"esxi_host_name": "esxi-mgmt-1.vmw.com",
"esxi_root_pw": "******"
}
},
{
"description": "management pod node",
"hostname": "esxi-mgmt2",
"hw_profile": "default_management_profile",
"role": "mgmt_pod",
"ilo": "10.xx.xx.xx",
"user": "admin",
"password": "******",
"model": "DL360",
"custom_data": {
"esxi_mgmt_ip": "10.xx.xx.xx",
"esxi_host_name": "esxi-mgmt-2.vmw.com",
"esxi_root_pw": "******"
}
},
{
"description": "management pod node",
"hostname": "esxi-mgmt3",
"hw_profile": "default_management_profile",
"role": "mgmt_pod",
"ilo": "10.xx.xx.xx",
"user": "admin",
"password": "******",
"model": "DL360",
"custom_data": {
"esxi_mgmt_ip": "10.xx.xx.xx",
"esxi_host_name": "esxi-mgmt-3.vmw.com",
"esxi_root_pw": "******"
}
},
{
"description": "management pod node",
"hostname": "esxi-mgmt4",
"hw_profile": "default_management_profile",
"role": "mgmt_pod",
"ilo": "10.xx.xx.xx",
"user": "admin",
"password": "******",
"model": "DL360",
"custom_data": {
"esxi_mgmt_ip": "10.xx.xx.xx",
"esxi_host_name": "esxi-mgmt-4.vmw.com",
"esxi_root_pw": "******"
}
},
{
"description": "resource pod node",
"hostname": "esxi-res1",
"hw_profile": "default_edge_resource_profile",
"role": "resource_pod",
"ilo": "10.xx.xx.xx",
"user": "admin",
"password": "******",
"model": "DL380",
"custom_data": {
"esxi_mgmt_ip": "10.xx.xx.xx",
"esxi_host_name": "esxi-res-1.vmw.com",
"esxi_root_pw": "******"
}
},
{
"description": "resource pod node",
"hostname": "esxi-res2",
"hw_profile": "default_edge_resource_profile",
"role": "resource_pod",
"ilo": "10.xx.xx.xx",
"user": "admin",
"password": "******",
"model": "DL380",
"custom_data": {
"esxi_mgmt_ip": "10.xx.xx.xx",
"esxi_host_name": "esxi-res-2.vmw.com",
"esxi_root_pw": "******"
}
},
{
"description": "resource pod node",
"hostname": "esxi-res3",
"hw_profile": "default_edge_resource_profile",
"role": "resource_pod",
"ilo": "10.xx.xx.xx",
"user": "admin",
"password": "******",
"model": "DL380",
"custom_data": {
"esxi_mgmt_ip": "10.xx.xx.xx",
"esxi_host_name": "esxi-res-3.vmw.com",
"esxi_root_pw": "******"
}
}
],
"switches": [
{
"description": "data1",
"type": "data",
"oob_mgmt_ip": "10.xx.xx.xx",
"name": "data-1",
"user": "cumulus",
"password": "******",
"loopback_address": "10.xx.xx.xx",
"anycast_ip": "10.130.198.1",
"bgp_autonomous_system_num": "65001",
"protocol": "vxlan"
},
{
"description": "data2",
"type": "data",
"oob_mgmt_ip": "10.xx.xx.xx",
"name": "data-2",
"user": "cumulus",
"password": "******",
"loopback_address": "10.xx.xx.xx",
"anycast_ip": "10.xx.xx.xx",
"bgp_autonomous_system_num": "65002",
"protocol": "vxlan"
}
],
"oobm_type": "manual",
"description": "List of all physical infrastructure elements configured by code"
},
"networking": {
"underlay": [
{
"name": "ILO-OOBM",
"type": "ILO-OOBM",
"cidr": "10.xx.xx.xx/24",
"gateway": "10.xx.xx.xx",
"ip_range_start": "NA",
"ip_range_end": "NA",
"vlan": "399",
"vlan_range": "NA",
"vxlan": "NA",
"vxlan_range": "NA",
"description": "ILO network for manage servers"
},
{
"name": "VMOTION",
"type": "VMOTION",
"cidr": "10.xx.xx.xx/24",
"gateway": "10.xx.xx.xx",
"ip_range_start": "10.xx.xx.xx",
"ip_range_end": "10.xx.xx.xx",
"vlan": "328",
"vlan_range": "NA",
"vxlan": "100328",
"vxlan_range": "NA",
"description": "vMotion network for VMware vSphere vMotion traffic"
},
{
"name": "VSAN",
"type": "VSAN",
"cidr": "10.xx.xx.xx/24",
"gateway": "10.xx.xx.xx",
"ip_range_start": "10.xx.xx.xx",
"ip_range_end": "10.xx.xx.xx",
"vlan": "323",
"vlan_range": "NA",
"vxlan": "100323",
"vxlan_range": "NA",
"description": "vSAN Network for vSAN shared storage traffic"
},
{
"name": "ESXI_MGMT",
"type": "ESXI_MGMT",
"cidr": "10.xx.xx.xx/24",
"gateway": "10.xx.xx.xx",
"ip_range_start": "10.xx.xx.xx",
"ip_range_end": "10.xx.xx.xx",
"vlan": "321",
"vlan_range": "NA",
"vxlan": "100321",
"vxlan_range": "NA",
"description": "ESXi Management network for the ESXi host management traffic"
},
{
"name": "VCENTER_HA",
"type": "VCENTER_HA",
"cidr": "10.xx.xx.xx/24",
"gateway": "10.xx.xx.xx",
"ip_range_start": "10.xx.xx.xx",
"ip_range_end": "10.xx.xx.xx",
"vlan": "329",
"vlan_range": "NA",
"vxlan": "100329",
"vxlan_range": "NA",
"description": "vCenter High Availability network"
},
{
"name": "VM_MGMT",
"type": "VM_MGMT",
"cidr": "10.xx.xx.xx/24",
"gateway": "10.xx.xx.xx",
"ip_range_start": "10.xx.xx.xx",
"ip_range_end": "10.xx.xx.xx",
"vlan": "322",
"vlan_range": "NA",
"vxlan": "100322",
"vxlan_range": "NA",
"description": "Virtual Machine Network for the vm management traffic"
},
{
"name": "API",
"type": "API",
"cidr": "10.xx.xx.xx/24",
"gateway": "10.xx.xx.xx",
"ip_range_start": "10.xx.xx.xx",
"ip_range_end": "10.xx.xx.xx",
"vlan": "325",
"vlan_range": "NA",
"vxlan": "100325",
"vxlan_range": "NA",
"description": "API Network provide external access for vmware integrated openstack appliances"
},
{
"name": "EXT",
"type": "EXTERNAL",
"cidr": "10.xx.xx.xx/24",
"gateway": "10.xx.xx.xx",
"ip_range_start": "NA",
"ip_range_end": "NA",
"vlan": "327",
"vlan_range": "NA",
"vxlan": "100327",
"vxlan_range": "NA",
"description": "Range of VLAN's allotted for vms networks"
},
{
"name": "PROVIDER-VLAN",
"type": "PROVIDER-VLAN",
"cidr": "NA",
"gateway": "NA",
"ip_range_start": "NA",
"ip_range_end": "NA",
"vlan": "NA",
"vlan_range": "340-350",
"vxlan": "NA",
"vxlan_range": "100340-100350",
"description": "Range of VLAN's allotted for vms networks"
},
{
"name": "OAM",
"type": "OAM",
"cidr": "10.xx.xx.xx/24",
"gateway": "10.xx.xx.xx",
"ip_range_start": "NA",
"ip_range_end": "NA",
"vlan": "990",
"vlan_range": "NA",
"vxlan": "100990",
"vxlan_range": "NA",
"description": "Range of VLAN's allotted for vms networks"
},
{
"name": "L3-VNI",
"type": "L3-ROUTED-VNI",
"cidr": "NA",
"gateway": "NA",
"ip_range_start": "NA",
"ip_range_end": "NA",
"vlan": "4005",
"vlan_range": "NA",
"vxlan": "104005",
"vxlan_range": "NA",
"description": "L3 Routed VNI"
},
{
"name": "OVERLAY",
"type": "OVERLAY",
"cidr": "10.xx.xx.xx/24",
"gateway": "10.xx.xx.xx",
"ip_range_start": "10.xx.xx.xx",
"ip_range_end": "10.xx.xx.xx",
"vlan": "326",
"vlan_range": "NA",
"vxlan": "100326",
"vxlan_range": "NA",
"description": "Overlay Network for Geneve (VTP) virtual tunnel endpoint traffic"
}
],
"overlay": [],
"description": "List of all networking information configured"
},
"platform_management": {
"operations_node": [
{
"root_pw": "******",
"customer_network_cidr": "10.xx.xx.xx/24",
"customer_network_gw": "10.xx.xx.xx",
"customer_network_ip": "10.xx.xx.xx",
"dhcp_range": "10.xx.xx.xx-10.xx.xx.xx",
"os_type_with_version": "esxi 6.7U1",
"iso_filepath": "/root/exsi-6.7.iso"
}
],
"dns_servers": [
"10.xx.xx.xx"
],
"ntp_servers": [
"10.xx.xx.xx"
],
"description": "Management elements configured",
"domain_name": "vmw.com",
"timezone": "Asia/Kolkata",
"custom_data": {
"vim_version": "3.1",
"vim_type": "vmware"
}
}
}
}