/usr/lib/python2.6/site-packages/neutronclient/neutron/v2_0/lb
NameSizeModeActions
v2/-0755rm
healthmonitor.py64190644editdlrm
healthmonitor.pyc70460644editdlrm
member.py27920644editdlrm
member.pyc33850644editdlrm
pool.py40970644editdlrm
pool.pyc48780644editdlrm
vip.py36120644editdlrm
vip.pyc39190644editdlrm
__init__.py00644editdlrm
__init__.pyc1710644editdlrm
Edit: /usr/lib/python2.6/site-packages/neutronclient/neutron/v2_0/lb/healthmonitor.pyc (7046B)
Ñò The HTTP method used for requests by the monitor of type HTTP.s --url-pathsThe HTTP path used in the HTTP request used by the monitor to test a member health. This must be a string beginning with a / (forward slash).s--delaytrequireds6The time in seconds between sending probes to members.s --max-retriess`Number of permissible connection failures before changing the member status to INACTIVE. [1..10]s --timeouts”Maximum number of seconds for a monitor to wait for a connection to be established before it times out. The value must be less than the delay value.s--typetchoicestPINGtTCPtHTTPtHTTPSs+One of the predefined health monitor types.(t add_argumentRR (tselftparser((sY/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/neutron/v2_0/lb/healthmonitor.pytadd_known_arguments,s:        cCslhh|id6|id6|id6|id6|id6|i6}ti|||idddd gƒ|S( NRtdelayt max_retriesttimeoutRtexpected_codest http_methodturl_patht tenant_id(RR#R$R%RR t neutronV20t update_dict(R t parsed_argstbody((sY/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/neutron/v2_0/lb/healthmonitor.pyt args2bodyVs      (RR R R R"R.(((sY/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/neutron/v2_0/lb/healthmonitor.pyR's *tUpdateHealthMonitorcBseZdZdZeZRS(sUpdate a given health monitor.R(RR R R RR(((sY/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/neutron/v2_0/lb/healthmonitor.pyR/fstDeleteHealthMonitorcBseZdZdZeZRS(sDelete a given health monitor.R(RR R R RR(((sY/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/neutron/v2_0/lb/healthmonitor.pyR0mstAssociateHealthMonitorcBs&eZdZdZd„Zd„ZRS(s5Create a mapping between a health monitor and a pool.RcCsZtt|ƒi|ƒ}|iddddtdƒƒ|iddddtdƒƒ|S( Nthealth_monitor_idtmetavartHEALTH_MONITOR_IDRsHealth monitor to associate.tpool_idtPOOLs8ID of the pool to be associated with the health monitor.(tsuperR1t get_parserRR(R t prog_nameR!((sY/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/neutron/v2_0/lb/healthmonitor.pyR8ys    cCs~|iƒ}|i|_hh|id6d6}ti|d|iƒ}|i||ƒtt dƒ|id|i i ƒdS(NRRtpoolsAssociated health monitor %stfile( t get_clienttrequest_formattformatR2R*tfind_resourceid_by_name_or_idR5tassociate_health_monitortprintRtapptstdout(R R,tneutron_clientR-R5((sY/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/neutron/v2_0/lb/healthmonitor.pytrunƒs    (RR R R R8RE(((sY/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/neutron/v2_0/lb/healthmonitor.pyR1ts tDisassociateHealthMonitorcBs&eZdZdZd„Zd„ZRS(s1Remove a mapping from a health monitor to a pool.RcCsZtt|ƒi|ƒ}|iddddtdƒƒ|iddddtdƒƒ|S( NR2R3R4RsHealth monitor to associate.R5R6s8ID of the pool to be associated with the health monitor.(R7RFR8RR(R R9R!((sY/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/neutron/v2_0/lb/healthmonitor.pyR8”s    cCsj|iƒ}|i|_ti|d|iƒ}|i||iƒtt dƒ|id|i i ƒdS(NR:sDisassociated health monitor %sR;( R<R=R>R*R?R5tdisassociate_health_monitorR2RARRBRC(R R,RDR5((sY/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/neutron/v2_0/lb/healthmonitor.pyREžs      (RR R R R8RE(((sY/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/neutron/v2_0/lb/healthmonitor.pyRFs N(t __future__Rtneutronclient.i18nRtneutronclient.neutronRR*t ListCommandRt ShowCommandRt CreateCommandRt UpdateCommandR/t DeleteCommandR0tNeutronCommandR1RF(((sY/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/neutron/v2_0/lb/healthmonitor.pyts ?