control-center/serviced — pull request #1274 by wplu (2014-11-10 22:41:55+00:00)
Title: Feature/cc 406 3

DEMO1 - get mux connections for a certain host:
```
# plu@plu-9: serviced mux connections 570a276e
DEST_HOST_IP	DEST_ADDR	DEST_SERVICE	DEST_SERVICE_ID	SRC_HOST_IP	SRC_ADDR	SRC_SERVICE	SRC_SERVICE_ID
10.87.110.39	127.0.0.1:5042	controlplane_logstash_tcp/0	controlplane_logstash_tcp	172.17.42.1	172.17.2.138:58387	HMaster/0	4d0jbuq0qtyeec4d44eijayb6
10.87.110.39	127.0.0.1:5042	controlplane_logstash_tcp/0	controlplane_logstash_tcp	172.17.42.1	172.17.2.140:40530	ZooKeeper/0	ba6t66reqrwlzgwfcp34osvfj
10.87.110.39	127.0.0.1:5042	controlplane_logstash_tcp/0	controlplane_logstash_tcp	172.17.42.1	172.17.2.142:40550	RegionServer/0	7se8s98fli4bx3fha073afywx
10.87.110.39	127.0.0.1:5043	controlplane_logstash_lumberjack/0	controlplane_logstash_lumberjack	172.17.42.1	172.17.2.138:58384	HMaster/0	4d0jbuq0qtyeec4d44eijayb6
10.87.110.39	127.0.0.1:5043	controlplane_logstash_lumberjack/0	controlplane_logstash_lumberjack	172.17.42.1	172.17.2.140:40524	ZooKeeper/0	ba6t66reqrwlzgwfcp34osvfj
10.87.110.39	127.0.0.1:5043	controlplane_logstash_lumberjack/0	controlplane_logstash_lumberjack	172.17.42.1	172.17.2.142:40544	RegionServer/0	7se8s98fli4bx3fha073afywx
10.87.110.39	127.0.0.1:8443	controlplane_consumer/0	controlplane_consumer	172.17.42.1	172.17.2.138:58460	HMaster/0	4d0jbuq0qtyeec4d44eijayb6
10.87.110.39	127.0.0.1:8443	controlplane_consumer/0	controlplane_consumer	172.17.42.1	172.17.2.140:40586	ZooKeeper/0	ba6t66reqrwlzgwfcp34osvfj
10.87.110.39	127.0.0.1:8443	controlplane_consumer/0	controlplane_consumer	172.17.42.1	172.17.2.142:40592	RegionServer/0	7se8s98fli4bx3fha073afywx
10.87.110.39	172.17.2.138:60000	hbase-master-1/0	4d0jbuq0qtyeec4d44eijayb6	172.17.42.1	172.17.2.142:55032	RegionServer/0	7se8s98fli4bx3fha073afywx
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.138:40249	HMaster/0	4d0jbuq0qtyeec4d44eijayb6
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.138:40255	HMaster/0	4d0jbuq0qtyeec4d44eijayb6
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.138:40261	HMaster/0	4d0jbuq0qtyeec4d44eijayb6
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.138:40282	HMaster/0	4d0jbuq0qtyeec4d44eijayb6
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.142:55025	RegionServer/0	7se8s98fli4bx3fha073afywx
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.142:55030	RegionServer/0	7se8s98fli4bx3fha073afywx
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.142:55039	RegionServer/0	7se8s98fli4bx3fha073afywx
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.142:55042	RegionServer/0	7se8s98fli4bx3fha073afywx
```

DEMO2 - get mux connections for all hosts:
```
# plu@plu-9: serviced mux connections
DEST_HOST_IP	DEST_ADDR	DEST_SERVICE	DEST_SERVICE_ID	SRC_HOST_IP	SRC_ADDR	SRC_SERVICE	SRC_SERVICE_ID
10.87.110.39	127.0.0.1:5042	controlplane_logstash_tcp/0	controlplane_logstash_tcp	172.17.42.1	172.17.2.138:58387	HMaster/0	4d0jbuq0qtyeec4d44eijayb6
10.87.110.39	127.0.0.1:5042	controlplane_logstash_tcp/0	controlplane_logstash_tcp	172.17.42.1	172.17.2.140:40530	ZooKeeper/0	ba6t66reqrwlzgwfcp34osvfj
10.87.110.39	127.0.0.1:5042	controlplane_logstash_tcp/0	controlplane_logstash_tcp	172.17.42.1	172.17.2.142:40550	RegionServer/0	7se8s98fli4bx3fha073afywx
10.87.110.39	127.0.0.1:5043	controlplane_logstash_lumberjack/0	controlplane_logstash_lumberjack	172.17.42.1	172.17.2.138:58384	HMaster/0	4d0jbuq0qtyeec4d44eijayb6
10.87.110.39	127.0.0.1:5043	controlplane_logstash_lumberjack/0	controlplane_logstash_lumberjack	172.17.42.1	172.17.2.140:40524	ZooKeeper/0	ba6t66reqrwlzgwfcp34osvfj
10.87.110.39	127.0.0.1:5043	controlplane_logstash_lumberjack/0	controlplane_logstash_lumberjack	172.17.42.1	172.17.2.142:40544	RegionServer/0	7se8s98fli4bx3fha073afywx
10.87.110.39	127.0.0.1:8443	controlplane_consumer/0	controlplane_consumer	172.17.42.1	172.17.2.138:58460	HMaster/0	4d0jbuq0qtyeec4d44eijayb6
10.87.110.39	127.0.0.1:8443	controlplane_consumer/0	controlplane_consumer	172.17.42.1	172.17.2.140:40586	ZooKeeper/0	ba6t66reqrwlzgwfcp34osvfj
10.87.110.39	127.0.0.1:8443	controlplane_consumer/0	controlplane_consumer	172.17.42.1	172.17.2.142:40592	RegionServer/0	7se8s98fli4bx3fha073afywx
10.87.110.39	172.17.2.138:60000	hbase-master-1/0	4d0jbuq0qtyeec4d44eijayb6	172.17.42.1	172.17.2.142:55032	RegionServer/0	7se8s98fli4bx3fha073afywx
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.138:40249	HMaster/0	4d0jbuq0qtyeec4d44eijayb6
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.138:40255	HMaster/0	4d0jbuq0qtyeec4d44eijayb6
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.138:40261	HMaster/0	4d0jbuq0qtyeec4d44eijayb6
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.138:40282	HMaster/0	4d0jbuq0qtyeec4d44eijayb6
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.142:55025	RegionServer/0	7se8s98fli4bx3fha073afywx
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.142:55030	RegionServer/0	7se8s98fli4bx3fha073afywx
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.142:55039	RegionServer/0	7se8s98fli4bx3fha073afywx
10.87.110.39	172.17.2.140:2181	zookeeper-client/0	ba6t66reqrwlzgwfcp34osvfj	172.17.42.1	172.17.2.142:55042	RegionServer/0	7se8s98fli4bx3fha073afywx
```