'Get Security Groups of the specified server.
:rtype: ``list`` of :class:`OpenStackSecurityGroup`'

def ex_get_node_security_groups(self, node):

    return self._to_security_groups(self.connection.request(('/servers/%s/os-security-groups' % node.id)).object)
