diff options
Diffstat (limited to 'pike/README.md')
-rw-r--r-- | pike/README.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pike/README.md b/pike/README.md index e6231224..a7f27615 100644 --- a/pike/README.md +++ b/pike/README.md @@ -13,3 +13,27 @@ # limitations under the License. # Micro service of MultiCloud plugin for pike. +### local test with docker-composer: + +docker-compose -f docker-compose-pike.yml build + +docker-compose -f docker-compose-pike.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-pike.yml down
\ No newline at end of file |