Package yakumo :: Package neutron :: Package v2 :: Package lbaas :: Module health_monitor :: Class Resource
[hide private]
[frames] | no frames]

Class Resource

source code

   object --+    
            |    
base.Resource --+
                |
               Resource

Resource class for LBaaS Health Monitors in Networking V2 API

Instance Methods [hide private]
None
update(self, http_method='__UNDEF__', url_path='__UNDEF__', expected_codes='__UNDEF__', delay='__UNDEF__', timeout='__UNDEF__', max_retries='__UNDEF__', is_enabled='__UNDEF__')
Update a LB health monitor
source code

Inherited from base.Resource: __enter__, __eq__, __exit__, __getattr__, __init__, __ne__, __repr__, __str__, delete, get_attrs, get_id, reload, wait_for_finished

Inherited from base.Resource (private): _clear_attrs, _set_attrs

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

Class Variables [hide private]
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

update(self, http_method='__UNDEF__', url_path='__UNDEF__', expected_codes='__UNDEF__', delay='__UNDEF__', timeout='__UNDEF__', max_retries='__UNDEF__', is_enabled='__UNDEF__')

source code 

Update a LB health monitor

Parameters:
  • http_method (str) - HTTP method like 'GET'
  • url_path (str) - URL path like '/index.html'
  • expected_codes (str) - Expected HTTP response code list separated with comma
  • delay (int) - Seconds to start waiting a response
  • timeout (int) - Maximum seconds to wait a response
  • max_retries (int) - Number of allowed connection failures (up to 10)
  • is_enabled (bool) - Monitor is enabled
Returns: None
Overrides: base.Resource.update