Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
workloadmgr / input-files / migration-options.json.schema
Size: Mime:
{
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#", 
    "$id": "https://example.com/object1687588709.json", 
    "title": "Root", 
    "type": "object",
    "required": [
        "target",
        "migration_type",
        "openstack"
    ],
    "properties": {
        "target": {
            "$id": "#root/target", 
            "title": "Target", 
            "type": "string",
            "default": "",
            "examples": [
                "openstack"
            ],
            "pattern": "^.*$"
        },
        "migration_type": {
            "$id": "#root/migration_type", 
            "title": "Migration_type", 
            "type": "string",
            "default": "",
            "examples": [
                "warm"
            ],
            "pattern": "^.*$"
        },
        "power_off_vm_post_migrate": {
            "$id": "#root/power_off_vm_post_migrate",
            "title": "Power_off_vm_post_migrate",
            "type": "boolean",
            "examples": [
                false
            ],
            "default": true
        },
        "openstack": {
            "$id": "#root/openstack", 
            "title": "Openstack", 
            "type": "object",
            "required": [
                "instances",
                "networks_mapping",
                "storage_mapping"
            ],
            "properties": {
                "instances": {
                    "$id": "#root/openstack/instances", 
                    "title": "Instances", 
                    "type": "array",
                    "default": [],
                    "items":{
                        "$id": "#root/openstack/instances/items", 
                        "title": "Items", 
                        "type": "object",
                        "required": [
                            "id",
                            "name",
                            "include",
                            "power",
                            "use_cinder_boot_volume",
                            "image_source",
                            "flavor",
                            "nics"
                        ],
                        "properties": {
                            "id": {
                                "$id": "#root/openstack/instances/items/id", 
                                "title": "Id", 
                                "type": "string",
                                "default": "",
                                "examples": [
                                    "6da5223d-6865-4c76-8551-e52f03dcca19"
                                ],
                                "pattern": "^.*$"
                            },
                            "name": {
                                "$id": "#root/openstack/instances/items/name", 
                                "title": "Name", 
                                "type": "string",
                                "default": "",
                                "examples": [
                                    "migrated"
                                ],
                                "pattern": "^.*$"
                            },
                            "include": {
                                "$id": "#root/openstack/instances/items/include", 
                                "title": "Include", 
                                "type": "boolean",
                                "examples": [
                                    true
                                ],
                                "default": true
                            },
                            "power": {
                                "$id": "#root/openstack/instances/items/power", 
                                "title": "Power", 
                                "type": "object",
                                "required": [
                                    "sequence"
                                ],
                                "properties": {
                                    "sequence": {
                                        "$id": "#root/openstack/instances/items/power/sequence", 
                                        "title": "Sequence", 
                                        "type": "integer",
                                        "examples": [
                                            1
                                        ],
                                        "default": 0
                                    }
                                }
                            }
,
                            "use_cinder_boot_volume": {
                                "$id": "#root/openstack/instances/items/use_cinder_boot_volume", 
                                "title": "Use_cinder_boot_volume", 
                                "type": "boolean",
                                "examples": [
                                    true
                                ],
                                "default": true
                            },
                            "image_source": {
                                "$id": "#root/openstack/instances/items/image_source", 
                                "title": "Image_source", 
                                "type": "string",
                                "default": "",
                                "examples": [
                                    "6da5223d-6865-4c76-8551-e52f03dcca19"
                                ],
                                "pattern": "^.*$"
                            },
                            "flavor": {
                                "$id": "#root/openstack/instances/items/flavor", 
                                "title": "Flavor", 
                                "type": "object",
                                "required": [
                                    "vcpus",
                                    "ram",
                                    "disk",
                                    "ephemeral",
                                    "swap"
                                ],
                                "properties": {
                                    "vcpus": {
                                        "$id": "#root/openstack/instances/items/flavor/vcpus", 
                                        "title": "Vcpus", 
                                        "type": "integer",
                                        "examples": [
                                            1
                                        ],
                                        "default": 0
                                    },
                                    "ram": {
                                        "$id": "#root/openstack/instances/items/flavor/ram", 
                                        "title": "Ram", 
                                        "type": "integer",
                                        "examples": [
                                            8
                                        ],
                                        "default": 0
                                    },
                                    "disk": {
                                        "$id": "#root/openstack/instances/items/flavor/disk", 
                                        "title": "Disk", 
                                        "type": "integer",
                                        "examples": [
                                            20
                                        ],
                                        "default": 0
                                    },
                                    "ephemeral": {
                                        "$id": "#root/openstack/instances/items/flavor/ephemeral", 
                                        "title": "Ephemeral", 
                                        "type": "boolean",
                                        "examples": [
                                            true
                                        ],
                                        "default": true
                                    },
                                    "swap": {
                                        "$id": "#root/openstack/instances/items/flavor/swap", 
                                        "title": "Swap", 
                                        "type": "integer",
                                        "examples": [
                                            8
                                        ],
                                        "default": 0
                                    }
                                }
                            }
,
                            "nics": {
                                "$id": "#root/openstack/instances/items/nics", 
                                "title": "Nics", 
                                "type": "array",
                                "default": [],
                                "items":{
                                    "$id": "#root/openstack/instances/items/nics/items", 
                                    "title": "Items", 
                                    "type": "object",
                                    "required": [
                                        "mac_address",
                                        "network"
                                    ],
                                    "properties": {
                                        "mac_address": {
                                            "$id": "#root/openstack/instances/items/nics/items/mac_address", 
                                            "title": "Mac_address", 
                                            "type": "string",
                                            "default": "",
                                            "examples": [
                                                "fa:16:3e:3b:e8:dc"
                                            ],
                                            "pattern": "^.*$"
                                        },
                                        "network": {
                                            "$id": "#root/openstack/instances/items/nics/items/network", 
                                            "title": "Network", 
                                            "type": "object",
                                            "required": [
                                                "id",
                                                "subnet"
                                            ],
                                            "properties": {
                                                "id": {
                                                    "$id": "#root/openstack/instances/items/nics/items/network/id", 
                                                    "title": "Id", 
                                                    "type": "string",
                                                    "default": "",
                                                    "examples": [
                                                        "ab6a7f2e-c72b-4c8a-a5c2-ddda28973107"
                                                    ],
                                                    "pattern": "^.*$"
                                                },
                                                "subnet": {
                                                    "$id": "#root/openstack/instances/items/nics/items/network/subnet", 
                                                    "title": "Subnet", 
                                                    "type": "object",
                                                    "required": [
                                                        "id"
                                                    ],
                                                    "properties": {
                                                        "id": {
                                                            "$id": "#root/openstack/instances/items/nics/items/network/subnet/id", 
                                                            "title": "Id", 
                                                            "type": "string",
                                                            "default": "",
                                                            "examples": [
                                                                "bf4efb22-a40f-4a29-a830-a3ed899c7560"
                                                            ],
                                                            "pattern": "^.*$"
                                                        }
                                                    }
                                                }

                                            }
                                        }

                                    }
                                }

                            }
                        }
                    }

                },
                "networks_mapping": {
                    "$id": "#root/openstack/networks_mapping", 
                    "title": "Networks_mapping", 
                    "type": "object",
                    "required": [
                        "private"
                    ],
                    "properties": {
                        "private": {
                            "$id": "#root/openstack/networks_mapping/private", 
                            "title": "Private", 
                            "type": "array",
                            "default": [],
                            "items":{
                                "$id": "#root/openstack/networks_mapping/private/items", 
                                "title": "Items", 
                                "type": "object",
                                "required": [
                                    "vmware_network",
                                    "target_network"
                                ],
                                "properties": {
                                    "vmware_network": {
                                        "$id": "#root/openstack/networks_mapping/private/items/vmware_network", 
                                        "title": "Vmware_network", 
                                        "type": "object",
                                        "required": [
                                            "id",
                                            "subnet"
                                        ],
                                        "properties": {
                                            "id": {
                                                "$id": "#root/openstack/networks_mapping/private/items/vmware_network/id", 
                                                "title": "Id", 
                                                "type": "string",
                                                "default": "",
                                                "examples": [
                                                    "d9bd4be8-2488-4bdd-8c01-e05e576228a8"
                                                ],
                                                "pattern": "^.*$"
                                            },
                                            "subnet": {
                                                "$id": "#root/openstack/networks_mapping/private/items/vmware_network/subnet", 
                                                "title": "Subnet", 
                                                "type": "object",
                                                "required": [
                                                    "id"
                                                ],
                                                "properties": {
                                                    "id": {
                                                        "$id": "#root/openstack/networks_mapping/private/items/vmware_network/subnet/id", 
                                                        "title": "Id", 
                                                        "type": "string",
                                                        "default": "",
                                                        "examples": [
                                                            "9cd0b99f-6553-4707-8910-3fe345377a96"
                                                        ],
                                                        "pattern": "^.*$"
                                                    }
                                                }
                                            }

                                        }
                                    }
,
                                    "target_network": {
                                        "$id": "#root/openstack/networks_mapping/private/items/target_network", 
                                        "title": "Target_network", 
                                        "type": "object",
                                        "required": [
                                            "id",
                                            "subnet"
                                        ],
                                        "properties": {
                                            "id": {
                                                "$id": "#root/openstack/networks_mapping/private/items/target_network/id", 
                                                "title": "Id", 
                                                "type": "string",
                                                "default": "",
                                                "examples": [
                                                    "ab6a7f2e-c72b-4c8a-a5c2-ddda28973107"
                                                ],
                                                "pattern": "^.*$"
                                            },
                                            "subnet": {
                                                "$id": "#root/openstack/networks_mapping/private/items/target_network/subnet", 
                                                "title": "Subnet", 
                                                "type": "object",
                                                "required": [
                                                    "id"
                                                ],
                                                "properties": {
                                                    "id": {
                                                        "$id": "#root/openstack/networks_mapping/private/items/target_network/subnet/id", 
                                                        "title": "Id", 
                                                        "type": "string",
                                                        "default": "",
                                                        "examples": [
                                                            "bf4efb22-a40f-4a29-a830-a3ed899c7560"
                                                        ],
                                                        "pattern": "^.*$"
                                                    }
                                                }
                                            }

                                        }
                                    }

                                }
                            }

                        }
                    }
                }
,
                "storage_mapping": {
                    "$id": "#root/openstack/storage_mapping", 
                    "title": "Storage_mapping", 
                    "type": "array",
                    "default": [],
                    "items":{
                        "$id": "#root/openstack/storage_mapping/items", 
                        "title": "Items", 
                        "type": "object",
                        "required": [
                            "VMware_datastore1",
                            "storage_type1"
                        ],
                        "properties": {
                            "VMware_datastore1": {
                                "$id": "#root/openstack/storage_mapping/items/VMware_datastore1", 
                                "title": "Vmware_datastore1", 
                                "type": "object",
                                "required": [
                                    "name"
                                ],
                                "properties": {
                                    "name": {
                                        "$id": "#root/openstack/storage_mapping/items/VMware_datastore1/name", 
                                        "title": "Name", 
                                        "type": "string",
                                        "default": "",
                                        "examples": [
                                            "datastore1"
                                        ],
                                        "pattern": "^.*$"
                                    }
                                }
                            }
,
                            "storage_type1": {
                                "$id": "#root/openstack/storage_mapping/items/storage_type1", 
                                "title": "Storage_type1", 
                                "type": "object",
                                "required": [
                                    "name"
                                ],
                                "properties": {
                                    "name": {
                                        "$id": "#root/openstack/storage_mapping/items/storage_type1/name", 
                                        "title": "Name", 
                                        "type": "string",
                                        "default": "",
                                        "examples": [
                                            "type1"
                                        ],
                                        "pattern": "^.*$"
                                    }
                                }
                            }

                        }
                    }

                }
            }
        }

    }
}