2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
6 # http://www.apache.org/licenses/LICENSE-2.0
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
23 dist_ro_sdn_arista_cloudvision
26 dist_ro_sdn_floodlight_of
28 dist_ro_sdn_juniper_contrail
39 TOX_ENV_LIST
="$(echo $PACKAGES | sed "s
/ /,/g
")"
42 TOX_PARALLEL_NO_SPINNER=1 tox -e $TOX_ENV_LIST --parallel auto
44 PROCESSES=$(expr `nproc --a` / 2)
46 TOX_PARALLEL_NO_SPINNER=1 tox -e $TOX_ENV_LIST --parallel $PROCESSES
51 cp RO-plugin/deb_dist/python3-osm-ro-plugin_*.deb deb_dist/
54 cp NG-RO/deb_dist/python3-osm-ng-ro_*.deb deb_dist/
56 # VIM plugins: vmware, openstack, AWS, azure, GCP
57 for vim_plugin in RO-VIM-*
59 cp ${vim_plugin}/deb_dist/python3-osm-rovim*.deb deb_dist/
62 # SDN plugins: DynPac, Ietfl2vpn, Onosof Floodlightof
63 for sdn_plugin in RO-SDN-*
65 cp ${sdn_plugin}/deb_dist/python3-osm-rosdn*.deb deb_dist/