Extends Chain CLI to be able to specify an IP address group.

Also fixed a bug in handling an inversion of object reference.

Fix MN-1078

Change-Id: Ic862fda231dd6b63843bfb61971800f138ac16e6