summaryrefslogtreecommitdiffstats
path: root/fuel/build/f_odl_docker/dockerfile/container_scripts/check_feature.sh
diff options
context:
space:
mode:
Diffstat (limited to 'fuel/build/f_odl_docker/dockerfile/container_scripts/check_feature.sh')
-rwxr-xr-xfuel/build/f_odl_docker/dockerfile/container_scripts/check_feature.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/fuel/build/f_odl_docker/dockerfile/container_scripts/check_feature.sh b/fuel/build/f_odl_docker/dockerfile/container_scripts/check_feature.sh
new file mode 100755
index 000000000..3e5d0b2bb
--- /dev/null
+++ b/fuel/build/f_odl_docker/dockerfile/container_scripts/check_feature.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/expect
+spawn /opt/odl/distribution-karaf-0.2.3-Helium-SR3/bin/client
+expect "root>"
+send "feature:list | grep -i odl-restconf\r"
+send "\r\r\r"
+expect "root>"
+send "logout\r"
+