{"id":23478386,"url":"https://github.com/opennms/ova-deployer","last_synced_at":"2025-04-13T17:00:14.354Z","repository":{"id":42074916,"uuid":"345788351","full_name":"OpenNMS/ova-deployer","owner":"OpenNMS","description":"A utility to deploy a OVA to a VMware vCenter based deployment","archived":false,"fork":false,"pushed_at":"2022-09-20T13:43:47.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-16T08:13:13.886Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenNMS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-08T20:39:02.000Z","updated_at":"2022-04-13T20:35:51.000Z","dependencies_parsed_at":"2023-01-18T12:01:11.995Z","dependency_job_id":null,"html_url":"https://github.com/OpenNMS/ova-deployer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNMS%2Fova-deployer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNMS%2Fova-deployer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNMS%2Fova-deployer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNMS%2Fova-deployer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenNMS","download_url":"https://codeload.github.com/OpenNMS/ova-deployer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248750078,"owners_count":21155685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-24T19:19:10.673Z","updated_at":"2025-04-13T17:00:14.333Z","avatar_url":"https://github.com/OpenNMS.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenNMS Appliance Deployer Script\n\n## Deploy the OpenNMS appliance to VMware (vCenter)\nThe Python script `ova_deployer.py` deploys an OpenNMS virtual appliance to a VMware vCenter based deployment.\n\n### Dependencies\n- VMware's `ovftool` - https://developer.vmware.com/tool/ovf\n- Python 3.6+\n- The appliance image: a `.ova` file, to be downloaded from the OpenNMS cloud portal.\n- The appliance configuration: a `.json` file, to be downloaded from the OpenNMS cloud portal.\n\n### Usage\n1. Either add `ovftool` to `$PATH` - or set environment variable `$OVF_TOOL_ENV`.\n2. Update the application configuration `.json` with any additional configuration, such as NTP server, static IPs, proxies, etc.\n   1. Any IP addresses defined in the application configuration must conform to [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)\n3. Run the script, providing the path to the OVA image, application configuration, vCenter datastore, vCenter network and VI locator.\n4. Enter the vCenter username and password when prompted.\n\n```\nova_deployer.py [-h] -c path -ds DATASTORE -nw NETWORK [-n NAME] [-v] [-t] [-i] image locator\n\nUtility to deploy the OpenNMS appliance to a VMWare vCenter based deployment. Leverages 'ovftool'; which must be defined in environment variable OVF_TOOL_ENV or set in PATH.\n\npositional arguments:\n  image                 Path to the appliance image\n  locator               Target URL locator which specifies either a location in the vCenter inventory or on an ESX Server.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -c path, --config path\n                        Path to the appliance configuration file\n  -ds DATASTORE, --datastore DATASTORE\n                        Target datastore name for the appliance\n  -nw NETWORK, --network NETWORK\n                        Target network for the appliance\n  -n NAME, --name NAME  Name for the appliance\n  -v, --verbose         Enable verbose logging\n  -t, --thin            Use thin disk provisioning instead of thick\n  -i, --insecure        Disable SSL verification\n  -f, --folder          Deploy the VM in a specific folder within VCenter\n```\n\n### Examples\nDeploys the `vm-img-uc20.ova` appliance image to the `prod-datastore` on the `prod-network` network to the vCenter at 192.168.2.120, host 192.168.2.5\n`python3 ova_deployer.py -c virtual-device-5a1d14c4-cc4c-4fbd-b635-cde736c99d49.json -ds prod-datastore -nw prod-network vm-img-uc20.ova vi://192.168.2.120/Datacenter/host/192.168.2.5`\n\nSame as above, but using a custom appliance name, and with thin disk provisioning\n`python3 ova_deployer.py -c virtual-device-5a1d14c4-cc4c-4fbd-b635-cde736c99d49.json -ds prod-datastore -nw prod-network --name 'Store #1291 Appliance' --thin vm-img-uc20.ova vi://192.168.2.120/Datacenter/host/192.168.2.5`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopennms%2Fova-deployer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopennms%2Fova-deployer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopennms%2Fova-deployer/lists"}