<commit_before>set -e
set -x

avi_cntr_ip="10.10.39.219"
if [ $# -gt 0 ]; then
   avi_cntr_ip=$1
fi
avi_admin_passwd="<PASSWORD>\$%"
if [ $# -gt 1 ]; then
   avi_admin_passwd=$2
fi
pip install /root/avi-lbaasv2-*.tar.gz 
sed -i 's/service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default/service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver\nservice_provider = LOADBALANCERV2:avi_adc:avi_lbaasv2.avi_driver.AviDriver:default/' /etc/neutron/neutron.conf

cat << EOF >> /etc/neutron/neutron.conf
[avi_adc]
address=$avi_cntr_ip
user=admin
password="<PASSWORD>"
EOF

service neutron-server restart
sleep 60<commit_msg>lbaasv2 driver: setting "openstack" as the cloud to use in config<commit_after>set -e
set -x

avi_cntr_ip="10.10.39.219"
if [ $# -gt 0 ]; then
   avi_cntr_ip=$1
fi
avi_admin_passwd="<PASSWORD>\$%"
if [ $# -gt 1 ]; then
   avi_admin_passwd=$2
fi
pip install /root/avi-lbaasv2-*.tar.gz 
sed -i 's/service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default/service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver\nservice_provider = LOADBALANCERV2:avi_adc:avi_lbaasv2.avi_driver.AviDriver:default/' /etc/neutron/neutron.conf

cat << EOF >> /etc/neutron/neutron.conf
[avi_adc]
address=$avi_cntr_ip
user=admin
password="<PASSWORD>"
cloud=openstack
EOF

service neutron-server restart
sleep 60
{'fraction_non_alphanumeric': 0.12337662337662338, 'fraction_numerical': 0.026623376623376622, 'mean_word_length': 6.338095238095238, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4604264', 'n_tokens_mistral': 688, 'n_tokens_neox': 637, 'n_words': 92}