Script query_config :: Class QueryClient
[hide private]
[frames] | no frames]

Class QueryClient


Confd client for querying the configuration JSON.

Instance Methods [hide private]
 
__init__(self)
Constructor.
 
ParseOptions(self)
Parses the command line options.
 
Run(self)
 
DoConfdRequestReply(self, req)
Send request to Confd and await all responses.

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]

__init__(self)
(Constructor)

 

Constructor.

Overrides: object.__init__

ParseOptions(self)

 

Parses the command line options.

In case of command line errors, it will show the usage and exit the program.

Returns:
a tuple (options, args), as returned by OptionParser.parse_args