X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jenkins-scripts%2Fmininet.sh;h=366c5e65b3c2dd74fe96db56ff7593f8739b2f25;hb=e3eda5afc71463e89a99e1cfc450517423bd5aea;hp=cd8aecf396c4708c11e42e30e6307d03e5eceb48;hpb=05d5cd872a45cd859f15b11717018a3105197a34;p=releng%2Fbuilder.git diff --git a/jenkins-scripts/mininet.sh b/jenkins-scripts/mininet.sh index cd8aecf39..366c5e65b 100755 --- a/jenkins-scripts/mininet.sh +++ b/jenkins-scripts/mininet.sh @@ -9,7 +9,21 @@ 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 -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} + +#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 @@ -21,6 +35,11 @@ Port 830 Subsystem netconf /usr/bin/netopeer-server-sl EOSSH +# Configuring sshd to accept root login with password +sed -ie 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config +sed -ie 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config +chattr +i /etc/ssh/sshd_config + # sshd has to get a restart because of the above service sshd restart @@ -41,6 +60,6 @@ echo 'jenkins' | passwd -f --stdin jenkins 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 :