User Tools

Site Tools


genesis:configuration-files-discussion

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
genesis:configuration-files-discussion [2015/12/14 12:07]
Frank Brockners
genesis:configuration-files-discussion [2015/12/15 12:33]
Frank Brockners
Line 1: Line 1:
 ====== Discussion Input: Configuration for Pod-layout/​Build/​Deploy/​Test ====== ====== Discussion Input: Configuration for Pod-layout/​Build/​Deploy/​Test ======
  
-There is a need to have common config files for pod/​hardware,​ build, deploy, and test:+There is a desire ​to have common config files for pod/​hardware,​ build, deploy, and test:
    
   * Pod-setup (general description of the hardware setup of the POD used for a deployment)   * Pod-setup (general description of the hardware setup of the POD used for a deployment)
Line 15: Line 15:
 ---- ----
  
-====== ​Proposals for common ​config files  ======+====== ​Common ​config files  ======
  
-  * Common artifacts locator file format (mostly for build): +The following patches are used as starting points to finalize the common config ​files for each area mentioned:
-    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4375/​ +
-    * Fuel's current approach (distributed in make files - look for the REPO= definition). Reason being that each collaboration project is responsible for their plug-in builder fragment and up-stream definition - see instructions here[[https://​wiki.opnfv.org/​fuel_opnfv_integrated-project-guidelines_makefile +
-]] +
-      * https://​git.opnfv.org/​cgit/​fuel/​tree/​build/​f_isoroot/​f_odlpluginbuild/​Makefile +
-      * https://​git.opnfv.org/​cgit/​fuel/​tree/​build/​f_isoroot/​f_ovs-nsh-dpdk-pluginbuild/​config.mk +
-      * https://​git.opnfv.org/​cgit/​fuel/​tree/​build/​f_isoroot/​f_qemupluginbuild/​config.mk +
-      * https://​git.opnfv.org/​cgit/​fuel/​tree/​build/​f_isoroot/​f_onosfwpluginbuild/​config.mk+
  
-  * Common inventory file format: 
-    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4079/​ (**AGREED** as common format) 
-    * https://​git.opnfv.org/​cgit/​yardstick/​tree/​etc/​yardstick/​nodes/​pod.yaml.sample 
-    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4095/​1/​common/​fuel_3997_replica/​labs/​ericsson-1/​pod-1/​fuel/​config/​dha.yaml 
-    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4057/​3/​config/​pod-config.yml 
  
-  * Common ​network config ​file format: +  ​* **Common ​inventory ​file format:** 
-    ​https://​gerrit.opnfv.org/​gerrit/#/​c/​4201/​1/​common/​config/​deploy/​example.yaml +    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4079(AGREED as common ​format)
-    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4095/1/common/​fuel_3997_replica/​labs/​ericsson-1/​pod-1/​fuel/​config/​dea-pod-override.yaml +
-    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4057/​3/​config/​network.yml+
  
-  * Common ​deployment scenario ​config file format: +  ​* **Common ​network ​config file format:** 
-    ​https://​gerrit.opnfv.org/​gerrit/#/​c/​4201/​1/​common/​config/​deploy/​example.yaml +    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4095/​1/​common/​fuel_3997_replica/​labs/ericsson-1/pod-1/fuel/config/dea-pod-override.yaml (AGREED starting point for a common file)
-    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4095/​1/​common/​fuel_3997_replica/​installers/fuel/dea_base.yaml +
-    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4057/​3/config/deploy.yml+
  
-  * Common component configuration config file format (specific configuration for components such as ODL as SDN Controller or ONOS as SDN Controller) - could potentially be merged with the common deployment scenario config: 
-    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4095/​1/​common/​fuel_3997_replica/​installers/​fuel/​plugins/​fuel-ocl_0.0.1.yaml 
-    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4095/​1/​common/​fuel_3997_replica/​installers/​fuel/​plugins/​fuel-odl_0.0.1.yaml 
  
 +  * **Common deployment scenario config file format:**
 +    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4201/​1/​common/​config/​deploy/​example.yaml (AGREED starting point for a common file)
 +
 +  * **List of key artifacts and their origin used for Brahmaputra builds**:
 +    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4375/​ (The contents of this patch will be moved into a documentation/​.rst file)
  
 ---- ----
