<commit_before>#!/bin/bash
ret=0
datestamp=`date "+%Y%m%d%H%M%S"`
vagrant destroy build -f
vagrant destroy control_basevm -f
vagrant destroy compute_basevm -f
vagrant up build 2>&1 | tee -a build.log.$datestamp  
vagrant up control_basevm 2>&1 | tee -a control.log.$datestamp
vagrant up compute_basevm 2>&1 | tee -a compute.log.$datestamp
vagrant ssh build -c 'sudo apt-get install -y -q python-novaclient glance-client python-quantumclient python-keystoneclient'
vagrant ssh build -c 'sudo /tmp/test_nova.sh'
vagrant ssh build -c 'ping -c 2 172.16.2.129'

if [ $? -eq 0 ]
  then 
    echo "##########################"
    echo "      Test Passed!"
    echo "OVS ON CONTROL:" >> control.log.$datestamp
    vagrant ssh control_basevm -c 'sudo ovs-vsctl show' >> control.log.$datestamp
    echo "OVS ON COMPUTE:" >> compute.log.$datestamp
    vagrant ssh compute_basevm -c 'sudo ovs-vsctl show' >> compute.log.$datestamp<commit_msg>remove client package installs<commit_after>#!/bin/bash
ret=0
datestamp=`date "+%Y%m%d%H%M%S"`
vagrant destroy build -f
vagrant destroy control_basevm -f
vagrant destroy compute_basevm -f
vagrant up build 2>&1 | tee -a build.log.$datestamp  
vagrant up control_basevm 2>&1 | tee -a control.log.$datestamp
vagrant up compute_basevm 2>&1 | tee -a compute.log.$datestamp
vagrant ssh build -c 'sudo /tmp/test_nova.sh'
vagrant ssh build -c 'ping -c 2 172.16.2.129'

if [ $? -eq 0 ]
  then 
    echo "##########################"
    echo "      Test Passed!"
    echo "OVS ON CONTROL:" >> control.log.$datestamp
    vagrant ssh control_basevm -c 'sudo ovs-vsctl show' >> control.log.$datestamp
    echo "OVS ON COMPUTE:" >> compute.log.$datestamp
    vagrant ssh compute_basevm -c 'sudo ovs-vsctl show' >> compute.log.$datestamp
{'fraction_non_alphanumeric': 0.1506849315068493, 'fraction_numerical': 0.02054794520547945, 'mean_word_length': 3.883008356545961, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1400037', 'n_tokens_mistral': 675, 'n_tokens_neox': 624, 'n_words': 185}