2016-02-02 01:19:57 -06:00
|
|
|
..
|
|
|
|
Copyright 2014-2015 OpenStack Foundation
|
|
|
|
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.
|
|
|
|
|
|
|
|
===============
|
|
|
|
Getting Started
|
|
|
|
===============
|
|
|
|
|
2016-05-10 11:57:53 +05:30
|
|
|
Once tacker is installed successfully, follow the steps given below to get
|
|
|
|
started with tacker and validate the installation.
|
2016-02-02 01:19:57 -06:00
|
|
|
|
|
|
|
i). Create a sample-vnfd.yml file with the following content:
|
|
|
|
|
|
|
|
.. code-block:: ini
|
|
|
|
|
|
|
|
template_name: sample-vnfd
|
|
|
|
description: demo-example
|
|
|
|
|
|
|
|
service_properties:
|
|
|
|
Id: sample-vnfd
|
|
|
|
vendor: tacker
|
|
|
|
version: 1
|
|
|
|
|
|
|
|
vdus:
|
2016-02-26 09:59:05 +08:00
|
|
|
vdu1:
|
2016-02-02 01:19:57 -06:00
|
|
|
id: vdu1
|
|
|
|
vm_image: <IMAGE>
|
|
|
|
instance_type: <FLAVOR>
|
|
|
|
|
|
|
|
network_interfaces:
|
|
|
|
management:
|
|
|
|
network: <NETWORK_ID>
|
|
|
|
management: true
|
|
|
|
|
|
|
|
placement_policy:
|
|
|
|
availability_zone: nova
|
|
|
|
|
|
|
|
auto-scaling: noop
|
|
|
|
|
|
|
|
config:
|
|
|
|
param0: key0
|
|
|
|
param1: key1
|
|
|
|
..
|
|
|
|
|
|
|
|
ii). Create a sample vnfd.
|
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
2016-08-11 05:34:57 -04:00
|
|
|
tacker vnfd-create --vnfd-file sample-vnfd.yml <NAME>
|
2016-02-02 01:19:57 -06:00
|
|
|
..
|
|
|
|
|
|
|
|
iii). Create a VNF.
|
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
2016-08-11 05:34:57 -04:00
|
|
|
tacker vnf-create --vnfd-id <VNFD_ID> <NAME>
|
2016-02-02 01:19:57 -06:00
|
|
|
..
|
|
|
|
|
|
|
|
iv). Check the status.
|
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
tacker vnf-list
|
|
|
|
tacker vnf-show <VNF_ID>
|
|
|
|
..
|