diff options
Diffstat (limited to 'windriver/README.md')
-rw-r--r-- | windriver/README.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/windriver/README.md b/windriver/README.md index d3bcc195..f6dcf8ad 100644 --- a/windriver/README.md +++ b/windriver/README.md @@ -13,3 +13,26 @@ # limitations under the License. # Micro service of MultiCloud plugin for Wind River Titanium Cloud. + +docker-compose -f docker-compose-windriver.yml build + +docker-compose -f docker-compose-windriver.yml up -d + +docker ps + +### Test memcached +docker exec -it openstack_worker_1 sh + +cat <<EOF>testmemcached.py +import memcache +mem = memcache.Client(['memcached:11211'], debug=1) +mem.set("testkey1","testvalue1") +value1 = mem.get("testkey1") +print("memcached is working" if value1=="testvalue1" else "memcached is not working") +EOF + +python testmemcached.py + +exit + +docker-compose -f docker-compose-windriver.yml down |