From 979a1c07c7e9caf05a8aad128275bd80b20ce5e7 Mon Sep 17 00:00:00 2001 From: venkatamahesh Date: Tue, 8 Nov 2016 18:09:59 +0530 Subject: [PATCH] Small correction in glance cli of openwrt document In this patch I have added --visibility option in glance image-create command. without this it is creating with private. And then if we use it for creating VNF, it is throwing error "Image not found". And also I have added openstack cli Change-Id: I870dabfe88f3d9bc2b0d067d79581941fd13d2e2 --- doc/source/install/deploy_openwrt.rst | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/doc/source/install/deploy_openwrt.rst b/doc/source/install/deploy_openwrt.rst index 09b1daf99..ba07cee27 100644 --- a/doc/source/install/deploy_openwrt.rst +++ b/doc/source/install/deploy_openwrt.rst @@ -27,15 +27,28 @@ to add OpenWRT image to Glance while installing via devstack. By running the image from `OpenWRT official site `_. -And upload this image into Glance by using the command below: +And upload this image into Glance by using either of the commands below: + +Using glance cli: .. code-block:: console - glance image-create --name OpenWRT \ - --disk-format qcow2 \ - --container-format bare \ - --progress < openwrt-x86-kvm_guest-combined-ext4.img + glance image-create --name OpenWRT \ + --disk-format qcow2 \ + --container-format bare \ + --progress \ + --file /path_to_image/openwrt-x86-kvm_guest-combined-ext4.img \ + --visibility public +.. +OR, using OpenStack cli: + +.. code-block:: console + + openstack image create OpenWRT --disk-format qcow2 \ + --container-format bare \ + --file /path_to_image/openwrt-x86-kvm_guest-combined-ext4.img \ + --visibility public .. 2. Create a yaml template named tosca-vnfd-openwrt-with-firewall-rules.yaml