'Shares an IP address to the specified server.
:param       group_id:  group id which should be used
:type        group_id: ``str``
:param       node_id: ID of the node which should be used
:type        node_id: ``str``
:param       ip: ip which should be used
:type        ip: ``str``
:param       configure_node: configure node
:type        configure_node: ``bool``
:rtype: ``bool``'

def ex_share_ip(self, group_id, node_id, ip, configure_node=True):

    if isinstance(node_id, Node):
        node_id = node_id.id
    if configure_node:
        str_configure = 'true'
    else:
        str_configure = 'false'
    elm = ET.Element('shareIp', {'xmlns': self.XML_NAMESPACE, 'sharedIpGroupId': group_id, 'configureServer': str_configure})
    uri = ('/servers/%s/ips/public/%s' % (node_id, ip))
    resp = self.connection.request(uri, method='PUT', data=ET.tostring(elm))
    return (resp.status == httplib.ACCEPTED)
