Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Make distribution-check job an ODL-releng templated job"
[releng/builder.git]
/
jenkins-scripts
/
mininet.sh
diff --git
a/jenkins-scripts/mininet.sh
b/jenkins-scripts/mininet.sh
index 0b58d4ae229a143f0776b915568fc1d0441979d6..366c5e65b3c2dd74fe96db56ff7593f8739b2f25 100755
(executable)
--- a/
jenkins-scripts/mininet.sh
+++ b/
jenkins-scripts/mininet.sh
@@
-9,13
+9,22
@@
EOF
# for whatever reason netopeer & CPqD aren't installed (they weren't in
# one of the yum repos we were hooked up to when the base image was
# built, they are now. Make sure they're install
# for whatever reason netopeer & CPqD aren't installed (they weren't in
# one of the yum repos we were hooked up to when the base image was
# built, they are now. Make sure they're install
-yum install -q -y netopeer-server-sl CPqD-ofsoftswitch13
+yum install -q -y netopeer-server-sl CPqD-ofsoftswitch13
+
+# installing sshuttle to create a VPN-ish proxy to VMs that have
+# docker containers on them in order to make them externally accessible
+yum install -q -y sshuttle
# netaddr and ipaddress libraries can be useful on this system as
# some tests are starting to push pyhon scripts/tools to this VM
# during CI tests
yum install -q -y python-{ipaddr,iptools,netaddr}
# netaddr and ipaddress libraries can be useful on this system as
# some tests are starting to push pyhon scripts/tools to this VM
# during CI tests
yum install -q -y python-{ipaddr,iptools,netaddr}
+#For executing the CSIT test cases for VTN Coordinator
+yum install -q -y uuid libxslt libcurl unixODBC json-c
+chown jenkins /usr/local/vtn
+
+
# the vagrant configuration for netopeer doesn't configure SSH correctly
# as it uses and here document via echo and not cat fix that
cat << EOSSH >> /etc/ssh/sshd_config
# the vagrant configuration for netopeer doesn't configure SSH correctly
# as it uses and here document via echo and not cat fix that
cat << EOSSH >> /etc/ssh/sshd_config
@@
-51,6
+60,6
@@
echo 'jenkins' | passwd -f --stdin jenkins
echo 'root' | passwd -f --stdin root
# make sure the firewall is stopped
echo 'root' | passwd -f --stdin root
# make sure the firewall is stopped
-service iptables stop
+/bin/bash disable_firewall.sh
# vim: sw=2 ts=2 sts=2 et :
# vim: sw=2 ts=2 sts=2 et :