Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 1 | /* voltha-scale-measurements pipeline */ |
| 2 | pipeline { |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 3 | /* no label, executor is determined by JJB */ |
| 4 | agent { |
| 5 | label "${params.buildNode}" |
| 6 | } |
Shrey Baid | 00ff5c4 | 2020-02-07 15:14:08 -0800 | [diff] [blame] | 7 | environment { |
Shrey Baid | b001c71 | 2020-02-11 11:12:46 -0800 | [diff] [blame] | 8 | SSHPASS="karaf" |
Shrey Baid | 00ff5c4 | 2020-02-07 15:14:08 -0800 | [diff] [blame] | 9 | } |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 10 | stages { |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 11 | stage('Set build description') { |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 12 | steps { |
| 13 | script { |
Shrey Baid | 943e207 | 2020-03-04 10:31:32 -0800 | [diff] [blame] | 14 | currentBuild.description = "$BUILD_TIMESTAMP" |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 15 | } |
| 16 | } |
| 17 | } |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 18 | stage('Cleanup') { |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 19 | steps { |
Shrey Baid | b044718 | 2020-02-27 16:39:35 -0800 | [diff] [blame] | 20 | sh ''' |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 21 | rm -rf *.txt |
Matteo Scandolo | dd5bbe9 | 2020-03-27 11:43:08 -0700 | [diff] [blame] | 22 | for hchart in \$(helm list -q | grep -E -v 'docker-registry|kafkacat|etcd-operator'); |
Matteo Scandolo | 151e35c | 2020-02-28 15:45:15 -0800 | [diff] [blame] | 23 | do |
| 24 | echo "Purging chart: \${hchart}" |
| 25 | helm delete --purge "\${hchart}" |
| 26 | done |
Shrey Baid | b044718 | 2020-02-27 16:39:35 -0800 | [diff] [blame] | 27 | bash /home/cord/voltha-scale/wait_for_pods.sh |
| 28 | bash /home/cord/voltha-scale/stop_port_forward.sh |
| 29 | ''' |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 30 | } |
| 31 | } |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 32 | stage('Start') { |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 33 | steps { |
Shrey Baid | 00ff5c4 | 2020-02-07 15:14:08 -0800 | [diff] [blame] | 34 | sh ''' |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 35 | #!/usr/bin/env bash |
| 36 | set -euo pipefail |
Shrey Baid | 00ff5c4 | 2020-02-07 15:14:08 -0800 | [diff] [blame] | 37 | ''' |
| 38 | } |
| 39 | } |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 40 | stage('Deploy voltha') { |
Matteo Scandolo | 2fc1dac | 2020-03-09 08:39:53 -0700 | [diff] [blame] | 41 | options { |
| 42 | timeout(time:10) |
| 43 | } |
Shrey Baid | 00ff5c4 | 2020-02-07 15:14:08 -0800 | [diff] [blame] | 44 | steps { |
| 45 | sh ''' |
Matteo Scandolo | a3470b7 | 2020-03-17 12:26:47 -0700 | [diff] [blame] | 46 | helm repo update |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 47 | helm install -n cord-kafka incubator/kafka -f /home/cord/voltha-scale/voltha-values.yaml --version 0.13.3 --set replicas=${numOfKafka} --set persistence.enabled=false --set zookeeper.replicaCount=${numOfKafka} --set zookeeper.persistence.enabled=false |
Matteo Scandolo | e1c200f | 2020-03-24 10:33:58 -0700 | [diff] [blame] | 48 | helm install -n nem-monitoring cord/nem-monitoring --set kpi_exporter.enabled=false,dashboards.xos=false,dashboards.onos=false,dashboards.aaa=false,dashboards.voltha=false |
Shrey Baid | b06b55a | 2020-03-12 15:04:58 -0700 | [diff] [blame] | 49 | |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 50 | helm install -n radius onf/freeradius ${extraHelmFlags} |
| 51 | |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 52 | # Multi BBSim sadis server (to be migrated in ONF and included in the helm-chart) |
| 53 | # kubectl create -f https://raw.githubusercontent.com/ciena/bbsim-sadis-server/master/bbsim-sadis-server.yaml |
| 54 | |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 55 | # NOTE wait for the infrastructure to be running before installing VOLTHA |
| 56 | bash /home/cord/voltha-scale/wait_for_pods.sh |
| 57 | |
Matteo Scandolo | e69614f | 2020-03-10 11:35:35 -0700 | [diff] [blame] | 58 | IFS=: read -r onosRepo onosTag <<< ${onosImg} |
| 59 | helm install -n onos onf/onos --set images.onos.repository=${onosRepo} --set images.onos.tag=${onosTag} ${extraHelmFlags} |
Shrey Baid | b044718 | 2020-02-27 16:39:35 -0800 | [diff] [blame] | 60 | |
Matteo Scandolo | a2928e7 | 2020-03-02 16:38:22 -0800 | [diff] [blame] | 61 | IFS=: read -r volthaRepo volthaTag <<< ${volthaImg} |
Matteo Scandolo | e69614f | 2020-03-10 11:35:35 -0700 | [diff] [blame] | 62 | IFS=: read -r ofAgentRepo ofAgentTag <<< ${ofAgentImg} |
Matteo Scandolo | fddcb00 | 2020-03-24 09:14:57 -0700 | [diff] [blame] | 63 | helm install -n voltha ${volthaChart} -f /home/cord/voltha-scale/voltha-values.yaml --set defaults.log_level=${logLevel},images.rw_core.repository=${volthaRepo},images.rw_core.tag=${volthaTag},images.ofagent_go.repository=${ofAgentRepo},images.ofagent_go.tag=${ofAgentTag} ${extraHelmFlags} |
Matteo Scandolo | a2928e7 | 2020-03-02 16:38:22 -0800 | [diff] [blame] | 64 | |
| 65 | IFS=: read -r openoltAdapterRepo openoltAdapterTag <<< ${openoltAdapterImg} |
Matteo Scandolo | 330f752 | 2020-03-17 17:15:53 -0700 | [diff] [blame] | 66 | helm install -n openolt ${openoltAdapterChart} -f /home/cord/voltha-scale/voltha-values.yaml --set defaults.log_level=${logLevel},images.adapter_open_olt.repository=${openoltAdapterRepo},images.adapter_open_olt.tag=${openoltAdapterTag} ${extraHelmFlags} |
Matteo Scandolo | a2928e7 | 2020-03-02 16:38:22 -0800 | [diff] [blame] | 67 | |
| 68 | IFS=: read -r openonuAdapterRepo openonuAdapterTag <<< ${openonuAdapterImg} |
Matteo Scandolo | 330f752 | 2020-03-17 17:15:53 -0700 | [diff] [blame] | 69 | helm install -n openonu ${openonuAdapterChart} -f /home/cord/voltha-scale/voltha-values.yaml --set defaults.log_level=${logLevel},images.adapter_open_onu.repository=${openonuAdapterRepo},images.adapter_open_onu.tag=${openonuAdapterTag} ${extraHelmFlags} |
Matteo Scandolo | a2928e7 | 2020-03-02 16:38:22 -0800 | [diff] [blame] | 70 | |
| 71 | IFS=: read -r bbsimRepo bbsimTag <<< ${bbsimImg} |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 72 | |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 73 | for i in $(seq 1 $((${numOfBbsim}))); do |
| 74 | helm install -n bbsim-$i ${bbsimChart} --set olt_id=$i,enablePerf=true,pon=${ponPorts},onu=${onuPerPon},auth=${bbsimAuth},dhcp=${bbsimDhcp},delay=${BBSIMdelay},images.bbsim.repository=${bbsimRepo},images.bbsim.tag=${bbsimTag} ${extraHelmFlags} |
| 75 | done |
Shrey Baid | b044718 | 2020-02-27 16:39:35 -0800 | [diff] [blame] | 76 | |
Shrey Baid | b044718 | 2020-02-27 16:39:35 -0800 | [diff] [blame] | 77 | bash /home/cord/voltha-scale/wait_for_pods.sh |
| 78 | bash /home/cord/voltha-scale/start_port_forward.sh |
Shrey Baid | 00ff5c4 | 2020-02-07 15:14:08 -0800 | [diff] [blame] | 79 | ''' |
| 80 | } |
| 81 | } |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 82 | stage('Wait for Adapters to be registered in VOLTHA') { |
Matteo Scandolo | 2fc1dac | 2020-03-09 08:39:53 -0700 | [diff] [blame] | 83 | options { |
| 84 | timeout(time:5) |
| 85 | } |
Matteo Scandolo | a711ddf | 2020-03-06 16:41:34 -0800 | [diff] [blame] | 86 | steps{ |
| 87 | waitUntil { |
| 88 | script { |
| 89 | openolt_res = sh returnStdout: true, script: """ |
| 90 | voltctl adapter list | grep openolt | wc -l |
| 91 | """ |
| 92 | |
| 93 | openonu_res = sh returnStdout: true, script: """ |
| 94 | voltctl adapter list | grep brcm_openomci_onu | wc -l |
| 95 | """ |
| 96 | |
Matteo Scandolo | 89f1cea | 2020-04-10 10:20:20 -0700 | [diff] [blame] | 97 | return openolt_res.toInteger() >= 1 && openonu_res.toInteger() >= 1 |
Matteo Scandolo | a711ddf | 2020-03-06 16:41:34 -0800 | [diff] [blame] | 98 | } |
| 99 | } |
| 100 | } |
| 101 | } |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 102 | stage('Push MIB template to ETCD') { |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 103 | steps { |
| 104 | sh ''' |
| 105 | if [ ${withMibTemplate} = true ] ; then |
Shrey Baid | b044718 | 2020-02-27 16:39:35 -0800 | [diff] [blame] | 106 | rm -f BBSM-12345123451234512345-00000000000001-v1.json |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 107 | wget https://raw.githubusercontent.com/opencord/voltha-openonu-adapter/master/templates/BBSM-12345123451234512345-00000000000001-v1.json |
Shrey Baid | b044718 | 2020-02-27 16:39:35 -0800 | [diff] [blame] | 108 | cat BBSM-12345123451234512345-00000000000001-v1.json | kubectl exec -it $(kubectl get pods | grep etcd-cluster | awk 'NR==1{print $1}') etcdctl put service/voltha/omci_mibs/templates/BBSM/12345123451234512345/00000000000001 |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 109 | fi |
| 110 | ''' |
Shrey Baid | 0d4e31d | 2020-02-11 13:28:47 -0800 | [diff] [blame] | 111 | } |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 112 | } |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 113 | stage('Configure ONOS and VOLTHA') { |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 114 | steps { |
| 115 | sh ''' |
Matteo Scandolo | 330f752 | 2020-03-17 17:15:53 -0700 | [diff] [blame] | 116 | #Setting LOG level to ${logLevel} |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 117 | sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 log:set ${logLevel} |
Shrey Baid | b044718 | 2020-02-27 16:39:35 -0800 | [diff] [blame] | 118 | kubectl exec $(kubectl get pods | grep bbsim | awk 'NR==1{print $1}') bbsimctl log warn false |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 119 | |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 120 | #Setting link discovery |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 121 | sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 cfg set org.onosproject.provider.lldp.impl.LldpLinkProvider enabled ${setLinkDiscovery} |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 122 | |
Matteo Scandolo | 7b3fde9 | 2020-02-26 16:17:16 -0800 | [diff] [blame] | 123 | # extending voltctl timeout |
Shrey Baid | b044718 | 2020-02-27 16:39:35 -0800 | [diff] [blame] | 124 | sed -i 's/timeout: 10s/timeout: 5m/g' /home/cord/.volt/config |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 125 | |
| 126 | #Setting the flow and ports stats collection interval |
| 127 | sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 cfg set org.onosproject.provider.of.flow.impl.OpenFlowRuleProvider flowPollFrequency ${flowStatInterval} |
| 128 | sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 cfg set org.onosproject.provider.of.device.impl.OpenFlowDeviceProvider portStatsPollFrequency ${portsStatInterval} |
| 129 | |
Matteo Scandolo | c981223 | 2020-04-22 14:18:07 -0700 | [diff] [blame] | 130 | # Always deactivate org.opencord.kafka |
| 131 | sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 app deactivate org.opencord.kafka |
| 132 | |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 133 | #Check withOnosApps and disable apps accordingly |
| 134 | if [ ${withOnosApps} = false ] ; then |
| 135 | sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 app deactivate org.opencord.olt |
| 136 | sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 app deactivate org.opencord.aaa |
| 137 | sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 app deactivate org.opencord.dhcpl2relay |
| 138 | else |
Matteo Scandolo | 3e0e040 | 2020-04-27 16:07:05 -0700 | [diff] [blame] | 139 | # config SADIS |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 140 | curl --fail -sSL --user karaf:karaf -X POST -H Content-Type:application/json "http://127.0.0.1:30120/onos/v1/network/configuration/apps/org.opencord.sadis" --data '{ |
| 141 | "sadis": { |
| 142 | "integration": { |
| 143 | "url": "http://bbsim-sadis-server.default.svc:58080/subscribers/%s", |
| 144 | "cache": { |
| 145 | "enabled": true, |
| 146 | "maxsize": 50, |
| 147 | "ttl": "PT1m" |
| 148 | } |
| 149 | } |
| 150 | }, |
| 151 | "bandwidthprofile": { |
| 152 | "integration": { |
| 153 | "url": "http://bbsim-sadis-server.default.svc:58080/profiles/%s", |
| 154 | "cache": { |
| 155 | "enabled": true, |
| 156 | "maxsize": 50, |
| 157 | "ttl": "PT1m" |
| 158 | } |
| 159 | } |
| 160 | } |
| 161 | }' |
Matteo Scandolo | 3e0e040 | 2020-04-27 16:07:05 -0700 | [diff] [blame] | 162 | |
| 163 | # config AAA |
| 164 | curl --fail -sSL --user karaf:karaf -X POST -H Content-Type:application/json "http://127.0.0.1:30120/onos/v1/network/configuration/apps/org.opencord.aaa" --data '{ |
| 165 | "AAA": { |
| 166 | "radiusConnectionType" : "socket", |
| 167 | "radiusHost": "radius.default.svc.cluster.local", |
| 168 | "radiusServerPort": "1812", |
| 169 | "radiusSecret": "SECRET" |
| 170 | } |
| 171 | }' |
| 172 | |
| 173 | # config DHCP |
| 174 | curl --fail -sSL --user karaf:karaf -X POST -H Content-Type:application/json "http://127.0.0.1:30120/onos/v1/network/configuration/apps/org.opencord.dhcpl2relay" --data '{ |
| 175 | "dhcpl2relay" : { |
| 176 | "useOltUplinkForServerPktInOut": true |
| 177 | } |
| 178 | }' |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 179 | fi |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 180 | ''' |
| 181 | } |
| 182 | } |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 183 | stage('Set timeout at 10 minutes') { |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 184 | options { |
| 185 | timeout(time:10) |
| 186 | } |
| 187 | stages { |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 188 | stage('Activate OLTs') { |
| 189 | steps { |
| 190 | sh ''' |
| 191 | for i in $(seq 1 $((${numOfBbsim}))); do |
| 192 | voltctl device create -t openolt -H bbsim-$i:50060 -m 0f:f1:ce:c$i:ff:ee |
| 193 | done |
| 194 | voltctl device list --filter Type~openolt -q | xargs voltctl device enable |
| 195 | ''' |
| 196 | } |
| 197 | } |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 198 | stage('Wait for ONUs to be enabled') { |
Shrey Baid | a3b8aa6 | 2020-02-13 11:22:51 -0800 | [diff] [blame] | 199 | steps { |
| 200 | sh ''' |
| 201 | if [ -z ${expectedOnus} ] |
| 202 | then |
| 203 | echo -e "You need to set the target ONU number\n" |
| 204 | exit 1 |
| 205 | fi |
Shrey Baid | 00ff5c4 | 2020-02-07 15:14:08 -0800 | [diff] [blame] | 206 | |
Shrey Baid | a3b8aa6 | 2020-02-13 11:22:51 -0800 | [diff] [blame] | 207 | # check ONUs reached Active State in VOLTHA |
| 208 | i=$(voltctl device list | grep -v OLT | grep ACTIVE | wc -l) |
| 209 | until [ $i -eq ${expectedOnus} ] |
| 210 | do |
| 211 | echo "$i ONUs ACTIVE of ${expectedOnus} expected (time: $SECONDS)" |
| 212 | sleep ${pollInterval} |
| 213 | i=$(voltctl device list | grep -v OLT | grep ACTIVE | wc -l) |
| 214 | done |
| 215 | echo "${expectedOnus} ONUs Activated in $SECONDS seconds (time: $SECONDS)" |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 216 | |
Shrey Baid | 49bf8f6 | 2020-03-09 17:52:01 -0700 | [diff] [blame] | 217 | echo $SECONDS > voltha-devices-time-num.txt |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 218 | |
| 219 | echo "VOLTHA Duration(s)" > voltha-devices-time.txt |
| 220 | cat voltha-devices-time-num.txt >> voltha-devices-time.txt |
Shrey Baid | a3b8aa6 | 2020-02-13 11:22:51 -0800 | [diff] [blame] | 221 | ''' |
| 222 | } |
| 223 | } |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 224 | stage('Wait for ports to be discovered in ONOS') { |
Shrey Baid | a3b8aa6 | 2020-02-13 11:22:51 -0800 | [diff] [blame] | 225 | steps { |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 226 | sh ''' |
Shrey Baid | a3b8aa6 | 2020-02-13 11:22:51 -0800 | [diff] [blame] | 227 | # Check ports showed up in ONOS |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 228 | z=$(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 ports -e | grep BBSM | wc -l) |
Shrey Baid | a3b8aa6 | 2020-02-13 11:22:51 -0800 | [diff] [blame] | 229 | until [ $z -eq ${expectedOnus} ] |
| 230 | do |
| 231 | echo "${z} enabled ports of ${expectedOnus} expected (time: $SECONDS)" |
| 232 | sleep ${pollInterval} |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 233 | z=$(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 ports -e | grep BBSM | wc -l) |
Shrey Baid | a3b8aa6 | 2020-02-13 11:22:51 -0800 | [diff] [blame] | 234 | done |
| 235 | echo "${expectedOnus} ports enabled in $SECONDS seconds (time: $SECONDS)" |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 236 | |
Shrey Baid | 49bf8f6 | 2020-03-09 17:52:01 -0700 | [diff] [blame] | 237 | echo $SECONDS > temp.txt |
| 238 | paste voltha-devices-time-num.txt temp.txt | awk '{print ($1 + $2)}' > onos-ports-time-num.txt |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 239 | |
| 240 | echo "PORTs Duration(s)" > onos-ports-time.txt |
Shrey Baid | 49bf8f6 | 2020-03-09 17:52:01 -0700 | [diff] [blame] | 241 | cat onos-ports-time-num.txt >> onos-ports-time.txt |
Shrey Baid | a3b8aa6 | 2020-02-13 11:22:51 -0800 | [diff] [blame] | 242 | ''' |
| 243 | } |
| 244 | } |
Matteo Scandolo | c981223 | 2020-04-22 14:18:07 -0700 | [diff] [blame] | 245 | stage('Wait for flows to be programmed in VOLTHA') { |
| 246 | steps { |
| 247 | sh ''' |
| 248 | if [ ${withOnosApps} = false ] ; then |
| 249 | echo "ONOS Apps are not enabled, nothing to check" |
| 250 | else |
| 251 | function get_flows() { |
| 252 | local TOTAL |
| 253 | TOTAL=0 |
| 254 | |
| 255 | arr=("$@") |
| 256 | for id in "${arr[@]}" |
| 257 | do |
| 258 | TOTAL=$((TOTAL + $(voltctl logicaldevice flows $id | grep -v ID | wc -l))) |
| 259 | done |
| 260 | echo $TOTAL |
| 261 | } |
| 262 | |
| 263 | LOGICAL_DEVICE_IDS=$(voltctl logicaldevice list | grep BBSIM | awk '{print $1}') |
| 264 | IDS=($LOGICAL_DEVICE_IDS) |
| 265 | |
| 266 | FLOWS=$(get_flows "${IDS[@]}") |
| 267 | |
| 268 | until [ $FLOWS -eq ${expectedFlows} ] |
| 269 | do |
| 270 | echo "${FLOWS} of ${expectedFlows} flows programmed in VOLTHA (time: $SECONDS)" |
| 271 | sleep ${pollInterval} |
| 272 | FLOWS=$(get_flows "${IDS[@]}") |
| 273 | done |
| 274 | echo "${expectedFlows} flows correctly programmed (time: $SECONDS)" |
| 275 | echo $SECONDS > temp.txt |
| 276 | paste onos-ports-time-num.txt temp.txt | awk '{print ($1 + $2)}' > voltha-flows-time-num.txt |
| 277 | |
| 278 | echo "VOLTHA FLOWs Duration(s)" > voltha-flows-time.txt |
| 279 | cat voltha-flows-time-num.txt >> voltha-flows-time.txt |
| 280 | fi |
| 281 | ''' |
| 282 | } |
| 283 | } |
| 284 | stage('Wait for flows to be acknowledged in ONOS') { |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 285 | steps { |
| 286 | sh ''' |
| 287 | if [ ${withOnosApps} = false ] ; then |
| 288 | echo "ONOS Apps are not enabled, nothing to check" |
| 289 | else |
| 290 | # wait until all flows are in added state |
Matteo Scandolo | c981223 | 2020-04-22 14:18:07 -0700 | [diff] [blame] | 291 | z=$(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 flows -s | grep ADDED | wc -l) |
| 292 | until [ $z -eq ${expectedFlows} ] |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 293 | do |
Matteo Scandolo | c981223 | 2020-04-22 14:18:07 -0700 | [diff] [blame] | 294 | echo "${z} of ${expectedFlows} flows in ADDED state (time: $SECONDS)" |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 295 | sleep ${pollInterval} |
Matteo Scandolo | c981223 | 2020-04-22 14:18:07 -0700 | [diff] [blame] | 296 | z=$(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 flows -s | grep ADDED | wc -l) |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 297 | done |
Matteo Scandolo | c981223 | 2020-04-22 14:18:07 -0700 | [diff] [blame] | 298 | echo "${expectedFlows} flows correctly acknowledged (time: $SECONDS)" |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 299 | |
| 300 | echo $SECONDS > temp.txt |
Matteo Scandolo | c981223 | 2020-04-22 14:18:07 -0700 | [diff] [blame] | 301 | paste voltha-flows-time-num.txt temp.txt | awk '{print ($1 + $2)}' > onos-flows-time-num.txt |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 302 | |
Matteo Scandolo | c981223 | 2020-04-22 14:18:07 -0700 | [diff] [blame] | 303 | echo "ONOS FLOWs Duration(s)" > onos-flows-time.txt |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 304 | cat onos-flows-time-num.txt >> onos-flows-time.txt |
| 305 | fi |
| 306 | ''' |
| 307 | } |
| 308 | } |
Matteo Scandolo | 268f322 | 2020-04-24 15:19:25 -0700 | [diff] [blame] | 309 | stage('Wait for subscribers to authenticate') { |
| 310 | steps { |
| 311 | sh ''' |
| 312 | if [ ${withOnosApps} = false ] ; then |
| 313 | echo "ONOS Apps are not enabled, nothing to check" |
| 314 | elif [ ${bbsimAuth} = false ] ; then |
| 315 | echo "Authentication is disabled, nothing to check" |
| 316 | else |
| 317 | # wait until all subscribers authenticate |
| 318 | z=$(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 aaa-users | grep AUTHORIZED_STATE | wc -l) |
| 319 | until [ $z -eq ${expectedOnus} ] |
| 320 | do |
| 321 | echo "${z} of ${expectedOnus} subscribers in AUTHORIZED_STATE state (time: $SECONDS)" |
| 322 | sleep ${pollInterval} |
| 323 | z=$(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 aaa-users | grep AUTHORIZED_STATE | wc -l) |
| 324 | done |
| 325 | echo "${expectedOnus} subscribers in AUTHORIZED_STATE (time: $SECONDS)" |
| 326 | |
| 327 | echo $SECONDS > temp.txt |
| 328 | paste onos-flows-time-num.txt temp.txt | awk '{print ($1 + $2)}' > onos-auth-time-num.txt |
| 329 | |
| 330 | echo "ONOS Authentication Duration(s)" > onos-auth-time.txt |
| 331 | cat onos-auth-time-num.txt >> onos-auth-time.txt |
| 332 | fi |
| 333 | ''' |
| 334 | } |
| 335 | } |
| 336 | stage('Provision subscribers') { |
| 337 | steps { |
| 338 | sh ''' |
| 339 | if [ ${withOnosApps} = false ] ; then |
| 340 | echo "ONOS Apps are not enabled, nothing to do" |
| 341 | elif [ ${bbsimAuth} = false ] ; then |
| 342 | echo "Authentication is disabled, nothing to do" |
| 343 | else |
| 344 | # provision all authenticated subscribers |
| 345 | subs=$(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 aaa-users | grep AUTHORIZED_STATE | grep -o -E "of:[a-z0-9]+/[0-9]+") |
| 346 | echo $subs |
| 347 | subs=($subs) |
| 348 | |
| 349 | for s in "${subs[@]}" |
| 350 | do |
| 351 | IFS=/ read -r device port <<< $s |
Matteo Scandolo | 3e0e040 | 2020-04-27 16:07:05 -0700 | [diff] [blame] | 352 | echo "Adding subscriber on device $device and port $port" |
Matteo Scandolo | 268f322 | 2020-04-24 15:19:25 -0700 | [diff] [blame] | 353 | sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 volt-add-subscriber-access $device $port |
| 354 | done |
| 355 | fi |
| 356 | ''' |
| 357 | } |
| 358 | } |
| 359 | stage('Wait for subscribers to DHCP') { |
| 360 | steps { |
| 361 | sh ''' |
| 362 | if [ ${withOnosApps} = false ] ; then |
| 363 | echo "ONOS Apps are not enabled, nothing to check" |
| 364 | elif [ ${bbsimDhcp} = false ] ; then |
| 365 | echo "DHCP is disabled, nothing to check" |
| 366 | else |
| 367 | # wait until all subscribers DHCP |
| 368 | z=$(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 dhcpl2relay-allocations | grep DHCPACK | wc -l) |
| 369 | until [ $z -eq ${expectedOnus} ] |
| 370 | do |
| 371 | echo "${z} of ${expectedOnus} subscribers received DHCPACK (time: $SECONDS)" |
| 372 | sleep ${pollInterval} |
| 373 | z=$(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 dhcpl2relay-allocations | grep DHCPACK | wc -l) |
| 374 | done |
| 375 | echo "${expectedOnus} subscribers received DHCPACK (time: $SECONDS)" |
| 376 | |
| 377 | echo $SECONDS > temp.txt |
| 378 | paste onos-auth-time-num.txt temp.txt | awk '{print ($1 + $2)}' > onos-dhcp-time-num.txt |
| 379 | |
| 380 | echo "ONOS DHCP Duration(s)" > onos-dhcp-time.txt |
| 381 | cat onos-dhcp-time-num.txt >> onos-dhcp-time.txt |
| 382 | fi |
| 383 | ''' |
| 384 | } |
| 385 | } |
Shrey Baid | b001c71 | 2020-02-11 11:12:46 -0800 | [diff] [blame] | 386 | } |
| 387 | } |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 388 | } |
| 389 | post { |
Shrey Baid | 4da57a6 | 2020-03-05 15:49:50 -0800 | [diff] [blame] | 390 | success { |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 391 | plot([ |
| 392 | csvFileName: 'plot-onu-activation.csv', |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 393 | csvSeries: [ |
| 394 | [displayTableFlag: false, exclusionValues: '', file: 'voltha-devices-time.txt', inclusionFlag: 'OFF', url: ''], |
| 395 | [displayTableFlag: false, exclusionValues: '', file: 'onos-ports-time.txt', inclusionFlag: 'OFF', url: ''], |
Matteo Scandolo | c981223 | 2020-04-22 14:18:07 -0700 | [diff] [blame] | 396 | [displayTableFlag: false, exclusionValues: '', file: 'voltha-flows-time.txt', inclusionFlag: 'OFF', url: ''], |
Matteo Scandolo | 2f321bd | 2020-04-27 11:19:41 -0700 | [diff] [blame] | 397 | [displayTableFlag: false, exclusionValues: '', file: 'onos-flows-time.txt', inclusionFlag: 'OFF', url: ''], |
| 398 | [displayTableFlag: false, exclusionValues: '', file: 'onos-auth-time.txt', inclusionFlag: 'OFF', url: ''], |
| 399 | [displayTableFlag: false, exclusionValues: '', file: 'onos-dhcp-time.txt', inclusionFlag: 'OFF', url: ''], |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 400 | ], |
| 401 | group: 'Voltha-Scale-Numbers', numBuilds: '20', style: 'line', title: "Time (${BBSIMdelay}s Delay)", yaxis: 'Time (s)', useDescr: true |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 402 | ]) |
Shrey Baid | 4da57a6 | 2020-03-05 15:49:50 -0800 | [diff] [blame] | 403 | } |
| 404 | always { |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 405 | // count how many ONUs have been activated |
Shrey Baid | 4da57a6 | 2020-03-05 15:49:50 -0800 | [diff] [blame] | 406 | sh ''' |
Shrey Baid | 49bf8f6 | 2020-03-09 17:52:01 -0700 | [diff] [blame] | 407 | echo "#-of-ONUs" > voltha-devices-count.txt |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 408 | echo $(voltctl device list | grep -v OLT | grep ACTIVE | wc -l) >> voltha-devices-count.txt |
Matteo Scandolo | e1c200f | 2020-03-24 10:33:58 -0700 | [diff] [blame] | 409 | ''' |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 410 | // count how many ports have been discovered |
Matteo Scandolo | e1c200f | 2020-03-24 10:33:58 -0700 | [diff] [blame] | 411 | sh ''' |
Shrey Baid | 49bf8f6 | 2020-03-09 17:52:01 -0700 | [diff] [blame] | 412 | echo "#-of-ports" > onos-ports-count.txt |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 413 | echo $(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 ports -e | grep BBSM | wc -l) >> onos-ports-count.txt |
Matteo Scandolo | e1c200f | 2020-03-24 10:33:58 -0700 | [diff] [blame] | 414 | ''' |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 415 | // count how many flows have been provisioned |
| 416 | sh ''' |
| 417 | echo "#-of-flows" > onos-flows-count.txt |
| 418 | echo $(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 flows -s | grep ADDED | wc -l) >> onos-flows-count.txt |
| 419 | ''' |
Matteo Scandolo | 18e576b | 2020-04-28 07:26:09 -0700 | [diff] [blame] | 420 | // dump and count the authenticated users |
Matteo Scandolo | 268f322 | 2020-04-24 15:19:25 -0700 | [diff] [blame] | 421 | sh ''' |
| 422 | if [ ${withOnosApps} = true ] && [ ${bbsimAuth} ] ; then |
| 423 | echo $(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 aaa-users) >> onos-aaa-users.txt |
Matteo Scandolo | 18e576b | 2020-04-28 07:26:09 -0700 | [diff] [blame] | 424 | |
| 425 | echo "#-of-authenticated-users" > onos-aaa-count.txt |
| 426 | echo $(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 aaa-users | grep AUTHORIZED_STATE | wc -l) >> onos-aaa-count.txt |
Matteo Scandolo | 268f322 | 2020-04-24 15:19:25 -0700 | [diff] [blame] | 427 | fi |
| 428 | ''' |
Matteo Scandolo | 18e576b | 2020-04-28 07:26:09 -0700 | [diff] [blame] | 429 | // dump and count the dhcp users |
Matteo Scandolo | 268f322 | 2020-04-24 15:19:25 -0700 | [diff] [blame] | 430 | sh ''' |
Matteo Scandolo | 18e576b | 2020-04-28 07:26:09 -0700 | [diff] [blame] | 431 | if [ ${withOnosApps} = true ] && [ ${bbsimDhcp} ] ; then |
Matteo Scandolo | 268f322 | 2020-04-24 15:19:25 -0700 | [diff] [blame] | 432 | echo $(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 dhcpl2relay-allocations) >> onos-dhcp-allocations.txt |
Matteo Scandolo | 18e576b | 2020-04-28 07:26:09 -0700 | [diff] [blame] | 433 | |
| 434 | echo "#-of-dhcp-allocations" > onos-dhcp-count.txt |
| 435 | echo $(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 dhcpl2relay-allocations | grep DHCPACK | wc -l) >> onos-dhcp-count.txt |
Matteo Scandolo | 268f322 | 2020-04-24 15:19:25 -0700 | [diff] [blame] | 436 | fi |
| 437 | ''' |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 438 | // check which containers were used in this build |
Matteo Scandolo | e1c200f | 2020-03-24 10:33:58 -0700 | [diff] [blame] | 439 | sh ''' |
Matteo Scandolo | 24044fc | 2020-04-14 10:07:14 -0700 | [diff] [blame] | 440 | kubectl get pods --all-namespaces -o jsonpath="{range .items[*].status.containerStatuses[*]}{.image}{'\\n'}" | sort | uniq |
| 441 | kubectl get pods --all-namespaces -o jsonpath="{range .items[*].status.containerStatuses[*]}{.imageID}{'\\n'}" | sort | uniq |
Matteo Scandolo | e1c200f | 2020-03-24 10:33:58 -0700 | [diff] [blame] | 442 | ''' |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 443 | // dump all the VOLTHA devices informations |
Matteo Scandolo | e1c200f | 2020-03-24 10:33:58 -0700 | [diff] [blame] | 444 | sh ''' |
Shrey Baid | 4da57a6 | 2020-03-05 15:49:50 -0800 | [diff] [blame] | 445 | voltctl device list -o json > device-list.json |
Shrey Baid | 49bf8f6 | 2020-03-09 17:52:01 -0700 | [diff] [blame] | 446 | python -m json.tool device-list.json > voltha-devices-list.json |
Matteo Scandolo | e1c200f | 2020-03-24 10:33:58 -0700 | [diff] [blame] | 447 | ''' |
Matteo Scandolo | 18e576b | 2020-04-28 07:26:09 -0700 | [diff] [blame] | 448 | // dump all the BBSim(s) ONU informations |
Matteo Scandolo | f9b7638 | 2020-04-27 11:40:58 -0700 | [diff] [blame] | 449 | sh ''' |
Matteo Scandolo | 18e576b | 2020-04-28 07:26:09 -0700 | [diff] [blame] | 450 | BBSIM_IDS=$(kubectl get pods | grep bbsim | grep -v server | awk '{print $1}') |
| 451 | IDS=($BBSIM_IDS) |
| 452 | |
| 453 | for bbsim in "${IDS[@]}" |
| 454 | do |
| 455 | kubectl exec -t $bbsim bbsimctl onu list > $bbsim-device-list.txt |
| 456 | done |
Matteo Scandolo | f9b7638 | 2020-04-27 11:40:58 -0700 | [diff] [blame] | 457 | ''' |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 458 | // get ports and flows from ONOS |
Matteo Scandolo | e1c200f | 2020-03-24 10:33:58 -0700 | [diff] [blame] | 459 | sh ''' |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 460 | sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 ports > onos-ports-list.txt |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 461 | sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30115 karaf@127.0.0.1 flows -s > onos-flows-list.txt |
| 462 | ''' |
| 463 | // collect the CPU usage |
| 464 | sh ''' |
Shrey Baid | ce9ed55 | 2020-03-13 13:40:13 -0700 | [diff] [blame] | 465 | curl -s -X GET -G http://127.0.0.1:31301/api/v1/query --data-urlencode 'query=avg(rate(container_cpu_usage_seconds_total[10m])*100) by (pod_name)' | jq . > cpu-usage.json |
Matteo Scandolo | e1c200f | 2020-03-24 10:33:58 -0700 | [diff] [blame] | 466 | ''' |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 467 | // get all the logs from kubernetes PODs |
Matteo Scandolo | e1c200f | 2020-03-24 10:33:58 -0700 | [diff] [blame] | 468 | sh ''' |
Matteo Scandolo | 3d31ebc | 2020-04-16 14:39:40 -0700 | [diff] [blame] | 469 | kubectl get pods -o wide |
Matteo Scandolo | 89f1cea | 2020-04-10 10:20:20 -0700 | [diff] [blame] | 470 | kubectl logs -l app=adapter-open-olt > open-olt-logs.txt |
| 471 | kubectl logs -l app=adapter-open-onu > open-onu-logs.txt |
| 472 | kubectl logs -l app=rw-core > voltha-rw-core-logs.txt |
| 473 | kubectl logs -l app=ofagent > voltha-ofagent-logs.txt |
| 474 | kubectl logs -l app=bbsim > bbsim-logs.txt |
Matteo Scandolo | 4b03e3b | 2020-04-23 09:44:17 -0700 | [diff] [blame] | 475 | kubectl logs -l app=onos > onos-logs.txt |
Matteo Scandolo | e1c200f | 2020-03-24 10:33:58 -0700 | [diff] [blame] | 476 | ''' |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 477 | // cleanup of things we don't want to archive |
Matteo Scandolo | e1c200f | 2020-03-24 10:33:58 -0700 | [diff] [blame] | 478 | sh ''' |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 479 | rm -rf BBSM-12345123451234512345-00000000000001-v1.json device-list.json temp.txt |
Matteo Scandolo | e1c200f | 2020-03-24 10:33:58 -0700 | [diff] [blame] | 480 | ''' |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 481 | // compile a plot of the activate informations |
Shrey Baid | 4da57a6 | 2020-03-05 15:49:50 -0800 | [diff] [blame] | 482 | plot([ |
| 483 | csvFileName: 'plot-numbers.csv', |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 484 | csvSeries: [ |
| 485 | [displayTableFlag: false, exclusionValues: '', file: 'voltha-devices-count.txt', inclusionFlag: 'OFF', url: ''], |
Matteo Scandolo | 18e576b | 2020-04-28 07:26:09 -0700 | [diff] [blame] | 486 | [displayTableFlag: false, exclusionValues: '', file: 'onos-ports-count.txt', inclusionFlag: 'OFF', url: ''], |
| 487 | [displayTableFlag: false, exclusionValues: '', file: 'onos-flows-count.txt', inclusionFlag: 'OFF', url: ''], |
| 488 | [displayTableFlag: false, exclusionValues: '', file: 'onos-aaa-count.txt', inclusionFlag: 'OFF', url: ''], |
| 489 | [displayTableFlag: false, exclusionValues: '', file: 'onos-dhcp-count.txt', inclusionFlag: 'OFF', url: ''], |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 490 | ], |
Shrey Baid | 4da57a6 | 2020-03-05 15:49:50 -0800 | [diff] [blame] | 491 | group: 'Voltha-Scale-Numbers', numBuilds: '100', style: 'line', title: "Activated ONUs and Recognized Ports", yaxis: 'Number of Ports/ONUs', useDescr: true |
| 492 | ]) |
| 493 | |
| 494 | archiveArtifacts artifacts: '*.log,*.json,*txt' |
| 495 | |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 496 | } |
| 497 | } |
Matteo Scandolo | e69614f | 2020-03-10 11:35:35 -0700 | [diff] [blame] | 498 | } |