3ba07a844068b91a9f881d48db6eef1118316d99
[genesis.git] / fuel / build / f_lith_odl_docker / dockerfile / container_scripts / speak.sh
1 #!/usr/bin/expect
2 # Ericsson Research Canada
3 #
4 # Author: Daniel Smith <daniel.smith@ericsson.com>
5 #
6 # Simple expect script to start up ODL client and load feature set for DLUX and OVSDB
7 #
8 #  NOTE: THIS WILL BE REPLACED WITH A PROGRAMATIC METHOD SHORTLY
9 #  DEPRECATED AFTER ARNO
10
11 spawn /opt/odl/distribution-karaf-0.2.3-Helium-SR3/bin/client
12 expect "root>"
13 send "feature:install odl-base-all odl-aaa-authn odl-restconf odl-nsf-all odl-adsal-northbound odl-mdsal-apidocs  odl-ovsdb-openstack odl-ovsdb-northbound odl-dlux-core"
14 send "\r\r\r"
15 expect "root>"
16 send "logout\r"
17