# File lib/cloudservers/connection.rb, line 273 def create_shared_ip_group(options) data = JSON.generate(:sharedIpGroup => options) response = csreq("POST",svrmgmthost,"#{svrmgmtpath}/shared_ip_groups",svrmgmtport,svrmgmtscheme,{'content-type' => 'application/json'},data) CloudServers::Exception.raise_exception(response) unless response.code.match(/^20.$/) ip_group = JSON.parse(response.body)['sharedIpGroup'] CloudServers::SharedIPGroup.new(self,ip_group['id']) end