X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tools%2FOVF_converter%2FUsage.txt;fp=tools%2FOVF_converter%2FUsage.txt;h=67671b110952192211342b1dce02a36b10d5519c;hb=c6b00f0466ffe9141d9b933fa131780247af8583;hp=0000000000000000000000000000000000000000;hpb=c33cdc3359627245f605fbc1ab0084e03f30837c;p=osm%2Fdevops.git diff --git a/tools/OVF_converter/Usage.txt b/tools/OVF_converter/Usage.txt new file mode 100644 index 00000000..67671b11 --- /dev/null +++ b/tools/OVF_converter/Usage.txt @@ -0,0 +1,61 @@ +## +# Copyright 2016-2019 VMware Inc. +# This file is part of ETSI OSM +# All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +# For those usages not covered by the Apache License, Version 2.0 please +# contact: osslegalrouting@vmware.com +## + +The following two tools are provided to help simplify VMware based image +management: + +o ovf_converter - converts libvirt .qcow2 files to VMware .vmdk format. +o ovf_uploader - uploads .ovf and .vmdk files to vCD, similar to + openstack image upload command. + +OVF Converter Usage +=================== + +This utility can be used for both VMware Integrated Openstack (VIO) or +vCloud Director (vCD). It converts libvirt images, such as files that end +in .qcow2 or .img to VMware .vmdk format. Both an .ovf and .vmdk file are +created and can be used as needed. + +OVF Uploader Usage +================== + +This utility is only used for vCD, as there is no equivalent CLI that provides +the ability to upload images into vCD. It takes the output OVF from the +converter and uploads both it and the VMDK file to the vCD catalog. + +Examples: +========= + +o Upload a CentOS .qcow2 file to VIO + + $ ovf_converter CentOS-7-x86_64-GenericCloud.qcow2 + $ openstack image create --public \ + --file CentOS-7-x86_64-GenericCloud.vmdk \ + --disk-format vmdk CentOS-7 + +o Upload a CentOS .qcow2 file to vCD + + $ ovf_converter CentOS-7-x86_64-GenericCloud.qcow2 + $ ovf_uploader -u orgadmin -p password -o osm -l https://vcd \ + CentOS-7-x86_64-GenericCloud.ovf + +Both commands suport -h to display help options. +