[VOL-3007] Adding configuration support to the pipeline
Change-Id: I5beab6929fc84b5134d1e93b08e7f023eca971ae
diff --git a/jjb/voltha-scale.yaml b/jjb/voltha-scale.yaml
index a64a786..ba99544 100644
--- a/jjb/voltha-scale.yaml
+++ b/jjb/voltha-scale.yaml
@@ -383,6 +383,19 @@
build-timeout: '{build-timeout}'
jenkins-ssh-credential: '{jenkins-ssh-credential}'
+ # default values
+ bbsimImg: voltha/bbsim:master
+ rwCoreImg: voltha/voltha-rw-core:master
+ ofAgentImg: voltha/voltha-ofagent-go:master
+ openoltAdapterImg: voltha/voltha-openolt-adapter:master
+ openonuAdapterImg: voltha/voltha-openonu-adapter:master
+ onosImg: voltha/voltha-onos:master
+
+ bbsimChart: onf/bbsim
+ volthaChart: onf/voltha
+ openoltAdapterChart: onf/voltha-adapter-openolt
+ openonuAdapterChart: onf/voltha-adapter-openonu
+
parameters:
- string:
name: buildNode
@@ -404,15 +417,120 @@
default: 1
description: 'Number of PONs to provision'
+ - string:
+ name: olts
+ default: 2
+ description: 'How many BBSim instances to run'
+
+ - string:
+ name: workflow
+ default: att
+ description: 'Which workflow are we testing (att, dt, tt)'
+
+ - bool:
+ name: withFlows
+ default: false
+ description: 'Wheter to push flows from ONOS'
+
+ - bool:
+ name: provisionSubscribers
+ default: false
+ description: 'Wheter to provision subscribers durint the tests'
+
+ - bool:
+ name: withEapol
+ default: true
+ description: 'Wheter EAPOL is enabled for the test'
+
+ - bool:
+ name: withDhcp
+ default: true
+ description: 'Wheter DHCP is enabled for the test'
+
+ - bool:
+ name: withIgmp
+ default: true
+ description: 'Wheter IGMP is enabled for the test'
+
+ - bool:
+ name: withLLDP
+ default: false
+ description: 'Wheter Link Discovery is enabled for the test'
+
- bool:
name: withMibTemplate
default: true
description: 'Option to trigger MIB template command'
+ - bool:
+ name: withMonitoring
+ default: true
+ description: 'Option to install Prometheus'
+
- string:
- name: olts
- default: 2
- description: 'How many BBSim instances to run'
+ name: openonuAdapterReplicas
+ default: 1
+ description: 'How many OpenONU adapter instances to run'
+
+ - string:
+ name: onosReplicas
+ default: 3
+ description: 'How many ONOSes instances to run'
+
+ - string:
+ name: atomixReplicas
+ default: 3
+ description: 'How many Atomix instances to run'
+
+ - string:
+ name: bbsimImg
+ default: '{bbsimImg}'
+ description: 'Custom image selection for BBSIM (repo:tag)'
+
+ - string:
+ name: bbsimChart
+ default: '{bbsimChart}'
+ description: 'BBSim chart name (or location on file system)'
+
+ - string:
+ name: rwCoreImg
+ default: '{rwCoreImg}'
+ description: 'Custom image selection for VOLTHA (repo:tag)'
+
+ - string:
+ name: ofAgentImg
+ default: '{ofAgentImg}'
+ description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
+
+ - string:
+ name: volthaChart
+ default: '{volthaChart}'
+ description: 'VOLTHA chart name (or location on file system)'
+
+ - string:
+ name: openoltAdapterImg
+ default: '{openoltAdapterImg}'
+ description: 'Custom image selection for Openolt Adapter (repo:tag)'
+
+ - string:
+ name: openoltAdapterChart
+ default: '{openoltAdapterChart}'
+ description: 'OpenOLT chart name (or location on file system)'
+
+ - string:
+ name: openonuAdapterImg
+ default: '{openonuAdapterImg}'
+ description: 'Custom image selection for Openonu Adapter (repo:tag)'
+
+ - string:
+ name: openonuAdapterChart
+ default: '{openonuAdapterChart}'
+ description: 'OpenONU chart name (or location on file system)'
+
+ - string:
+ name: onosImg
+ default: '{onosImg}'
+ description: 'Custom image selection for Openonu Adapter (repo:tag)'
project-type: pipeline
concurrent: false