diff options
author | Sridhar K. N. Rao <sridhar.rao@spirent.com> | 2021-06-01 19:02:24 +0530 |
---|---|---|
committer | Sridhar K. N. Rao <sridhar.rao@spirent.com> | 2021-06-01 19:04:54 +0530 |
commit | 5797983f51bea393307a0319bad438a798fcd054 (patch) | |
tree | ffafd36074fe11a1ed090e257f6302ec993b1794 | |
parent | 4743d6120a9afe077e3666e3128e16808cb04c09 (diff) |
PDF: Update PDF Template and Tool
Update the PDF template and tool in includes the changes proposed in
CNTT release.
JIRA: CIRV-51
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
Change-Id: Icb99273711df0a077a1499788f7af171902cce94
-rw-r--r-- | sdv/pdf/site/index.html | 184 | ||||
-rw-r--r-- | sdv/pdf/template/pdf_template.json | 1144 |
2 files changed, 781 insertions, 547 deletions
diff --git a/sdv/pdf/site/index.html b/sdv/pdf/site/index.html index fe88f29..edc3750 100644 --- a/sdv/pdf/site/index.html +++ b/sdv/pdf/site/index.html @@ -87,10 +87,12 @@ <li><a data-toggle="formtab" href="#rackInfo">Rack Information</a></li> <li><a data-toggle="formtab" href="#stocluInfo">Storage Cluster Information</a></li> <li><a data-toggle="formtab" href="#biosProfiles">BIOS Profiles</a></li> + <li><a data-toggle="formtab" href="#bmcProfiles">BMC Profiles</a></li> <li><a data-toggle="formtab" href="#procProfiles">Processor Profiles</a></li> <li><a data-toggle="formtab" href="#disksProfiles">Disks Profiles</a></li> <li><a data-toggle="formtab" href="#nicProfiles">NIC Profiles</a></li> <li><a data-toggle="formtab" href="#hwProfiles">Hardware Profiles</a></li> + <li><a data-toggle="formtab" href="#swProfiles">Switch Profiles</a></li> <li><a data-toggle="formtab" href="#storprofiles">Storage Profiles</a></li> <li><a data-toggle="formtab" href="#virNets">Networks</a></li> <li><a data-toggle="formtab" href="#phyNets">Physical Networks</a></li> @@ -135,9 +137,17 @@ <input type="text" placeholder="Bangalore" name="city"> </div> <div class="form-field"> + <label>Resource Pool ID</label> + <input type="text" placeholder="EPG_ID" name="resource_pool_id"> + </div> + <div class="form-field"> <label>Resource Pool Name</label> <input type="text" placeholder="EPG" name="resource_pool_name"> </div> + <div class="form-field"> + <label>Resource Pool Type</label> + <input type="text" placeholder="CLD" name="resource_pool_type"> + </div> </div> </div> <div class="next-btn"> @@ -150,6 +160,18 @@ <hr> <div class="arr" name="user_info"> <div class="form-field"> + <label>Access Type</label> + <input type="text" placeholder="VIM" name="access_type"> + </div> + <div class="form-field"> + <label>Endpoint</label> + <input type="text" placeholder="Server" name="endpoint"> + </div> + <div class="form-field"> + <label>Authetication Type</label> + <input type="text" placeholder="passwd" name="auth_type"> + </div> + <div class="form-field"> <label>Username</label> <input type="text" placeholder="sridhar" name="username"> </div> @@ -426,12 +448,16 @@ <input type="text" placeholder=" " name="ironic_deploy_interface"> </div> <div class="form-field"> + <label> IP Type </label> + <input type="text" placeholder="v4" name="ip_type"> + </div> + <div class="form-field"> <label> External Storage Cluster (Y/N) </label> <input type="text" placeholder=" " name="external_storage_cluster"> </div> <div class="form-field"> <label> Block Storage Connection Method</label> - <input type="text" placeholder=" " name="bl_str_connect_method"> + <input type="text" placeholder=" " name="blk_str_connect_method"> </div> </div> </div> @@ -473,15 +499,27 @@ <hr> <div class="form-field"> <label> Rack Name </label> - <input type="text" placeholder=" " name=" "> + <input type="text" placeholder=" " name="rack_name"> </div> <div class="form-field"> <label> Rack Description </label> - <input type="text" placeholder=" " name=" "> + <input type="text" placeholder=" " name="rack_description"> </div> <div class="form-field"> <label> Rack Availability Zone </label> - <input type="text" placeholder=" " name=" "> + <input type="text" placeholder=" " name="rack_az"> + </div> + <div class="form-field"> + <label> Rack Room </label> + <input type="text" placeholder=" " name="rack_room"> + </div> + <div class="form-field"> + <label> Rack Number </label> + <input type="text" placeholder=" " name="rack_number"> + </div> + <div class="form-field"> + <label> Rack Raw </label> + <input type="text" placeholder=" " name="rack_raw"> </div> </div> </div> @@ -506,6 +544,14 @@ <input type="text" placeholder=" " name="cluster_type"> </div> <div class="form-field"> + <label> Cluster Vendor </label> + <input type="text" placeholder=" " name="vendor"> + </div> + <div class="form-field"> + <label> Cluster Version </label> + <input type="text" placeholder=" " name="version"> + </div> + <div class="form-field"> <label> Cluster ID </label> <input type="text" placeholder=" " name="cluster_id"> </div> @@ -527,7 +573,7 @@ <div class="arr" name="mon_host_ips"> <div class="form-field"> <label>IP Address</label> - <input type="text" placeholder="a:b:c:d" name="ips"> + <input type="text" placeholder="a:b:c:d" name="ip"> </div> </div> <div class="add-button" onclick="duplicate(this)"></div> @@ -548,6 +594,30 @@ <input type="text" placeholder=" " name="cluster_cidr"> </div> <div class="form-field"> + <label> Nodes </label> + </div> + <div class="arr" name="nodes"> + <div class="form-field"> + <label>Node Name</label> + <input type="text" placeholder=" " name="name"> + </div> + <div class="form-field"> + <label>Node Id</label> + <input type="text" placeholder=" " name="id"> + </div> + </div> + <div class="add-button" onclick="duplicate(this)"></div> + <div class="form-field"> + <label> Networks </label> + </div> + <div class="arr" name="networks"> + <div class="form-field"> + <label>Network Name</label> + <input type="text" placeholder=" " name="name"> + </div> + </div> + <div class="add-button" onclick="duplicate(this)"></div> + <div class="form-field"> <label> Pools </label> </div> <div class="arr" name="pools"> @@ -561,6 +631,14 @@ </div> </div> <div class="add-button" onclick="duplicate(this)"></div> + <div class="form-field"> + <label> Availablity Zone Name </label> + <input type="text" placeholder=" " name="az_name"> + </div> + <div class="form-field"> + <label> Backup Policy </label> + <input type="text" placeholder=" " name="backup_policy"> + </div> </div> </div> <div class="next-btn"> @@ -572,7 +650,7 @@ <h4> BIOS Profiles </h4> <hr> <div class="devider-row"> - <div class="arr" name="bios_profile"> + <div class="arr" name="bios_profiles"> <div class="form-field"> <label>Profile Name </label> <input type="text" placeholder=" " name="profile_name"> @@ -592,7 +670,7 @@ <input type="text" placeholder=" " name="bootstrap_proto"> </div> <div class="form-field"> - <label> Hyperthreading Enabled (Y/N) </label> + <label> Hyperthreading Enabled (Yes/No) </label> <input type="text" placeholder=" " name="hyperthreading_enabled"> </div> <div class="form-field"> @@ -605,6 +683,31 @@ </div> </div> <div class="next-btn"> + <a data-toggle="formtab" href="#bmcProfiles">Next</a> + </div> + </div> + <div class="tabs-panels" id="bmcProfiles"> + <div class="tab-part"> + <h4> BMC Profiles </h4> + <hr> + <div class="devider-row"> + <div class="arr" name="bios_profiles"> + <div class="form-field"> + <label>Profile Name </label> + <input type="text" placeholder=" " name="profile_name"> + </div> + <div class="form-field"> + <label> BMC Info </label> + <div class="form-field"> + <label> BMC Version </label> + <input type="text" placeholder=" " name="bmc_version"> + </div> + </div> + </div> + <div class="add-button" onclick="duplicate(this)"></div> + </div> + </div> + <div class="next-btn"> <a data-toggle="formtab" href="#procProfiles">Next</a> </div> </div> @@ -794,12 +897,20 @@ <input type="text" placeholder=" " name="name"> </div> <div class="form-field"> + <label> Profile ID </label> + <input type="text" placeholder=" " name="id"> + </div> + <div class="form-field"> <label> Profile Info </label> <div class="form-field"> <label> Server Manufacturer </label> <input type="text" placeholder=" " name="manufacturer"> </div> <div class="form-field"> + <label> Server SKU </label> + <input type="text" placeholder=" " name="sku"> + </div> + <div class="form-field"> <label> Compute Server Model </label> <input type="text" placeholder=" " name="model"> </div> @@ -812,6 +923,10 @@ <input type="text" placeholder=" " name="bios_profile"> </div> <div class="form-field"> + <label> BMC Profile</label> + <input type="text" placeholder=" " name="bmc_profile"> + </div> + <div class="form-field"> <label> Processor Profile </label> <input type="text" placeholder=" " name="processor_profile"> </div> @@ -833,6 +948,55 @@ </div> </div> <div class="next-btn"> + <a data-toggle="formtab" href="#swProfiles">Next</a> + </div> + </div> + <div class="tabs-panels" id="swProfiles"> + <div class="tab-part"> + <h4> Switch Profiles </h4> + <hr> + <div class="devider-row"> + <div class="arr"> + <div class="form-field"> + <label> Profile Name </label> + <input type="text" placeholder=" " name="name"> + </div> + <div class="form-field"> + <label> Profile ID </label> + <input type="text" placeholder=" " name="name"> + </div> + <div class="form-field"> + <label> Profile Info </label> + <div class="form-field"> + <label> Switch Manufacturer </label> + <input type="text" placeholder=" " name="manufacturer"> + </div> + <div class="form-field"> + <label> Switch SKU </label> + <input type="text" placeholder=" " name="sku"> + </div> + <div class="form-field"> + <label> Switch Model </label> + <input type="text" placeholder=" " name="model"> + </div> + <div class="form-field"> + <label> Switch Generation </label> + <input type="text" placeholder=" " name="generation"> + </div> + <div class="form-field"> + <label> Bios Profile</label> + <input type="text" placeholder=" " name="bios_profile"> + </div> + <div class="form-field"> + <label> BMC Profile </label> + <input type="text" placeholder=" " name="bmc_profile"> + </div> + </div> + </div> + <div class="add-button" onclick="duplicate(this)"></div> + </div> + </div> + <div class="next-btn"> <a data-toggle="formtab" href="#storProfiles">Next</a> </div> </div> @@ -1175,7 +1339,7 @@ <h4> Network-Interface Mapping </h4> <hr> <div class="devider-row"> - <div class="arr", name="interface_mapping_profiles"> + <div class="arr", name="link_nw_mapping_profiles"> <div class="form-field"> <label> Profile Name </label> <input type="text" placeholder=" " name="profile_name"> @@ -1186,11 +1350,11 @@ <div class="arr" name="profile_data"> <div class="form-field"> <label> Interface Name </label> - <input type="text" placeholder=" " name="interface_name"> + <input type="text" placeholder=" " name="link_name"> </div> <div class="form-field"> <label> Interface Type </label> - <input type="text" placeholder=" " name="interface_type"> + <input type="text" placeholder=" " name="link_type"> </div> <div class="form-field"> <label> Use DHCP (Y/N) </label> diff --git a/sdv/pdf/template/pdf_template.json b/sdv/pdf/template/pdf_template.json index 5dfada5..8778e10 100644 --- a/sdv/pdf/template/pdf_template.json +++ b/sdv/pdf/template/pdf_template.json @@ -1,537 +1,607 @@ -{
- "_comment_head":"Maintainer - Sridhar Rao <sridhar.rao@spirent.com>",
- "_comment_head1":"User should Configure all profiles. Add new, if reqd.",
- "_comment_head2":"User should Configure the roles",
- "_comment_head3":"All infos should be filled by the user",
- "_comment_head4":"The servers data will be automatically generated",
- "_comment_info1":"All Infos",
- "management_info": {
- "owner":"",
- "area_name": "",
- "area_center_name": "",
- "room_id": "",
- "city": "",
- "resource_pool_name": ""
- },
- "user_info": [
- {
- "username":"",
- "password":"",
- "pub_key":"",
- "passphrase":"",
- "tls_ca_cert":"",
- "tls_cert":"",
- "tls_key":"",
- "email":""
- }
- ],
- "ntp_info": {
- "primary_ip":"",
- "primary_zone":"",
- "secondary_ip":"",
- "secondary_zone":""
- },
- "syslog_info": {
- "server_ip":"",
- "transport":""
- },
- "dns_info": [
- {
- "name":"",
- "domain":"",
- "servers": [
- {
- "ip": ""
- }
- ]
- }
- ],
- "proxy_info": {
- "address":"",
- "port":"",
- "user":"",
- "password":""
- },
- "ldap_info": {
- "base_url":"",
- "url":"",
- "auth_path":"",
- "common_name":"",
- "subdomain":"",
- "domain":""
- },
- "vim_info": {
- "vim_name": " ",
- "vim_id": " ",
- "vendor": " ",
- "version": " ",
- "installer":"",
- "deployment_style":"",
- "container_orchestrator":"",
- "storage_type":""
- },
- "_comment_deployment":" Type can be OOK or NOOK, block storage method is rbd or iscsi",
- "deployment_info": {
- "high_availability":"",
- "introspection":"",
- "deployment_type":"",
- "installer_used":"",
- "workload_vnf":"",
- "workload_cnf":"",
- "sdn_controller":"",
- "sdn_controller_version":"",
- "sdn_controller_nbapps":"",
- "vnfm":"",
- "vnfm_version":"",
- "data_plane_used":"",
- "ironic_deploy_interface":"",
- "external_storage_cluster":"",
- "bl_str_connect_method":""
- },
- "vim_functional": {
- "scheduler_filters":"",
- "cpu_allocation_ratio":""
- },
- "jumphost_info": {
- "ip":"",
- "name":""
- },
- "rack_info": [
- {
- "rack_id":"",
- "rack_details": {
- "rack_name":"",
- "rack_description":"",
- "rack_az":""
- }
- }
- ],
- "storage_cluster_info": {
- "name":"",
- "cluster_type":"",
- "cluster_id":"",
- "auth_type":"",
- "username":"",
- "password":"",
- "certificate_location":"",
- "client_key":"",
- "mon_host_ips": [
- {
- "ips":""
- }
- ],
- "public_cidr":"",
- "cluster_cidr":"",
- "pools": [
- {
- "key":"",
- "value":""
- }
- ]
- },
- "_comment_info2": "End of Information - Except Software-INFO",
- "bios_profile": [
- {
- "profile_name":"",
- "bios_info":
- {
- "bios_version": "",
- "bios_mode":"",
- "bootstrap_proto":"",
- "hyperthreading_enabled":"",
- "_comment":"C4_C6_MLC-STR_MLC-SPA_DCU_DCA_RAS_TURBO",
- "bios_setting":""
- }
- }
- ],
- "processor_profiles": [
- {
- "profile_name":"",
- "profile_info":
- {
- "manufacturer": "",
- "generation":"",
- "speed":"",
- "model":"",
- "architecture":"",
- "cpu_cflags":"",
- "cache_size":"",
- "numas": [
- {
- "node_id":"",
- "cpu_set":""
- }
- ]
- }
- }
- ],
- "disks_profiles": [
- {
- "profile_name":"",
- "profile_info": [
- {
- "alias":"",
- "vendor":"",
- "address":"",
- "size":"",
- "model":"",
- "dev_type":"",
- "rotation":"",
- "bus":"",
- "logical_name":""
- }
- ]
- }
- ],
- "nic_profiles": [
- {
- "profile_name":"",
- "profile_info": [
- {
- "alias":"",
- "name":"",
- "address":"",
- "dev_type":"",
- "bus":"",
- "sriov_capable":"",
- "numa_id":""
- }
- ]
- }
- ],
- "hardware_profiles": [
- {
- "profile_name": "",
- "profile_info": {
- "manufacturer": "",
- "model": "",
- "generation":"",
- "bios_profile":"",
- "processor_profile": "",
- "memory": "",
- "disks_profile": "",
- "nics_profile":""
- }
- }
- ],
- "_comment_hw":" Hardware Information is complete",
- "storage_profile": [
- {
- "name":"",
- "bootdrive":"",
- "bd_partitions": [
- {
- "name":"",
- "size":"",
- "bootable":"",
- "filesystem": {
- "mountpoint":"",
- "fstype":"",
- "mount_options":""
- }
- }
- ],
- "data_devices": [
- {
- "name":"",
- "partitions": [
- {
- "name":"ceph",
- "size":"available",
- "filesystem": {
- "mountpoint":"/var/lib/ceph",
- "fstype":"ext4",
- "mount_options":"defaults"
- }
- }
- ]
- }
- ],
- "journal_devices": [
- {
- "name":""
- }
- ]
-
- }
- ],
- "_comment_nw1": "Network Info, Please include IPMI & Physnets info too",
- "networks": [
- {
- "name":"",
- "vips":[
- {
- "name":"",
- "ip":""
- }
- ],
- "tunnel_type":"",
- "tunnel_id":"",
- "tunnel_id_range":"",
- "mtu":"",
- "routedomain":"",
- "cidr":"",
- "dns":"",
- "routes": [
- {
- "subnet":"",
- "gateway":"",
- "metric":"",
- "routedomain":""
- }
- ],
- "allocation_pools": [
- {
- "type":"",
- "start":"",
- "end":""
- }
- ],
- "v6_cidr":"",
- "v6_allocation_pools": [
- {
- "type":"",
- "start":"",
- "end":""
- }
- ]
- }
- ],
- "physical_networks": [
- {
- "name":"external",
- "cidr":"",
- "type":"flat"
- }
- ],
- "_comment_nw2":" type: trunk (airship), bond, interface, bridge",
- "network_link": [
- {
- "name":"",
- "type":"",
- "bonding_mode":"",
- "mtu":"",
- "linkspeed":"auto",
- "trunking_mode":"",
- "trunking_default_nw":"",
- "metadata": [
- {
- "key":"",
- "value":""
- }
- ],
- "members":[
- {
- "name":"",
- "type":""
- }
- ],
- "vid":"",
- "vf_count":""
- }
- ],
- "_comment_nw4": "The interface_name could be i/f, bond, bridges",
- "_comment_nw5": "These profiles are mapped to roles",
- "interface_mapping_profiles": [
- {
- "profile_name":"",
- "profile_data": [
- {
- "interface_name":"",
- "interface_type":"",
- "networks": [
- {
- "name":""
- }
- ],
- "use_dhcp":""
- }
- ]
- }
- ],
- "platform_profiles": [
- {
- "profile_name":"",
- "os":"",
- "rt_kvm":"",
- "kernel_version":"",
- "kernel_parameters":"",
- "isolated_cpus":"",
- "vnf_cores":"",
- "os_reserved_cores": " ",
- "hugepage_count":"",
- "hugepages": [
- {
- "hugepage_count":"",
- "hugepage_size":""
- }
- ],
- "iommu":"",
- "vswitch_daemon_cores": " ",
- "vswitch_type":"",
- "vswitch_uio_driver":"",
- "vswitch_mem_channels":"",
- "vswitch_socket_memory":"",
- "vswitch_pmd_cores":"",
- "vswitch_dpdk_lcores":"",
- "vswitch_dpdk_rxqs":"",
- "vswitch_options":""
- }
- ],
- "undercloud_ook":{
- "dns": {
- "cluster_domain":"",
- "service_ip":""
- },
- "etcd":{
- "service_ip":"",
- "container_port":"",
- "haproxy_port":""
- },
- "masters": [
- {
- "hostname":""
- }
- ],
- "networking":{
- "type":"",
- "interface_used":"",
- "api_service_ip":"",
- "etcd_service_ip":"",
- "pod_cidr":"",
- "service_cidr":"",
- "apiserver_port":"",
- "haproxy_port":"",
- "servicenode_port_range":""
- },
- "kvps":[
- {
- "key":"",
- "value":""
- }
- ]
-
- },
- "undercloud_ooo":{
- "host_name":"",
- "local_ip":"",
- "public_host":"",
- "admin_host":"",
- "local_interface":"",
- "inspection_interface":"",
- "networking":{
- "ctrlplane_cidr":"",
- "ctrlplane_ip_start":"",
- "ctrlplane_ip_end":"",
- "inspection_range":"",
- "gateway":""
- }
- },
- "_comment_sw1":"Software Begins",
- "undercloud_sw_profiles":[
- {
- "profile_name":"",
- "sw_list": [
- {
- "name":"",
- "version":""
- }
- ]
- }
- ],
- "openstack_sw_profiles":[
- {
- "profile_name":"",
- "sw_list": [
- {
- "name":"",
- "version":""
- }
- ]
- }
- ],
- "infra_sw_profiles":[
- {
- "profile_name":"",
- "sw_list": [
- {
- "name":"",
- "version":""
- }
- ]
- }
- ],
- "software_set": [
- {
- "set_name":"",
- "undercloud_profile":"",
- "infrasw_profile":"",
- "openstack_profile":""
- }
- ],
- "_comment_role1":"User has to configure this - What profile to use for a role",
- "_comment_role2":"Based on this server_info will be autogenerated for all servers",
- "roles": [
- {
- "name":"",
- "hostname_prefix":"",
- "hostname_suffix":"",
- "hostname_number_start":"",
- "count":"",
- "hardware_profile":"",
- "interface_mapping":"",
- "storage_mapping":"",
- "platform_profile":"",
- "sw_set_name":"",
- "metadata": [
- {
- "on_count_condition":"",
- "count":"",
- "key":"",
- "value":""
- }
- ]
- }
- ],
- "_comment_ex1":"C:City, A:Area, R:Room, N:Unique Number",
- "_comment_ex2":"All are 2 characters. City-Capitals, Area-Small",
- "extrapolation_info": {
- "ilo_password":"CID-AID-RID-NID",
- "ilo_user":"owner",
- "ip_increment":""
- },
- "host_aggregates": [
- {
- "aggregate_name":"",
- "properties": [
- {
- "key":"",
- "value":""
- }
- ],
- "servers": [
- {
- "identifier":"",
- "ilo_ip":"",
- "hostname":""
- }
- ]
- }
- ],
- "_comment_servers1":"This will be auto generated",
- "_comment_servers2":"This describes the entire cloud.",
- "servers": [
- {
- "role_name":"",
- "device_name":"",
- "az_name": " ",
- "ha_name": " ",
- "rack":"",
- "ilo_info": {
- "ip":"",
- "user":"",
- "password":""
- }
- }
- ]
-}
+{ + "_comment_head": "Maintainer - Sridhar Rao <sridhar.rao@spirent.com>", + "_comment_head1": "User should Configure all profiles. Add new, if reqd.", + "_comment_head2": "User should Configure the roles", + "_comment_head3": "All infos should be filled by the user", + "_comment_head4": "The servers data will be automatically generated", + "_comment_info1": "All Infos", + "management_info": { + "owner": "", + "area_name": "", + "area_center_name": "", + "room_id": "", + "city": "", + "timezone": "", + "resource_pool_id": "", + "resource_pool_name": "", + "resource_pool_type": "" + }, + "user_info": [ + { + "_comment_users1": " Access Type: PIM, VIM, etc.", + "_comment_users2": " Endpoint: Server, Switch, VIM, etc.", + "access_type": "", + "endpoint": "", + "auth_type": "", + "username": "", + "password": "", + "pub_key": "", + "passphrase": "", + "tls_ca_cert": "", + "tls_cert": "", + "tls_key": "", + "email": "" + } + ], + "ntp_info": { + "primary_ip": "", + "primary_zone": "", + "secondary_ip": "", + "secondary_zone": "" + }, + "syslog_info": { + "server_ip": "", + "transport": "" + }, + "dns_info": [ + { + "name": "", + "domain": "", + "servers": [ + { + "ip": "" + } + ] + } + ], + "proxy_info": { + "address": "", + "port": "", + "user": "", + "password": "" + }, + "ldap_info": { + "base_url": "", + "url": "", + "auth_path": "", + "common_name": "", + "subdomain": "", + "domain": "" + }, + "vim_info": { + "vim_name": " ", + "vim_id": " ", + "vendor": " ", + "version": " ", + "installer": "", + "deployment_style": "", + "container_orchestrator": "", + "storage_type": "" + }, + "_comment_deployment": " Type can be OOK or NOOK, block storage method is rbd or iscsi", + "deployment_info": { + "high_availability": "", + "introspection": "", + "deployment_type": "", + "installer_used": "", + "workload_vnf": "", + "workload_cnf": "", + "sdn_controller": "", + "sdn_controller_version": "", + "sdn_controller_nbapps": "", + "vnfm": "", + "vnfm_version": "", + "data_plane_used": "", + "ironic_deploy_interface": "", + "ip_type": "", + "external_storage_cluster": "", + "blk_str_connect_method": "" + }, + "vim_functional": { + "scheduler_filters": "", + "cpu_allocation_ratio": "" + }, + "jumphost_info": { + "ip": "", + "name": "" + }, + "rack_info": [ + { + "rack_id": "", + "rack_details": { + "rack_name": "", + "rack_description": "", + "rack_az": "", + "rack_room": "", + "rack_raw": "", + "rack_number": "" + } + } + ], + "storage_cluster_info": { + "name": "", + "cluster_type": "", + "vendor": "", + "version": "", + "cluster_id": "", + "auth_type": "", + "username": "", + "password": "", + "certificate_location": "", + "client_key": "", + "mon_host_ips": [ + { + "ip": "" + } + ], + "public_cidr": "", + "cluster_cidr": "", + "nodes": [ + { + "name": "", + "id": "" + } + ], + "pools": [ + { + "key": "", + "value": "" + } + ], + "max_quota_capacity": "", + "az_name": "", + "backup_policy": "", + "networks": [ + { + "name": "" + } + ] + }, + "_comment_info2": "End of Information - Except Software-INFO", + "bios_profiles": [ + { + "profile_name": "", + "bios_info": { + "bios_version": "", + "bios_mode": "", + "bootstrap_proto": "", + "hyperthreading_enabled": "", + "_comment": "C4_C6_MLC-STR_MLC-SPA_DCU_DCA_RAS_TURBO", + "bios_setting": "" + } + } + ], + "bmc_profiles": [ + { + "profile_name": "", + "bmc_info": { + "version": "" + } + } + ], + "processor_profiles": [ + { + "profile_name": "", + "profile_info": { + "manufacturer": "", + "generation": "", + "speed": "", + "model": "", + "architecture": "", + "cpu_cflags": "", + "cache_size": "", + "numas": [ + { + "node_id": "", + "cpu_set": "" + } + ] + } + } + ], + "disks_profiles": [ + { + "profile_name": "", + "profile_info": [ + { + "alias": "", + "vendor": "", + "address": "", + "size": "", + "model": "", + "dev_type": "", + "rotation": "", + "bus": "", + "logical_name": "" + } + ] + } + ], + "nic_profiles": [ + { + "profile_name": "", + "profile_info": [ + { + "alias": "", + "name": "", + "address": "", + "dev_type": "", + "bus": "", + "sriov_capable": "", + "numa_id": "" + } + ] + } + ], + "hardware_profiles": [ + { + "profile_name": "", + "profile_id": "", + "profile_info": { + "manufacturer": "", + "sku": "", + "model": "", + "generation": "", + "bios_profile": "", + "bmc_profile": "", + "processor_profile": "", + "memory": "", + "disks_profile": "", + "nics_profile": "" + } + } + ], + "switch_profiles": [ + { + "profile_name": "", + "profile_id": "", + "profile_info": { + "manufacturer": "", + "sku": "", + "model": "", + "generation": "", + "bios_profile": "", + "bmc_profile": "", + "nics_profile": "" + } + } + ], + "_comment_hw": " Hardware Information is complete", + "storage_profile": [ + { + "name": "", + "bootdrive": "", + "bd_partitions": [ + { + "name": "", + "size": "", + "bootable": "", + "filesystem": { + "mountpoint": "", + "fstype": "", + "mount_options": "" + } + } + ], + "data_devices": [ + { + "name": "", + "partitions": [ + { + "name": "ceph", + "size": "available", + "filesystem": { + "mountpoint": "/var/lib/ceph", + "fstype": "ext4", + "mount_options": "defaults" + } + } + ] + } + ], + "journal_devices": [ + { + "name": "" + } + ] + } + ], + "_comment_nw1": "Network Info, Please include IPMI & Physnets info too", + "networks": [ + { + "name": "", + "vips": [ + { + "name": "", + "ip": "" + } + ], + "tunnel_type": "", + "tunnel_id": "", + "tunnel_id_range": "", + "mtu": "", + "routedomain": "", + "cidr": "", + "dns": "", + "routes": [ + { + "subnet": "", + "gateway": "", + "metric": "", + "routedomain": "" + } + ], + "allocation_pools": [ + { + "type": "", + "start": "", + "end": "" + } + ], + "v6_cidr": "", + "v6_allocation_pools": [ + { + "type": "", + "start": "", + "end": "" + } + ] + } + ], + "_comment_nw_2": "These are specific to Infrastructure manager", + "physical_networks": [ + { + "name": "external", + "cidr": "", + "type": "flat" + } + ], + "_comment_nw3": " type: trunk (airship), bond, interface, bridge", + "network_link": [ + { + "name": "", + "type": "", + "bonding_mode": "", + "mtu": "", + "linkspeed": "auto", + "trunking_mode": "", + "trunking_default_nw": "", + "metadata": [ + { + "key": "", + "value": "" + } + ], + "members": [ + { + "name": "", + "type": "" + } + ], + "vid": "", + "vf_count": "" + } + ], + "_comment_nw4": "The link_name could be i/f, bond, bridges", + "_comment_nw5": "These profiles are mapped to roles", + "link_nw_mapping_profiles": [ + { + "profile_name": "", + "profile_data": [ + { + "link_name": "", + "link_type": "", + "networks": [ + { + "name": "" + } + ], + "use_dhcp": "" + } + ] + } + ], + "platform_profiles": [ + { + "profile_name": "", + "os": "", + "rt_kvm": "", + "kernel_version": "", + "kernel_parameters": "", + "isolated_cpus": "", + "vnf_cores": "", + "os_reserved_cores": " ", + "hugepage_count": "", + "hugepages": [ + { + "hugepage_count": "", + "hugepage_size": "" + } + ], + "iommu": "", + "vswitch_daemon_cores": " ", + "vswitch_type": "", + "vswitch_uio_driver": "", + "vswitch_mem_channels": "", + "vswitch_socket_memory": "", + "vswitch_pmd_cores": "", + "vswitch_dpdk_lcores": "", + "vswitch_dpdk_rxqs": "", + "vswitch_options": "" + } + ], + "undercloud_ook": { + "dns": { + "cluster_domain": "", + "service_ip": "" + }, + "etcd": { + "service_ip": "", + "container_port": "", + "haproxy_port": "" + }, + "masters": [ + { + "hostname": "" + } + ], + "networking": { + "type": "", + "interface_used": "", + "api_service_ip": "", + "etcd_service_ip": "", + "pod_cidr": "", + "service_cidr": "", + "apiserver_port": "", + "haproxy_port": "", + "servicenode_port_range": "" + }, + "kvps": [ + { + "key": "", + "value": "" + } + ] + }, + "undercloud_ooo": { + "host_name": "", + "local_ip": "", + "public_host": "", + "admin_host": "", + "local_interface": "", + "inspection_interface": "", + "networking": { + "ctrlplane_cidr": "", + "ctrlplane_ip_start": "", + "ctrlplane_ip_end": "", + "inspection_range": "", + "gateway": "" + } + }, + "switch_topology": [ + { + "top_id": "", + "top_name": "", + "vertices": [ + { + "vertex_id": "", + "node1_id": "", + "node1_port": "", + "node2_id": "", + "node2_port": "", + "vertex_type": "" + } + ] + } + ], + "_comment_sw1": "Software Begins", + "undercloud_sw_profiles": [ + { + "profile_name": "", + "sw_list": [ + { + "name": "", + "version": "" + } + ] + } + ], + "openstack_sw_profiles": [ + { + "profile_name": "", + "sw_list": [ + { + "name": "", + "version": "" + } + ] + } + ], + "infra_sw_profiles": [ + { + "profile_name": "", + "sw_list": [ + { + "name": "", + "version": "" + } + ] + } + ], + "software_set": [ + { + "set_name": "", + "undercloud_profile": "", + "infrasw_profile": "", + "openstack_profile": "" + } + ], + "_comment_role1": "User has to configure this - What profile to use for a role", + "_comment_role2": "Based on this server_info will be autogenerated for all servers", + "roles": [ + { + "name": "", + "hostname_prefix": "", + "hostname_suffix": "", + "hostname_number_start": "", + "count": "", + "hardware_profile": "", + "interface_mapping": "", + "storage_mapping": "", + "platform_profile": "", + "sw_set_name": "", + "metadata": [ + { + "on_count_condition": "", + "count": "", + "key": "", + "value": "" + } + ] + } + ], + "_comment_ex1": "C:City, A:Area, R:Room, N:Unique Number", + "_comment_ex2": "All are 2 characters. City-Capitals, Area-Small", + "extrapolation_info": { + "ilo_password": "CID-AID-RID-NID", + "ilo_user": "owner", + "ip_increment": "" + }, + "host_aggregates": [ + { + "aggregate_name": "", + "properties": [ + { + "key": "", + "value": "" + } + ], + "servers": [ + { + "identifier": "", + "ilo_ip": "", + "hostname": "" + } + ] + } + ], + "_comment_servers1": "This will be auto generated", + "_comment_servers2": "This describes the entire cloud.", + "servers": [ + { + "role_name": "", + "device_name": "", + "az_name": " ", + "ha_name": " ", + "rack": "", + "ilo_info": { + "ip": "", + "user": "", + "password": "" + }, + "service_info": { + "service_ip": "" + } + } + ] +}
\ No newline at end of file |