Sample Input JSON files
Following are the sample input JSON files generated based on compute or HCI options:
Input JSON sample for Ceph using Static IPs
{
"topology_name": "rhosp",
"topology_data": {
"computes": {
"vim": [
{
"undercloud": {
"subscription": {
"repo_url": "http://10.XX.XX.XX:8081",
"docker_registry": "10.XX.XX.XX:8787",
"proxy_ip": "NA",
"proxy_port": "NA",
"proxy_user": "NA",
"proxy_password": "NA"
},
"root_pw": "******",
"stack_pw": "******",
"pxe_ip": "10.XX.XX.XX",
"oam_ip": "10.XX.XX.XX",
"dhcp_start_address": "10.XX.XX.XX",
"dhcp_end_address": "10.XX.XX.XX",
"inspection_start_address": "10.XX.XX.XX",
"inspection_end_address": "10.XX.XX.XX"
},
"overcloud": {
"can_start_address": "10.XX.XX.XX",
"can_end_address": "10.XX.XX.XX",
"internal_start_address": "10.XX.XX.XX",
"internal_end_address": "10.XX.XX.XX",
"storage_start_address": "10.XX.XX.XX",
"storage_end_address": "10.XHPX.XX.XX",
"password": "******",
"instanceha": "true",
"storage_backend": [
"ceph"
]
},
"profiles": {
"controller": {
"type": "controller",
"interfaces": {
"ovs": [
{
"name": "br-data",
"type": "bond",
"physnet": "PROVIDER-VLAN",
"bond_members": [
"nic3",
"nic4"
],
"bond_linux_options": "mode=4 lacp_rate=1 updelay=1000 miimon=100"
}
]
}
},
"ceph-storage": {
"type": "ceph",
"disk_config": {
"osd_objectstore": "bluestore",
"osd_scenario": "lvm",
"disk_type": {
"osd": "hdd",
"journal": "ssd"
},
"osds_per_device": "1"
},
"extra_config": {
"osd_memory_target": "4294967296"
},
"replication_size": "3",
"default_pgnum": "128"
},
"computeovsdpdksriov": {
"type": "compute",
"reserved_host_memory": "4096",
"vcpu_pin_set": "6-13,30-37",
"isolated_core_list": "6-23,30-47",
"hugepg_count": "100",
"interfaces": {
"dpdk": [
{
"name": "br-data",
"type": "bond",
"rx_queue": "2",
"physnet": "PROVIDER-VLAN",
"bond_members": [
"nic3",
"nic4"
],
"bond_ovs_options": "bond-mode=balance-tcp lacp=active"
}
],
"sriov": [
{
"name": "nic5",
"physnet": "PROVIDER-VLAN",
"vf": "10"
},
{
"name": "nic6",
"physnet": "PROVIDER-VLAN",
"vf": "10"
}
]
},
"dpdk": {
"core_list": "1-5,25-29",
"socket_memory": "4096,4096",
"pmd_core_list": "14-23,38-47",
"memory_channels": "6"
}
}
},
"name": "RHOSP",
"version": "13",
"description": "Redhat Openstack",
"state": "NA",
"error": ""
}
],
"description": "Compute platforms and its configurations"
},
"networking": {
"underlay": [
{
"name": "ILO-OOBM",
"type": "ILO-OOBM",
"cidr": "10.XX.XX.XX/YY",
"gateway": "10.XX.XX.XX",
"ip_range_start": "NA",
"ip_range_end": "NA",
"vlan": "399",
"vlan_range": "NA",
"vxlan": "100399",
"vxlan_range": "NA",
"description": "Out of Band Management Network connecting all servers and switches[UnTagged]"
},
{
"name": "BLS",
"type": "BLS",
"cidr": "10.XX.XX.XX/YY",
"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": "Block Storage network"
},
{
"name": "OAM",
"type": "OAM",
"cidr": "10.XX.XX.XX/YY",
"gateway": "10.XX.XX.XX",
"ip_range_start": "NA",
"ip_range_end": "NA",
"vlan": "324",
"vlan_range": "NA",
"vxlan": "100324",
"vxlan_range": "NA",
"description": "Data Center management network"
},
{
"name": "VIM-PXE",
"type": "VIM-PXE",
"cidr": "10.XX.XX.XX/YY",
"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": "PXE Network for RHOSP/VIM"
},
{
"name": "CLM",
"type": "CLM",
"cidr": "10.XX.XX.XX/YY",
"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": "Cloud Management network"
},
{
"name": "CAN",
"type": "CAN",
"cidr": "10.XX.XX.XX/YY",
"gateway": "10.XX.XX.XX",
"ip_range_start": "NA",
"ip_range_end": "NA",
"vlan": "325",
"vlan_range": "NA",
"vxlan": "100325",
"vxlan_range": "NA",
"description": "Consumer Access network"
},
{
"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 alloted for OpenStack Tenant 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"
}
],
"description": "List of all networking information configured"
},
"platform_management": {
"operations_node": [
{
"hostname": "undercloudhost",
"root_pw": "******",
"oam_ip": "10.XX.XX.XX",
"customer_network_cidr": "10.XX.XX.XX/YY",
"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": "RHEL 7.6",
"iso_filepath": "/root/rhel-server-7.6-x86_64-dvd.iso"
}
],
"dns_servers": [
"10.XX.XX.XX"
],
"ntp_servers": [
"10.XX.XX.XX",
"10.XX.XX.XX"
],
"description": "Management elements configured",
"timezone": "Asia/Kolkata",
"custom_data": {
"vim_version": "13",
"vim_type": "rhosp"
}
"snmp": [
{
"privacy_protocol": "DES",
"destination_ip": [
"XX.XX.XX.XX"
],
"auth_passphrase": "hellouser",
"auth_protocol": "MD5",
"trap_community": "public",
"privacy_passphrase": "hellosnmp",
"security_name": "SecurityName",
"snmp_alert_protocol": "SNMPv3Trap"
}
]
},
"infra": {
"servers": [
{
"description": "undercloud",
"hostname": "undercloud",
"hw_profile": "default_controller_profile",
"role": "baremetal",
"ilo": "10.XX.XX.XX",
"user": "admin",
"password": "******",
"model": "DL360"
},
{
"description": "controller1",
"hostname": "controller1",
"hw_profile": "default_controller_profile",
"role": "controller",
"ilo": "10.XX.XX.XX",
"user": "admin",
"password": "******",
"model": "DL360"
},
{
"description": "controller2",
"hostname": "controller2",
"hw_profile": "default_controller_profile",
"role": "controller",
"ilo": "10.XX.XX.XX",
"user": "admin",
"password": "******",
"model": "DL360"
},
{
"description": "controller3",
"hostname": "controller3",
"hw_profile": "default_controller_profile",
"role": "controller",
"ilo": "10.XX.XX.XX",
"user": "admin",
"password": "******",
"model": "DL360"
},
{
"description": "ceph1",
"hostname": "ceph1",
"hw_profile": "default_storage_profile",
"role": "ceph-storage",
"ilo": "10.XX.XX.XX",
"user": "admin",
"password": "******",
"model": "DL380"
},
{
"description": "ceph2",
"hostname": "ceph2",
"hw_profile": "default_storage_profile",
"role": "ceph-storage",
"ilo": "10.XX.XX.XX",
"user": "admin",
"password": "******",
"model": "DL380"
},
{
"description": "ceph3",
"hostname": "ceph3",
"hw_profile": "default_storage_profile",
"role": "ceph-storage",
"ilo": "10.XX.XX.XX",
"user": "admin",
"password": "******",
"model": "DL380"
},
{
"description": "compute1",
"hostname": "compute1",
"hw_profile": "default_compute_profile",
"role": "computeovsdpdksriov",
"ilo": "10.XX.XX.XX",
"user": "admin",
"password": "******",
"model": "DL360"
},
{
"description": "compute2",
"hostname": "compute2",
"hw_profile": "default_compute_profile",
"role": "computeovsdpdksriov",
"ilo": "10.130.99.16",
"user": "admin",
"password": "******",
"model": "DL360"
}
],
"switches": [
{
"description": "management1",
"type": "management",
"oob_mgmt_ip": "10.XX.XX.XX",
"name": "management-1",
"user": "admin",
"password": "******",
"protocol": "vxlan"
},
{
"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.XX.XX.XX",
"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"
}
],
"description": "List of all physical infrastructure elements configured by code"
},
"external_storage": {}
}
}
HCI-based input JSON sample
{
"topology_name": "hci",
"topology_data": {
"computes": {
"vim": [
{
"undercloud": {
"subscription": {
"repo_url": "http://10.XX.XX.XX:8081",
"docker_registry": "10.XX.XX.XX:8787",
"proxy_ip": "NA",
"proxy_port": "NA",
"proxy_user": "NA",
"proxy_password": "NA"
},
"root_pw": "*******",
"stack_pw": "*******",
"pxe_ip": "10.XX.XX.XX",
"oam_ip": "10.XX.XX.XX",
"dhcp_start_address": "10.XX.XX.XX",
"dhcp_end_address": "10.XX.XX.XX",
"inspection_start_address": "10.XX.XX.XX",
"inspection_end_address": "10.XX.XX.XX"
},
"overcloud": {
"can_start_address": "10.XX.XX.XX",
"can_end_address": "10.XX.XX.XX",
"internal_start_address": "10.XX.XX.XX",
"internal_end_address": "10.XX.XX.XX",
"storage_start_address": "10.XX.XX.XX",
"storage_end_address": "10.XX.XX.XX",
"password": "*******",
"instanceha": "false",
"storage_backend": [
"ceph"
]
},
"profiles": {
"controller": {
"type": "controller",
"interfaces": {
"ovs": [
{
"name": "br-data",
"type": "bond",
"physnet": "PROVIDER-VLAN",
"bond_members": [
"nic3",
"nic4"
],
"bond_linux_options": "mode=4 lacp_rate=1 updelay=1000 miimon=100"
}
]
}
},
"osdcompute": {
"type": "hci",
"reserved_host_memory": "4096",
"vcpu_pin_set": "2-15",
"cpu_allocation_ratio": "1.09",
"isolated_core_list": "4-9",
"hugepg_count": "100",
"ceph-storage": {
"disk_config": {
"osd_objectstore": "bluestore",
"osd_scenario": "lvm",
"disk_type": {
"osd": "nvme",
"journal": "nvme"
},
"osds_per_device": "4"
},
"extra_config": {
"osd_memory_target": "8589934592"
},
"replication_size": "2",
"default_pgnum": "32"
},
"interfaces": {
"sriov": [
{
"name": "nic3",
"physnet": "PROVIDER-VLAN",
"vf": "4"
},
{
"name": "nic4",
"physnet": "PROVIDER-VLAN",
"vf": "4"
}
]
}
}
},
"name": "RHOSP",
"version": "13",
"description": "Redhat Openstack",
"state": "NA",
"error": ""
}
],
"description": "Compute platforms and its configurations"
},
"networking": {
"underlay": [
{
"name": "ILO-OOBM",
"type": "ILO-OOBM",
"cidr": "10.XX.XX.XX/YY",
"gateway": "10.XX.XX.XX",
"ip_range_start": "10.XX.XX.XX",
"ip_range_end": "10.XX.XX.XX",
"vlan": "1900",
"vlan_range": "NA",
"vxlan": "1001900",
"vxlan_range": "NA",
"description": "Out of Band Management Network connecting all servers and switches[UnTagged]"
},
{
"name": "BLS",
"type": "BLS",
"cidr": "10.XX.XX.XX/YY",
"gateway": "10.XX.XX.XX",
"ip_range_start": "10.XX.XX.XX",
"ip_range_end": "10.XX.XX.XX",
"vlan": "1902",
"vlan_range": "NA",
"vxlan": "1001902",
"vxlan_range": "NA",
"description": "Block Storage network"
},
{
"name": "OAM",
"type": "OAM",
"cidr": "10.XX.XX.XX/YY",
"gateway": "10.XX.XX.XX",
"ip_range_start": "NA",
"ip_range_end": "NA",
"vlan": "1903",
"vlan_range": "NA",
"vxlan": "1001903",
"vxlan_range": "NA",
"description": "Data Center management network"
},
{
"name": "VIM-PXE",
"type": "VIM-PXE",
"cidr": "10.XX.XX.XX/YY",
"gateway": "10.XX.XX.XX",
"ip_range_start": "10.XX.XX.XX",
"ip_range_end": "10.XX.XX.XX",
"vlan": "1904",
"vlan_range": "NA",
"vxlan": "1001904",
"vxlan_range": "NA",
"description": "PXE Network for RHOSP/VIM"
},
{
"name": "CLM",
"type": "CLM",
"cidr": "10.XX.XX.XX/YY",
"gateway": "10.XX.XX.XX",
"ip_range_start": "10.XX.XX.XX",
"ip_range_end": "10.XX.XX.XX",
"vlan": "1905",
"vlan_range": "NA",
"vxlan": "1001905",
"vxlan_range": "NA",
"description": "Cloud Management network"
},
{
"name": "CAN",
"type": "CAN",
"cidr": "10.XX.XX.XX/YY",
"gateway": "10.XX.XX.XX",
"ip_range_start": "NA",
"ip_range_end": "NA",
"vlan": "1906",
"vlan_range": "NA",
"vxlan": "1001906",
"vxlan_range": "NA",
"description": "Consumer Access network"
},
{
"name": "PROVIDER-VLAN",
"type": "PROVIDER-VLAN",
"cidr": "NA",
"gateway": "NA",
"ip_range_start": "NA",
"ip_range_end": "NA",
"vlan": "NA",
"vlan_range": "390-400",
"vxlan": "NA",
"vxlan_range": "100390-100400",
"description": "Range of VLAN's alloted for OpenStack Tenant networks"
},
{
"name": "L3-VNI",
"type": "L3-ROUTED-VNI",
"cidr": "NA",
"gateway": "NA",
"ip_range_start": "NA",
"ip_range_end": "NA",
"vlan": "1908",
"vlan_range": "NA",
"vxlan": "1019008",
"vxlan_range": "NA",
"description": "L3 Routed VNI"
}
],
"description": "List of all networking information configured"
},
"platform_management": {
"operations_node": [
{
"hostname": "undercloudhost",
"root_pw": "*********",
"oam_ip": "10.XX.XX.XX",
"customer_network_cidr": "10.XX.XX.XX/YY",
"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": "RHEL 7.6",
"iso_filepath": "/root/rhel.iso"
}
],
"dns_servers": [
"10.XX.XX.XX"
],
"ntp_servers": [
"10.XX.XX.XX",
"10.XX.XX.XX"
],
"description": "Management elements configured",
"timezone": "Africa/Bujumbura",
"custom_data": {
"vim_version": "13",
"vim_type": "rhosp"
}
},
"infra": {
"servers": [
{
"description": "undercloud",
"hostname": "undercloud",
"hw_profile": "default_el_controller_profile",
"role": "baremetal",
"serial": "435534345kjkjkjjk",
"user": "admin",
"password": "*******",
"model": "m510",
"label_password": "*******"
},
{
"description": "controller1",
"hostname": "controller1",
"hw_profile": "default_el_controller_profile",
"role": "controller",
"serial": "kmfddvkfd43534534",
"user": "admin",
"password": "*******",
"model": "m510",
"label_password": "*******"
},
{
"description": "controller2",
"hostname": "controller2",
"hw_profile": "default_el_controller_profile",
"role": "controller",
"serial": "423jhjh23hhkj",
"user": "admin",
"password": "*******",
"model": "m510",
"label_password": "*******"
},
{
"description": "controller3",
"hostname": "controller3",
"hw_profile": "default_el_controller_profile",
"role": "controller",
"serial": "234424jkjkk",
"user": "admin",
"password": "*******",
"model": "m510",
"label_password": "*******"
},
{
"description": "hci1",
"hostname": "hci1",
"hw_profile": "default_el8k_hci_compute_profile",
"role": "osdcompute",
"serial": "2345254jhjkhh",
"user": "admin",
"password": "*******",
"model": "e910",
"label_password": "*******"
},
{
"description": "hci2",
"hostname": "hci2",
"hw_profile": "default_el8k_hci_compute_profile",
"role": "osdcompute",
"serial": "242hjhjhh23",
"user": "admin",
"password": "*******",
"model": "e910",
"label_password": "*******"
},
{
"description": "hci3",
"hostname": "hci3",
"hw_profile": "default_el8k_hci_compute_profile",
"role": "osdcompute",
"serial": "9897788sddafa",
"user": "admin",
"password": "*******",
"model": "e910",
"label_password": "*******"
}
],
"switches": [
{
"description": "management1",
"type": "management",
"oob_mgmt_ip": "10.XX.XX.XX",
"name": "management-1",
"user": "admin",
"password": "*******",
"protocol": "vxlan"
},
{
"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.XX.XX.XX",
"bgp_autonomous_system_num": "65000",
"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"
}
],
"description": "List of all physical infrastructure elements configured by code"
},
"external_storage": {}
}
}