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
This commit is contained in:
venkatamahesh
2016-11-08 18:09:59 +05:30
parent 6f5927b674
commit 979a1c07c7

View File

@@ -27,15 +27,28 @@ to add OpenWRT image to Glance while installing via devstack. By running
the image from
`OpenWRT official site
<https://downloads.openwrt.org/chaos_calmer/15.05.1/x86/generic/>`_.
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