Merge "Corrected links associated with release docs. To be updated along with the...
[genesis.git] / fuel / build / f_lith_odl_docker / puppet / modules / opnfv / odl_docker / Lithium_rc0 / container_scripts / speak.sh
1 #!/usr/bin/expect
2 ##############################################################################
3 # Copyright (c) 2015 Ericsson AB and others.
4 # daniel.smith@ericsson.com
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10 #
11 # Simple expect script to start up ODL client and load feature set for DLUX and OVSDB
12 #  NOTE: THIS WILL BE REPLACED WITH A PROGRAMATIC METHOD SHORTLY
13 #################################################################################
14
15 spawn /opt/odl/distribution-karaf-0.3.0-Lithium-RC0/bin/client
16 expect "root>"
17 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"
18 send "\r\r\r"
19 expect "root>"
20 send "logout\r"