diff options
Diffstat (limited to 'starlingx/README.md')
-rw-r--r-- | starlingx/README.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/starlingx/README.md b/starlingx/README.md index c8b300a5..48c7be7d 100644 --- a/starlingx/README.md +++ b/starlingx/README.md @@ -13,3 +13,28 @@ # limitations under the License. # Micro service of MultiCloud plugin for starlingx. + + +docker-compose -f docker-compose-starlingx.yml build + +docker-compose -f docker-compose-starlingx.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-starlingx.yml down + |