Package ganeti :: Package confd :: Module querylib :: Class InstancesIpsQuery
[hide private]
[frames] | no frames]

Class InstancesIpsQuery

source code


A query for instances IPs.

It returns the list of IPs of NICs connected to the requested link or all the instances IPs if no link is submitted.

Instance Methods [hide private]
(integer, undefined)
Exec(self, query)
InstancesIpsQuery main execution.
source code

Inherited from ConfdQuery: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

Exec(self, query)

source code 

InstancesIpsQuery main execution.

Parameters:
  • query - ConfdRequest 'query' field
Returns: (integer, undefined)
status and answer to give to the client
Overrides: ConfdQuery.Exec