Line 67: Line 53:
  
 Proposal for Fuel: https://​gerrit.opnfv.org/​gerrit/#/​c/​3995/​ - simple method to separate configuration for base fuel, plugins, PODs and deployment/​test scenarios Proposal for Fuel: https://​gerrit.opnfv.org/​gerrit/#/​c/​3995/​ - simple method to separate configuration for base fuel, plugins, PODs and deployment/​test scenarios
 +
 +    * Fuel's current approach to locate artifacts is distributed in make files - look for the REPO= definition: Reason being that each collaboration project is responsible for their plug-in builder fragment and up-stream definition - see instructions here: [[https://​wiki.opnfv.org/​fuel_opnfv_integrated-project-guidelines_makefile
 +]]
 +      * https://​git.opnfv.org/​cgit/​fuel/​tree/​build/​f_isoroot/​f_odlpluginbuild/​Makefile
 +      * https://​git.opnfv.org/​cgit/​fuel/​tree/​build/​f_isoroot/​f_ovs-nsh-dpdk-pluginbuild/​config.mk
 +      * https://​git.opnfv.org/​cgit/​fuel/​tree/​build/​f_isoroot/​f_qemupluginbuild/​config.mk
 +      * https://​git.opnfv.org/​cgit/​fuel/​tree/​build/​f_isoroot/​f_onosfwpluginbuild/​config.mk
 +
 +  * Configuration config file format (per component):
 +    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4095/​1/​common/​fuel_3997_replica/​installers/​fuel/​plugins/​fuel-ocl_0.0.1.yaml
 +    * https://​gerrit.opnfv.org/​gerrit/#/​c/​4095/​1/​common/​fuel_3997_replica/​installers/​fuel/​plugins/​fuel-odl_0.0.1.yaml
 +
 +
  
 Current approach by Fuel (exampe for LF lab, pod 1): Current approach by Fuel (exampe for LF lab, pod 1):
Line 83: Line 82:
   * [[https://​gerrit.opnfv.org/​gerrit/#/​c/​3897/​1/​config/​deploy/​network/​network-environment-example.yaml|network-environment-example.yaml]] -- network definition   * [[https://​gerrit.opnfv.org/​gerrit/#/​c/​3897/​1/​config/​deploy/​network/​network-environment-example.yaml|network-environment-example.yaml]] -- network definition
   * [[https://​gerrit.opnfv.org/​gerrit/#/​c/​3897/​1/​config/​inventory/​pod_example_settings.yaml|pod_example_settings.yaml]] -- pod baremetal information   * [[https://​gerrit.opnfv.org/​gerrit/#/​c/​3897/​1/​config/​inventory/​pod_example_settings.yaml|pod_example_settings.yaml]] -- pod baremetal information
 +
 +==== Example: Compass4nfv installer configuration ====
 +
 +YAML files to use as input to Compass4nfv build/​deploy:​
 +
 +yaml inputs are broken up into:
 +  * [[build.yaml]] -- build settings(tbd)
 +  * [[https://​gerrit.opnfv.org/​gerrit/#/​c/​4057/​3/​config/​deploy.yml|deploy.yaml]] -- deploy options
 +  * [[https://​gerrit.opnfv.org/​gerrit/#/​c/​4057/​3/​config/​network.yml|network.yaml]] -- network definition
 +  * [[https://​gerrit.opnfv.org/​gerrit/#/​c/​4057/​3/​config/​pod-config.yml|pod-config.yaml]] -- pod baremetal/​virtual information
 +
 +
  
 ==== POD configuration file example from Yardstick ==== ==== POD configuration file example from Yardstick ====
genesis/configuration-files-discussion.txt · Last modified: 2015/12/15 14:44 by Frank Brockners