absent(name, protocol=None, service_address=None, server_address=None)¶
Ensure the LVS Real Server in specified service is absent.
present(name, protocol=None, service_address=None, server_address=None, packet_forward_method=u'dr', weight=1)¶
Ensure that the named service is present.
drfor direct routing,
natfor network access translation).
lvsrs: lvs_server.present: - protocol: tcp - service_address: 126.96.36.199:80 - server_address: 192.168.0.11:8080 - packet_forward_method: dr - weight: 10