blob: ab83e8942d1158a113613171e07858f8757504c2 [file] [log] [blame]
Scott Seabolt180b8ce2018-03-09 15:33:13 -05001.. ============LICENSE_START==========================================
2.. ===================================================================
3.. Copyright © 2018 AT&T Intellectual Property. All rights reserved.
4.. ===================================================================
5.. Licensed under the Creative Commons License, Attribution 4.0 Intl. (the "License");
6.. you may not use this documentation except in compliance with the License.
7.. You may obtain a copy of the License at
8..
9.. https://creativecommons.org/licenses/by/4.0/
10..
11.. Unless required by applicable law or agreed to in writing, software
12.. distributed under the License is distributed on an "AS IS" BASIS,
13.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14.. See the License for the specific language governing permissions and
15.. limitations under the License.
16.. ============LICENSE_END============================================
17.. ECOMP is a trademark and service mark of AT&T Intellectual Property.
18
19.. _appc_cdt_guide:
20
21===================
22APPC CDT User Guide
23===================
24
25Introduction
26============
27
28This document is the APPC Controller Design Tool (CDT) User Guide for self-service
29onboarding of VNFs. VNF owners can create templates and other artifacts
30for APPC Configure command (used to apply a post-instantiation
31configuration) as well as other life cycle commands.
32
33A complete list of all APPC supported commands is contained in the
34APPC LCM API Guide available on onap.readthedocs.io.
35
36Overview of APPC Support for VNF Configuration and Lifecycle Commands
37======================================================================
38
39APPC is an ONAP component that performs functions to manage the
40lifecycle of VNFs and their component. The picture below summarizes the
41APP-C design intent.
42
43|image0|
44
45Some lifecycle commands are supported on any VNF type, such as commands
46executed using OpenStack or for generic REST calls such as for
47HealthCheck. Other commands require models called templates to be
48created in the APPC Controller Design Tool(CDT) by the VNF owner.
49
50Templates are needed for lifecycle commands such as for
51post-instantiation configuration and for passing payloads to a Chef or
52Ansible server. Templates contain static and instance-specific
53parameters in a structured language (currently limited to xml and JSON).
54The APPC CDT allows a VNF technology owner to identify the
55instance specific parameters with a unique name.
56
57At run time, the instance specific parameter values are populated in the
58template to replace the parameter name.
59
60|image1|
61
62|image2|
63
64|image3|
65
66Overview of the Onboarding Process
67==================================
68
69Pre-Requisites for Onboarding:
70------------------------------
71
72- The VNF must support the below listed device protocols along with OpenStack for VM-level commands:
73 - Netconf,
74 - Chef,
75 - Ansible,
76 - REST - The REST protocol is used for REST interfaces to a VNF. Currently, the only action that can use REST is HealthCheck.
77 - RESTCONF - The RESTCONF protocal is used only for VNFs that support Netconf and are able to be mounted in OpenDayLight (ODL). Use the protocal NETCONF-XML if the VNF is not ODL mountable.
78
79- In order to build the templates needed for lifecycle commands, the
80 VNF owner will be asked to upload either an xml file (for Netconf) or
81 a JSON file (for Chef or Ansible). This file contains the parameter
82 values in a valid schema that would be sent to either the VNF or the
83 Chef/Ansible server to execute the action. For more detail on
84 Netconf, Chef, or Ansible, see the ONAP vendor guidelines at:
85
86 https://wiki.onap.org/pages/viewpage.action?pageId=1015852&preview=/1015849/1017888/VNF%20Management%20Requirements%20for%20OpenECOMP.pdf
87
88- The VNF related key identifiers (vnf-type, vnfc-type,
89 vnfc-function-code) that will be stored in A&AI have been defined.
90
91Onboarding Process Steps:
92-------------------------
93
941. Use the APPC CDT GUI to populate **reference data**
95 describing the VNF and action to be onboarded.
96
97 - Select the VNF, action, and protocol to be on-boarded.
98
99 - Describe the VM/VNFC components that comprise the VNFs. APPC
100 will use this VM/VNFC data to update A&AI when configuring the VNF
101 at run time.
102
1032. Create a **template** from a golden configuration file.
104
105 - Upload a golden configuration file (described later) into the APPC CDT GUI.
106
107 - Manually edit the configuration file to associate parameter names
108 with instance-specific values you wish to parameterize (e.g., IP addresses).
109
110 - This creates a template file, which will be used at run-time to
111 create the payload that APPC sends to the VNF or to Ansible/Chef.
112
113 - Alternative: If the golden configuration changes, rather than
114 manually re-creating an updated template, you can *automatically*
115 create an updated template by **Merging** a current parameter
116 name-value pairs file with the new configuration file. APPC will
117 scan the new configuration file, and automatically replace values
118 with parameter names.
119
1203. Create a **parameter definition** file describing instance-specific
121 parameters in the template.
122
123 - Once you have a template, use the **Synchronize** button to
124 automatically create/update a parameter definition file (and a
125 parameter name-value pair file) based on the template.
126
127 - You can then populate/update the fields describing each parameter.
128
129 - If the parameters will be populated from external systems (such as INSTAR), you can upload
130 a key file that automatically populates key fields used to retrieve
131 data from the external system.
132
133 - If the parameters will be populated from A&AI, you can select the
134 rules and key fields used to retrieve data from A&AI.
135
136 - The parameter definition file will be used at run time to
137 automatically obtain parameter values from external system, A&AI, or a user
138 input spreadsheet for insertion into the template.
139
1404. Create a **parameter name-value pair file** for those parameters.
141
142 - Once you have a template, use the **Synchronize** button to
143 automatically create a parameter name-value pair file (and a
144 parameter definition file) based on the template.
145
146 - The parameter name-value file serves as a guide for populating
147 instance-specific data into the user input spreadsheet used at run
148 time. The parameter name-value file can also be used to automatically
149 create a template via the **Merge** function as described in step 2.
150
1515. **Test** the template in your test environment using the **TEST** function of APPC CDT
152
153 - Use the **Save to APP-C** button in the CDT GUI to save the
154 artifacts for your VNF to APPC.
155
156 - Prepare a user input excel file on your PC and upload it to the
157 **TEST** function in the APPC CDT.
158
159 - Use the **TEST** function in the APPC CDT to execute the on-boarded action on the VNF. Verify the VNF works as expected.
160
161 **NOTE** The **TEST** function is currently being developed as part of Beijing release and screen shots in this document are not yet updated to show this new function yet.
162
163The screen shots in following sections illustrate how to use the APPC CDT GUI for each step.
164
165Artifacts used for Onboarding:
166------------------------------
167
168For a given VNF, each action must be on-boarded separately. Actions can
169be on-boarded in any order; it is not required that Configure be the first action onboarded.
170
171You will create 1 Reference Data file for each VNF, and a set of up to 3
172files for each action you are onboarding:
173
174 1. Template
175 2. Parameter definition file (pd\_configure)
176 3. Parameter name-value pair file (param\_configure)
177
178For example, onboarding the vABC VNF for 2 actions (Configure and
179ConfigModify) may result in these 7 files:
180
181 1. reference\_AllAction\_vABC\_0.0.1V
182 2. template\_Configure\_vABC\_0.0.1V
183 3. pd\_Configure\_vABC\_0.0.1V
184 4. param\_Configure\_vABC\_0.0.1V
185 5. template\_ConfigModify\_vABC\_0.0.1V
186 6. pd\_ConfigModify\_vABC\_0.0.1V
187 7. param\_ConfigModify\_vABC\_0.0.1V
188
189A **Template** is required for the Ansible, Chef and Netconf protocols.
190
191The **Parameter Definition** and **Parameter Name-Value Pair** artifacts
192are typically used with the Configure and ConfigModify templates and are
193optional for templates of other actions.
194
195OpenStack and REST protocols do not use a template or parameter
196definitions or name-value pairs.
197
198Using the APPC Design Tool for VNF Onboarding
199=============================================
200
201Go to the APPC CDT GUI in the test environment using a Firefox browser.
202
203http://<server>:8080/config-design-tool/index.html#/home
204
205|image4|
206
207Clicking on About Us will display the current software version and who to contact for support. The contact information is configurable. What is display in diagram is just an example.
208
209|image5|
210
211Choose My VNFs”.
212
213If you have not used APPC CDT previously, you will be asked to
214enter your user id. Your work will be stored under this user id. There
215is no password required at this time.
216
217Note: If multiple self-service users will be working on a set of VNFs,
218it is suggested that you enter a group\_name rather than your user\_id.
219This group name would be used by all users in the group so that all
220users can view/edit the same set of artifacts.
221
222If you have previously used APPC CDT, you user id will
223automatically be selected.
224
225|image6|
226
227The My VNFs GUI displays a list of the vnf-type/vnfc-types which are
228stored under your userid in the APPC database. You can choose either
229Create New VNF or View/Edit for one of your existing VNFs.
230
231|image7|
232
233If you have not created any VNF artifacts in the current release of the
234APPC CDT, you will see a screen like this; click Create new
235VNF to begin.
236
237VNF artifacts created using earlier versions of the APPC CDT
238can be uploaded and then edited/saved, as shown on later screens. You
239should not have to re-create these VNF artifacts.
240
241|image8|
242
243If you choose to create a new VNF, you will see a pop-up box like this.
244
245|image9|
246
247Enter the VNF Type (and optional VNFC Type) and click next.
248
249Alternatively, you can leave the VNF type blank and choose PROCEED
250ANYWAY if you want to proceed to the Reference Data screen where you
251can populate the VNF reference data by uploading an existing Reference
252File or by manually entering it.
253
254You must populate the VNF field if uploading the existing file does not
255populate it.
256
257Populate reference data describing the VNF and action to be onboarded
258---------------------------------------------------------------------
259
260|image10|
261
262|image11|
263
264|image12|
265
266|image13|
267
268|image14|
269
270Note 1: When downloading your work to APPC; the system will download
271only the artifacts that have been updated in the current session. You
272may not see all 4 artifacts unless you visit/edit the reference,
273template, parameter and parameter definition screens.
274
275Note 2: When downloading files, the system will display a pop-up window
276for each file, but the windows are all placed on top of each other. You
277can drag the pop-up windows if you want to see them all at the same
278time.
279
280|image15|
281
282Populate OpenStack actions for a VM
283~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
284
285You can also onboard OpenStack commands for the VM level components of
286the VNF
287
288Under Action’, select OpenStack Actions and then under Protocol
289select OpenStack”.
290
291You must populate the VNF type if it is not already populated.
292
293|image16|
294
295Next, upload an excel file of VM capabilities for your VNF. The excel
296must list OpenStack actions in the first column, and then have a column
297for each VM type (i.e., VNFC Function Code) showing which actions are
298applicable for that VM type, as shown Excel sample below:
299
300|imageA|
301
302APPC will import the data from the excel and display the results.
303
304|image17|
305
306The Template and Parameter Definition tabs do not apply to OpenStack
307commands.
308
309REFERENCE DATA SCREEN HELP
310
311+--------------------------+------------------------------------------------------------------------------------------------------------------+
312| **Field/Object** | **Description** |
313+==========================+==================================================================================================================+
314| **VNF Reference Data** |
315+--------------------------+------------------------------------------------------------------------------------------------------------------+
316| Action | The action to be executed on the VNF, e.g., CONFIGURE (see table below). |
317+--------------------------+------------------------------------------------------------------------------------------------------------------+
318| VNF Type | The name of the VNF, e.g. vDBE. |
319+--------------------------+------------------------------------------------------------------------------------------------------------------+
320| VNFC Type | NA when describing a VNF; When describing a VNFC, enter the VNFC name e.g.,MSC, SSC, MMC, etc. |
321+--------------------------+------------------------------------------------------------------------------------------------------------------+
322| Device Protocol | Choose desired protocol e.g., NETCONF-XML (see table below). |
323+--------------------------+------------------------------------------------------------------------------------------------------------------+
324| Template | Will there be a template created for this VNF and action? Yes/No. |
325+--------------------------+------------------------------------------------------------------------------------------------------------------+
326| User Name | Enter the user name used to configure the VNF e.g., admin or root”. |
327+--------------------------+------------------------------------------------------------------------------------------------------------------+
328| Port Number | Enter the port number used to configure the VNF, e.g., 22. |
329+--------------------------+------------------------------------------------------------------------------------------------------------------+
330| Context URL | Enter the context portion of the REST URL (Currently used only for the HealthCheck action with REST protocol). |
331+--------------------------+------------------------------------------------------------------------------------------------------------------+
332| **VNFC information** |
333+--------------------------+------------------------------------------------------------------------------------------------------------------+
334| VNFC Type | Enter the VNFC name e.g. MSC, SSC, MMC, etc. |
335+--------------------------+------------------------------------------------------------------------------------------------------------------+
336| VNFC Function Code | Enter the standard 3 character value for the VNFC. |
337+--------------------------+------------------------------------------------------------------------------------------------------------------+
338| IP Address V4 OAM VIP | Select Y to store the O&AM VIP address with the VNFC record; otherwise select N. |
339+--------------------------+------------------------------------------------------------------------------------------------------------------+
340| Group Notation Type | Select the naming scheme for VNFC/VM instances (first-vnfc-name, fixed value, relative value) |
341+--------------------------+------------------------------------------------------------------------------------------------------------------+
342| Group Notation Value | For first-vnfc-name type, enter text such as pair or group”. |
343| | |
344| | For fixed value type, enter any alpha-numeric text 1”, test etc. |
345| | |
346| | For relative value type, enter a number 1”, 2”, 4”, etc |
347+--------------------------+------------------------------------------------------------------------------------------------------------------+
348| Number of VMs | Enter the # of VM’s for this VNFC. |
349+--------------------------+------------------------------------------------------------------------------------------------------------------+
350
351|
352
353This table shows which actions and protocols are currently available for
354on-boarding with the Beijing release.
355
356+----------------------------------------+--------------+---------------+------------+------------+----------------+
357| **Action** | **Netconf/ | **Ansible** | **Chef** | **REST** | **OpenStack |
358| | Restconf** | | | | (VM Level)** |
359+========================================+==============+===============+============+============+================+
360| **AttachVolume** |   |   |   |   | YES |
361+----------------------------------------+--------------+---------------+------------+------------+----------------+
362| **Configure** | YES | YES | YES |   |   |
363+----------------------------------------+--------------+---------------+------------+------------+----------------+
364| **Config Modify** | YES | YES | YES |   |   |
365+----------------------------------------+--------------+---------------+------------+------------+----------------+
366| **Config Backup** |   | YES | YES |   |   |
367+----------------------------------------+--------------+---------------+------------+------------+----------------+
368| **Config Restore** |   | YES | YES |   |   |
369+----------------------------------------+--------------+---------------+------------+------------+----------------+
370| **ConfigScaleOut** | YES   | YES | YES |   |   |
371+----------------------------------------+--------------+---------------+------------+------------+----------------+
372| **DetachVolume** |   |   |   |   | YES |
373+----------------------------------------+--------------+---------------+------------+------------+----------------+
374| **Evacuate** |   |   |   |   | YES |
375+----------------------------------------+--------------+---------------+------------+------------+----------------+
376| **GetRunning Config\*** | YES | YES | YES |   |   |
377+----------------------------------------+--------------+---------------+------------+------------+----------------+
378| **HealthCheck** |   | YES | YES | YES |   |
379+----------------------------------------+--------------+---------------+------------+------------+----------------+
380| **Migrate** |   |   |   |   | YES |
381+----------------------------------------+--------------+---------------+------------+------------+----------------+
382| **QuiesceTraffic** |   | YES | YES |   |   |
383+----------------------------------------+--------------+---------------+------------+------------+----------------+
384| **Rebuild** |   |   |   |   | YES |
385+----------------------------------------+--------------+---------------+------------+------------+----------------+
386| **Restart** |   |   |   |   | YES |
387+----------------------------------------+--------------+---------------+------------+------------+----------------+
388| **ResumeTraffic** |   | YES | YES |   |   |
389+----------------------------------------+--------------+---------------+------------+------------+----------------+
390| **Snapshot** |   |   |   |   | YES |
391+----------------------------------------+--------------+---------------+------------+------------+----------------+
392| **Start** |   |   |   |   | YES |
393+----------------------------------------+--------------+---------------+------------+------------+----------------+
394| **Start Application** |   | YES | YES |   |   |
395+----------------------------------------+--------------+---------------+------------+------------+----------------+
396| **Stop** |   |   |   |   | YES |
397+----------------------------------------+--------------+---------------+------------+------------+----------------+
398| **Stop Application** |   | YES | YES |   |   |
399+----------------------------------------+--------------+---------------+------------+------------+----------------+
400| **UpgradeBackout** |   | YES | YES |   |   |
401+----------------------------------------+--------------+---------------+------------+------------+----------------+
402| **UpgradeBackup** |   | YES | YES |   |   |
403+----------------------------------------+--------------+---------------+------------+------------+----------------+
404| **UpgradePostCheck** |   | YES | YES |   |   |
405+----------------------------------------+--------------+---------------+------------+------------+----------------+
406| **UpgradePreCheck** |   | YES | YES |   |   |
407+----------------------------------------+--------------+---------------+------------+------------+----------------+
408| **UpgradeSoftware** |   | YES | YES |   |   |
409+----------------------------------------+--------------+---------------+------------+------------+----------------+
410
411 \* GetRunningConfig is used internally by APP-C and is not callable by clients via the APP-C API.
412
413
414
415Create a template from a golden configuration file
416----------------------------------------------------
417
418There are several ways to create a template in APPC CDT:
419
420- Start from golden instance config file; manually add parameters
421 (described in this section)
422
423- Start with a template file, manually add more parameters. (described
424 in section Synchronizing a Template)
425
426- Start with config file; create updated template by **merging**
427 name-value pairs. (described in Create a file containing name-value pairs for parameters section)
428
429Start with a working configuration for a golden instance of the VNF
430(xml if Netconf) or the payload to be downloaded to the Chef or Ansible
431server (JSON).
432
433Open the XML or JSON file in Notepad ++ and verify that the format is
434schema compliant. If the xml file is for a post-instantiation
435configuration, then modify the config to include only statements that
436are to be added (merged) with any configuration that is on the VNF
437instance after instantiation. For example, remove statements that might
438change root passwords, etc.
439
440Optionally, add Velocity statements to the file, if desired, to handle
441special constructs such as variable lists, template defined constants,
442conditional statements, etc.
443
444Here are links with more information about the Velocity java-based
445template engine:
446
447 http://velocity.apache.org/engine/2.0/vtl-reference.html
448
449 http://velocity.apache.org/engine/2.0/user-guide.html
450
451This screen shows a sample Golden Configuration file that has been
452uploaded to APP-C CDT.
453
454|image18|
455
456Next, designate instance-specific values as parameters, using this
457procedure:
458
459 1) Highlight the instance-specific value with the cursor
460
461 |image19|
462
463 2) Type CTRL and 4 to insert a parameter name.
464
465 |image20|
466
467 3) Type the parameter name in the parentheses
468
469 |image21|
470
471 4) Type CTRL and S to save the parameter.
472
473 |image22|
474
475Repeat for each instance-specific value that you wish to turn into a
476parameter.
477
478*Summary of editing commands:*
479
480 - CTRL+4 to add a parameter (also saves previous unsaved parameter)
481 - CTRL+S to save a parameter
482 - CTRL+Z to undo the last edit
483
484Notes on naming Parameters:
485
486- Choose meaningful, unique parameter names for each parameter. If the
487 same parameter value appears in multiple places in the config, the
488 parameter name which is assigned to the first instance will be
489 automatically assigned to all instances. However, you may choose a
490 different parameter name for each instance of the parameter value
491 (except when using the MERGE function).
492
493- Use only dash (-) or underline (\_) as separators between words in
494 the name.
495
496- The name should not contain spaces or any other special characters.
497
498- Do not use parameter names which are sub-strings of other parameter
499 names. For example, dont use field1 and field12 as parameter names.
500
501
502Synchronizing a Template
503~~~~~~~~~~~~~~~~~~~~~~~~
504
505Once you have named all the parameters (this example shows 2
506parameters), click the SYNCHRONIZE button to automatically create a
507parameter definition file and a parameter name-value file. The next
508sections describe these files.
509
510It may take a few seconds for the system to SYNCHRONIZE; when it is
511complete, you will be taken to the Parameter Definition screen.
512
513Remember to use the SAVE and/or DOWNLOAD buttons on the Reference Data
514screen to preserve your work.
515
516|image23|
517
518Modifying an Existing Template
519~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
520
521In addition to creating new templates, you can also modify an existing
522template by adding or removing parameter names.
523
524To add a new parameter name, follow the steps in the Create a template from a "golden" configuration file section above.
525SYNCHRONIZE to add the new parameter to the name/value and parameter
526definition GUI.
527
528To remove an existing parameter name, remove the parameter name (i.e.,
529${name}) using the backspace key and replace with the static value. Then
530SYNCHRONIZE to remove the parameter from the name/value and parameter
531definition GUI.
532
533Remember to use the SAVE and/or DOWNLOAD buttons on the Reference Data
534screen to preserve your work.
535
536Create a parameter definition file describing instance-specific parameters in the template
537------------------------------------------------------------------------------------------
538
539Clicking the SYNCHRONIZE button after creating a template will automatically create/update a parameter definition file for
540that template (and a parameter name-value file described in the next
541section). Alternatively, you can upload an existing parameter definition
542file from your PC.
543
544You can view or edit the definition fields for each parameter via the
545Parameter Definition screen. Note that any edits to the parameter names
546would be overwritten by a subsequent SYNCHRONIZE with the template.
547
548|image24|
549
550Select a Source for each parameter
551~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
552
553There are three choices for the source:
554
5551. External Systems (e.g., INSTAR). APPC will automatically obtain parameter values from
556 an external system (typically IP addresses for VNFs). First, obtain a
557 key file for your VNF. Then use the
558 Upload Key File button on the Parameter Definition screen. APPC
559 will automatically populate key names and values used to retrieve data
560 from an external system.
561
562
5632. ***A&AI***. APPC will automatically obtain parameter values from
564 A&AI (typically VNF/VNFC/VM identifiers). After selecting A&AI”,
565 select a rule type and APPC will automatically populate the key
566 names and values. For rule types that include a list, populate the
567 Filter By Field and Filter By Value’.
568
569 |image26|
570
5713. ***Manual.*** APPC will use a manually-created excel to populate
572 parameter values. Later section describes this User Input Spreadsheet.
573
574Remember to use the SAVE and/or DOWNLOAD buttons on the Reference Data
575screen to preserve your work.
576
577Create a file containing name-value pairs for parameters
578--------------------------------------------------------
579
580Clicking the SYNCHRONIZE button after creating a template (see section
581Synchronizing a Template) will automatically create/update a parameter name-value pair file
582for that template (and a parameter definition file described in the
583previous section).
584
585Navigate to the Template tab and Param Values subtab to view/edit
586parameter name-value pairs.
587
588If you make any edits, remember to use the SAVE and/or DOWNLOAD buttons
589on the Reference Data screen to preserve your work.
590
591|image27|
592
593Option: Using MERGE to automatically create a template from a parameter name-value pair file
594~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
595
596The APPC Design Tool also provides a way to create a template from an
597existing parameter name-value pair file. This is useful when the
598configuration of the VNF has changed. Rather than manually recreating
599the template, you can use the MERGE function to automatically add
600parameter names based on a valid name-value pairs file from a previous
601template.
602
603First, navigate to the Template tab and Param Values subtab and click
604on UPLOAD PARAM FILE
605
606|image28|
607
608Then navigate to the Template configuration screen. Upload a
609configuration file that contains values you wish to turn into
610parameters.
611
612|image29|
613
614Next, click MERGE”. APPC will automatically add parameters to the
615configuration file using the name-value pairs. Wherever APPC finds a
616matching value, it will add the corresponding parameter name.
617
618After using the MERGE button to create a template, you can use the
619SYNCHRONIZE button to create/update the parameter definition file and
620name-value files.
621
622Remember to use the SAVE and/or DOWNLOAD buttons on the Reference Data
623screen to preserve your work.
624
625|image30|
626
627Test the template in a lab using APPC CDT Test Function
628=======================================================================
629
630User Input Spreadsheet
631----------------------
632
633The following steps are used to prepare a user input spreadsheet for the
634VNF instance and action to be tested.
635
6361. Start with this generic 1802 user input excel spreadsheet.
637
638 :download:`Generic 1802 User Input Spreadsheet v.02.xlsx` (compatible with excel 2013)
639
6402. Update the user-input sections of the spreadsheet.
641
642 a) Upload Data tab: choose action, populate VNF-ID
643
644 b) >Action< tab: Select the tab for the action being tested. Choose a
645 protocol and enter required action identifiers & request parameter
646 values. Enter any payload parameter names and values required for
647 this associated template. (copy/paste from a name-value pair file or
648 other source).
649
650 The screen shots on the following pages show the user input sections
651 highlighted in yellow.
652
6531. Save the spreadsheet with a name for your VNF instance and action.
654
655Upload Data tab Select action to be tested and populate any action
656identifiers such as vnf-id.
657
658|image31|
659
660Action tab: This example is for the ConfigModify action, so the
661ConfigModify tab is shown. Choose a protocol and enter required action
662identifiers & request parameter values. Enter any payload parameter
663names and values required for this associated template. (You may
664copy/paste from a name-value pair file or other source).
665
666|image32|
667
668Using APPC CDT TEST action to test a VNF configuration template
669-----------------------------------------------------------------
670
671The APPC CDT **TEST** action is used to initiate configuration
672and other lifecycle commands.
673
674 ** DETAIL COMING SOON **
675
676Note on populating southbound properties:
677~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
678
679When a new vnf-type is created or a new action is added to an existing
680vnf-type using the CDT tool and the Reference Data artifact is loaded to
681APPC, an update is made to the APPC run-time southbound properties
682file for the vnf-type.   The southbound properties are needed for
683connecting to a VNF instance or Ansible server.   The southbound
684properties contain the following information:
685
686``{vnf\_type}.{protocol}.{action}.user = {value}``
687
688``{vnf\_type}.{protocol}.{action}.port = {value}``
689
690``{vnf\_type}.{protocol}.{action}.password = {value}``
691
692``{vnf\_type}.{protocol}.{action}.url = {value}``
693
694The user, port, and url values are contained in the Reference Data
695artifact, if populated by the self-service user The password value is
696updated by T2 production support using a GUI tool provided. <TO DO: CHECK ON THIS>
697
698The current process which creates the southbound properties from the
699Reference Data only updates the southbound properties file only a single
700node in the APPC cluster.  
701
702
703APP-C Design Tool - File Descriptions
704=====================================
705
706+--------------------------------------------------------------------------------------------------------------------------------------+-------------------+------------------------------------------------------+
707| **File Description** | **File Format** | **File name / example** |
708+======================================================================================================================================+===================+======================================================+
709| | | |
710| **Pre-template Config file** contains a golden or working configuration (for Netconf) or JSON data block (for Chef or Ansible). | XML, JSON | :download:`simple xml config.txt` |
711| | | |
712+--------------------------------------------------------------------------------------------------------------------------------------+-------------------+------------------------------------------------------+
713| | | |
714| **Reference file** [5]_ describes a VNF in terms of its subtending VMs and VNFCs and the actions/protocols being onboarded. | XML, JSON | :download:`reference_AllAction_vPQR_0.0.1V.json` |
715| | | |
716+--------------------------------------------------------------------------------------------------------------------------------------+-------------------+------------------------------------------------------+
717| | | |
718| **Template file** a configuration file with parameters for instance-specific fields. | XML | :download:`template_Configure_vABC_0.0.1.txt` |
719| | | |
720+--------------------------------------------------------------------------------------------------------------------------------------+-------------------+------------------------------------------------------+
721| | | |
722| **Parameter Definition file** (aka pd\_Configure) contains **parameter definitions** associated with a template. | YAML | :download:`pd_Configure_vABC_0.0.1V.yaml.txt` |
723| | | |
724+--------------------------------------------------------------------------------------------------------------------------------------+-------------------+------------------------------------------------------+
725| | | |
726| **Name-Value file** (aka param\_Configure) contains name-value pairs for parameters associated with a template. | JSON | :download:`param_Configure_vABC_0.0.1V.txt` |
727| | | |
728+--------------------------------------------------------------------------------------------------------------------------------------+-------------------+------------------------------------------------------+
729| | | |
730| **Key data file** contains external system data to populate a PD configure file. | TXT | <TO DO: Need sample file> |
731| | | |
732+--------------------------------------------------------------------------------------------------------------------------------------+-------------------+------------------------------------------------------+
733
734Note: Do not alter file names because APPC CDT requires a specific file naming format. Note that for yaml files, Sphinx is not able to handle correctly, so we had to add .txt to allow the download. Please remember to remove .txt from pd_Configure_vABC_0.0.1V.yaml.txt when you download it.
735
736.. |image0| image:: media/image0.png
737 :width: 7.88889in
738 :height: 4.43750in
739.. |image1| image:: media/image1.png
740 :width: 8.72292in
741 :height: 4.51788in
742.. |image2| image:: media/image2.png
743 :width: 8.75000in
744 :height: 4.58908in
745.. |image3| image:: media/image3.png
746 :width: 8.70833in
747 :height: 4.89844in
748.. |image4| image:: media/image4.png
749 :width: 7.46875in
750 :height: 4.19310in
751.. |image5| image:: media/image5.png
752 :width: 7.23958in
753 :height: 3.87172in
754.. |image6| image:: media/image6.png
755 :width: 7.58491in
756 :height: 4.26651in
757.. |image7| image:: media/image7.png
758 :width: 9.43750in
759 :height: 5.30859in
760.. |image8| image:: media/image8.png
761 :width: 7.86980in
762 :height: 4.72917in
763.. |image9| image:: media/image9.png
764 :width: 7.56250in
765 :height: 4.54450in
766.. |image10| image:: media/image10.png
767 :width: 9.01042in
768 :height: 5.06836in
769.. |image11| image:: media/image11.png
770 :width: 9.44792in
771 :height: 5.31445in
772.. |image12| image:: media/image12.png
773 :width: 9.48958in
774 :height: 5.33789in
775.. |image13| image:: media/image13.png
776 :width: 9.48125in
777 :height: 5.33320in
778.. |image14| image:: media/image14.png
779 :width: 9.25926in
780 :height: 5.20833in
781.. |image15| image:: media/image15.png
782 :width: 9.05556in
783 :height: 5.09375in
784.. |image16| image:: media/image16.png
785 :width: 5.79167in
786 :height: 3.74135in
787.. |imageA| image:: media/imageA.png
788 :width: 5.79167in
789 :height: 3.74135in
790.. |image17| image:: media/image17.png
791 :width: 6.13542in
792 :height: 4.97745in
793.. |image18| image:: media/image18.png
794 :width: 9.00000in
795 :height: 5.27639in
796.. |image19| image:: media/image19.png
797 :width: 5.43423in
798 :height: 1.83333in
799.. |image20| image:: media/image20.png
800 :width: 5.44473in
801 :height: 1.93750in
802.. |image21| image:: media/image21.png
803 :width: 5.32292in
804 :height: 1.92771in
805.. |image22| image:: media/image22.png
806 :width: 5.31153in
807 :height: 1.83333in
808.. |image23| image:: media/image23.png
809 :width: 7.54167in
810 :height: 4.24219in
811.. |image24| image:: media/image24.png
812 :width: 7.48148in
813 :height: 4.20833in
814.. |image26| image:: media/image26.png
815 :width: 6.87789in
816 :height: 3.78125in
817.. |image27| image:: media/image27.png
818 :width: 7.97170in
819 :height: 4.48408in
820.. |image28| image:: media/image28.png
821 :width: 8.56604in
822 :height: 4.81840in
823.. |image29| image:: media/image29.png
824 :width: 9.00943in
825 :height: 5.06781in
826.. |image30| image:: media/image30.png
827 :width: 8.07407in
828 :height: 4.54167in
829.. |image31| image:: media/image31.png
830 :width: 9.00000in
831 :height: 5.18958in
832.. |image32| image:: media/image32.png
833 :width: 9.00000in
834 :height: 5.18958in
835