| --- |
| # VOLTHA 2.x scale measurements |
| |
| - project: |
| name: voltha-scale |
| |
| project-name: '{name}' |
| |
| jobs: |
| - 'voltha-scale-measurements-periodic-legacy': |
| name: 'voltha-scale-measurements-periodic-10-20-200ms' |
| build-node: 'onf-pod1-head-node' |
| time-trigger: "H H/4 * * *" |
| onuPerPon: 20 |
| ponPorts: 10 |
| expectedOnus: 200 |
| BBSIMdelay: 200 |
| - 'voltha-scale-measurements-periodic-legacy': |
| name: 'voltha-scale-measurements-periodic-1-64-200ms' |
| build-node: 'onf-pod1-head-node' |
| time-trigger: "H H/4 * * *" |
| onuPerPon: 64 |
| ponPorts: 1 |
| expectedOnus: 64 |
| BBSIMdelay: 200 |
| - 'voltha-scale-measurements-periodic-legacy': |
| name: 'voltha-scale-measurements-periodic-10-20-200ms-with-flows' |
| build-node: 'onf-pod1-head-node' |
| time-trigger: "H H/4 * * *" |
| onuPerPon: 20 |
| ponPorts: 10 |
| expectedOnus: 200 |
| BBSIMdelay: 200 |
| withOnosApps: true |
| flowStatInterval: 5 |
| portsStatInterval: 5 |
| expectedFlows: 201 |
| bbsimAuth: false |
| bbsimDhcp: false |
| |
| # new Jobs |
| # name format is <job-template>-<olts>-<pon>-<onus>-<setup> |
| # needed for comparison with the openonu-go adapter |
| - 'voltha-scale-measurements': |
| name: 'voltha-scale-measurements-1-2-32-activation-no-mib' |
| build-node: 'onf-pod1-head-node' |
| time-trigger: "H H/4 * * *" |
| olts: 1 |
| pons: 2 |
| onus: 32 |
| withFlows: false |
| provisionSubscribers: false |
| withEapol: false |
| withDhcp: false |
| withIgmp: false |
| withMibTemplate: false |
| |
| # jobs for 200 ONUs with a single openonu-adapter |
| - 'voltha-scale-measurements': |
| name: 'voltha-scale-measurements-1-10-20-activation' |
| build-node: 'onf-pod1-head-node' |
| time-trigger: "H H/4 * * *" |
| olts: 1 |
| pons: 10 |
| onus: 20 |
| withFlows: false |
| provisionSubscribers: false |
| withEapol: false |
| withDhcp: false |
| withIgmp: false |
| - 'voltha-scale-measurements': |
| name: 'voltha-scale-measurements-1-10-20-flows' |
| build-node: 'onf-pod1-head-node' |
| time-trigger: "H H/4 * * *" |
| olts: 1 |
| pons: 10 |
| onus: 20 |
| withFlows: true |
| provisionSubscribers: false |
| withEapol: true |
| withDhcp: true |
| withIgmp: false |
| - 'voltha-scale-measurements': |
| name: 'voltha-scale-measurements-1-10-20-subscribers' |
| build-node: 'onf-pod1-head-node' |
| time-trigger: "H H/4 * * *" |
| olts: 1 |
| pons: 10 |
| onus: 20 |
| withFlows: true |
| provisionSubscribers: true |
| withEapol: true |
| withDhcp: true |
| withIgmp: false |
| |
| # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS |
| - 'voltha-scale-measurements': |
| name: 'voltha-scale-measurements-1-16-32-activation' |
| build-node: 'onf-pod1-head-node' |
| time-trigger: "H H/4 * * *" |
| olts: 1 |
| pons: 16 |
| onus: 32 |
| withFlows: false |
| provisionSubscribers: false |
| withEapol: false |
| withDhcp: false |
| withIgmp: false |
| openonuAdapterReplicas: 8 |
| onosReplicas: 3 |
| atomixReplicas: 3 |
| - 'voltha-scale-measurements': |
| name: 'voltha-scale-measurements-1-16-32-flows' |
| build-node: 'onf-pod1-head-node' |
| time-trigger: "H H/4 * * *" |
| olts: 1 |
| pons: 16 |
| onus: 32 |
| withFlows: true |
| provisionSubscribers: false |
| withEapol: true |
| withDhcp: true |
| withIgmp: false |
| openonuAdapterReplicas: 8 |
| onosReplicas: 3 |
| atomixReplicas: 3 |
| - 'voltha-scale-measurements': |
| name: 'voltha-scale-measurements-1-16-32-subscribers' |
| build-node: 'onf-pod1-head-node' |
| time-trigger: "H H/4 * * *" |
| olts: 1 |
| pons: 16 |
| onus: 32 |
| withFlows: true |
| provisionSubscribers: true |
| withEapol: true |
| withDhcp: true |
| withIgmp: false |
| openonuAdapterReplicas: 8 |
| onosReplicas: 3 |
| atomixReplicas: 3 |
| |
| # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs) |
| - 'voltha-scale-measurements': |
| name: 'voltha-scale-measurements-2-16-32-activation' |
| build-node: 'onf-pod1-head-node' |
| time-trigger: "H H/4 * * *" |
| olts: 2 |
| pons: 16 |
| onus: 32 |
| withFlows: false |
| provisionSubscribers: false |
| withEapol: false |
| withDhcp: false |
| withIgmp: false |
| openonuAdapterReplicas: 8 |
| onosReplicas: 3 |
| atomixReplicas: 3 |
| - 'voltha-scale-measurements': |
| name: 'voltha-scale-measurements-2-16-32-flows' |
| build-node: 'onf-pod1-head-node' |
| time-trigger: "H H/4 * * *" |
| olts: 2 |
| pons: 16 |
| onus: 32 |
| withFlows: true |
| provisionSubscribers: false |
| withEapol: true |
| withDhcp: true |
| withIgmp: false |
| openonuAdapterReplicas: 8 |
| onosReplicas: 3 |
| atomixReplicas: 3 |
| - 'voltha-scale-measurements': |
| name: 'voltha-scale-measurements-2-16-32-subscribers' |
| build-node: 'onf-pod1-head-node' |
| time-trigger: "H H/4 * * *" |
| olts: 2 |
| pons: 16 |
| onus: 32 |
| withFlows: true |
| provisionSubscribers: true |
| withEapol: true |
| withDhcp: true |
| withIgmp: false |
| openonuAdapterReplicas: 8 |
| onosReplicas: 3 |
| atomixReplicas: 3 |
| |
| # development pipeline |
| - 'voltha-scale-measurements-dev': |
| name: 'voltha-scale-measurements-dev' |
| build-node: 'voltha-scale' |
| |
| - job-template: |
| id: 'voltha-scale-measurements-periodic-legacy' |
| name: '{name}' |
| pipeline-script: 'voltha-scale-measurements.groovy' |
| |
| description: | |
| <!-- Managed by Jenkins Job Builder --> |
| Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br /> |
| Using pipeline {pipeline-script} <br/><br/> |
| Scale measurements for VOLTHA 2.x |
| |
| properties: |
| - cord-infra-properties: |
| build-days-to-keep: '{build-days-to-keep}' |
| artifact-num-to-keep: '{artifact-num-to-keep}' |
| |
| wrappers: |
| - lf-infra-wrappers: |
| build-timeout: '{build-timeout}' |
| jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| |
| # default parameters |
| bbsimImg: voltha/bbsim:master |
| bbsimChart: onf/bbsim |
| volthaImg: voltha/voltha-rw-core:master |
| ofAgentImg: voltha/voltha-ofagent-go:master |
| volthaChart: onf/voltha |
| openoltAdapterImg: voltha/voltha-openolt-adapter:master |
| openoltAdapterChart: onf/voltha-adapter-openolt |
| openonuAdapterImg: voltha/voltha-openonu-adapter:master |
| openonuAdapterChart: onf/voltha-adapter-openonu |
| onosImg: voltha/voltha-onos:master |
| extraHelmFlags: '' |
| withMibTemplate: true |
| numOfBbsim: 1 |
| numOfKafka: 3 |
| withOnosApps: false |
| setLinkDiscovery: false |
| flowStatInterval: 600 |
| portsStatInterval: 600 |
| expectedFlows: 0 # by defualt ONOS apps are deactivated |
| bbsimAuth: true |
| bbsimDhcp: true |
| |
| parameters: |
| - string: |
| name: buildNode |
| default: '{build-node}' |
| description: 'Name of the Jenkins node to run the job on' |
| |
| - string: |
| name: logLevel |
| default: 'WARN' |
| description: 'Log level for all the components' |
| |
| - string: |
| name: onuPerPon |
| default: '{onuPerPon}' |
| description: 'Number of ONUs to provision' |
| |
| - string: |
| name: ponPorts |
| default: '{ponPorts}' |
| description: 'Number of PONs to provision' |
| |
| - string: |
| name: expectedOnus |
| default: '{expectedOnus}' |
| description: 'Expected number of activated ONUs' |
| |
| - string: |
| name: expectedFlows |
| default: '{expectedFlows}' |
| description: 'Expected number of flows in ONOS' |
| |
| - string: |
| name: pollInterval |
| default: 5 |
| description: 'Sleep time between ONU activation checks' |
| |
| - bool: |
| name: withOnosApps |
| default: '{withOnosApps}' |
| description: 'Option to deactivate certain ONOS apps' |
| |
| - bool: |
| name: withMibTemplate |
| default: '{withMibTemplate}' |
| description: 'Option to trigger MIB template command' |
| |
| - bool: |
| name: setLinkDiscovery |
| default: '{setLinkDiscovery}' |
| description: 'Option to toggle Link Discovery' |
| |
| - string: |
| name: BBSIMdelay |
| default: '{BBSIMdelay}' |
| description: 'BBSIM Delay, milliseconds' |
| |
| - string: |
| name: flowStatInterval |
| default: '{flowStatInterval}' |
| description: 'Flow Stats Collection Interval, milliseconds' |
| |
| - string: |
| name: portsStatInterval |
| default: {portsStatInterval} |
| description: 'Ports Stats Collection Interval, milliseconds' |
| |
| - bool: |
| name: bbsimAuth |
| default: '{bbsimAuth}' |
| description: 'Option to toggle BBSIM EAPOL true/false' |
| |
| - bool: |
| name: bbsimDhcp |
| default: '{bbsimDhcp}' |
| description: 'Option to toggle BBSIM DHCP true/false' |
| |
| - 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: volthaImg |
| default: '{volthaImg}' |
| 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)' |
| |
| - string: |
| name: extraHelmFlags |
| default: '{extraHelmFlags}' |
| description: 'Any extra helm parameters you want (passed to every helm install command)' |
| |
| - string: |
| name: numOfBbsim |
| default: '{numOfBbsim}' |
| description: 'How many BBSim instances to run' |
| |
| - string: |
| name: numOfKafka |
| default: '{numOfKafka}' |
| description: 'How many Kafka instances to run' |
| |
| project-type: pipeline |
| concurrent: false |
| |
| dsl: !include-raw-escape: pipeline/{pipeline-script} |
| |
| triggers: |
| - timed: | |
| TZ=America/Los_Angeles |
| {time-trigger} |
| |
| - job-template: |
| id: 'voltha-scale-measurements' |
| name: '{name}' |
| pipeline-script: 'voltha-scale-test.groovy' |
| |
| description: | |
| <!-- Managed by Jenkins Job Builder --> |
| Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br /> |
| Using pipeline {pipeline-script} <br/><br/> |
| Scale measurements for VOLTHA 2.x |
| |
| properties: |
| - cord-infra-properties: |
| build-days-to-keep: '{build-days-to-keep}' |
| artifact-num-to-keep: '{artifact-num-to-keep}' |
| |
| wrappers: |
| - lf-infra-wrappers: |
| 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 |
| |
| olts: 2 |
| pons: 2 |
| onus: 2 |
| workflow: att |
| withFlows: false |
| provisionSubscribers: false |
| withEapol: true |
| withDhcp: true |
| withIgmp: false |
| withLLDP: false |
| withMibTemplate: true |
| withMonitoring: true |
| openonuAdapterReplicas: 1 |
| onosReplicas: 1 |
| atomixReplicas: 0 |
| |
| parameters: |
| - string: |
| name: buildNode |
| default: '{build-node}' |
| description: 'Name of the Jenkins node to run the job on' |
| |
| - string: |
| name: logLevel |
| default: 'WARN' |
| description: 'Log level for all the components' |
| |
| - string: |
| name: onus |
| default: '{onus}' |
| description: 'Number of ONUs to provision' |
| |
| - string: |
| name: pons |
| default: '{pons}' |
| description: 'Number of PONs to provision' |
| |
| - string: |
| name: olts |
| default: '{olts}' |
| description: 'How many BBSim instances to run' |
| |
| - string: |
| name: workflow |
| default: '{workflow}' |
| description: 'Which workflow are we testing (att, dt, tt)' |
| |
| - bool: |
| name: withFlows |
| default: '{withFlows}' |
| description: 'Wheter to push flows from ONOS' |
| |
| - bool: |
| name: provisionSubscribers |
| default: '{provisionSubscribers}' |
| description: 'Wheter to provision subscribers durint the tests' |
| |
| - bool: |
| name: withEapol |
| default: '{withEapol}' |
| description: 'Wheter EAPOL is enabled for the test' |
| |
| - bool: |
| name: withDhcp |
| default: '{withDhcp}' |
| description: 'Wheter DHCP is enabled for the test' |
| |
| - bool: |
| name: withIgmp |
| default: '{withIgmp}' |
| description: 'Wheter IGMP is enabled for the test' |
| |
| - bool: |
| name: withLLDP |
| default: '{withLLDP}' |
| description: 'Wheter Link Discovery is enabled for the test' |
| |
| - bool: |
| name: withMibTemplate |
| default: '{withMibTemplate}' |
| description: 'Option to trigger MIB template command' |
| |
| - bool: |
| name: withMonitoring |
| default: '{withMonitoring}' |
| description: 'Option to install Prometheus' |
| |
| - string: |
| name: openonuAdapterReplicas |
| default: '{openonuAdapterReplicas}' |
| description: 'How many OpenONU adapter instances to run' |
| |
| - string: |
| name: onosReplicas |
| default: '{onosReplicas}' |
| description: 'How many ONOSes instances to run' |
| |
| - string: |
| name: atomixReplicas |
| default: '{atomixReplicas}' |
| 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)' |
| |
| - string: |
| name: volthaSystemTestsChange |
| default: '' |
| description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| |
| project-type: pipeline |
| concurrent: false |
| |
| dsl: !include-raw-escape: pipeline/{pipeline-script} |
| |
| triggers: |
| - timed: | |
| TZ=America/Los_Angeles |
| {time-trigger} |
| |
| - job-template: |
| id: 'voltha-scale-measurements-dev' |
| name: '{name}' |
| pipeline-script: 'voltha-scale-test.groovy' |
| |
| description: | |
| <!-- Managed by Jenkins Job Builder --> |
| Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br /> |
| Using pipeline {pipeline-script} <br/><br/> |
| Scale measurements for VOLTHA 2.x |
| |
| properties: |
| - cord-infra-properties: |
| build-days-to-keep: '{build-days-to-keep}' |
| artifact-num-to-keep: '{artifact-num-to-keep}' |
| |
| wrappers: |
| - lf-infra-wrappers: |
| 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 |
| default: '{build-node}' |
| description: 'Name of the Jenkins node to run the job on' |
| |
| - string: |
| name: logLevel |
| default: 'WARN' |
| description: 'Log level for all the components' |
| |
| - string: |
| name: onus |
| default: 2 |
| description: 'Number of ONUs to provision' |
| |
| - string: |
| name: pons |
| default: 2 |
| 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: false |
| 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: openonuAdapterReplicas |
| default: 1 |
| description: 'How many OpenONU adapter instances to run' |
| |
| # the dev node is single node cluster, we can't install a clustered ONOS because of the contraints |
| - string: |
| name: onosReplicas |
| default: 1 |
| description: 'How many ONOSes instances to run' |
| |
| - string: |
| name: atomixReplicas |
| default: 0 |
| 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)' |
| |
| - string: |
| name: volthaSystemTestsChange |
| default: '' |
| description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| |
| project-type: pipeline |
| concurrent: false |
| |
| dsl: !include-raw-escape: pipeline/{pipeline-script} |