salt.states.lvs_server.
absent
(name, protocol=None, service_address=None, server_address=None)¶Ensure the LVS Real Server in specified service is absent.
tcp
, udp
and fwmark
service).salt.states.lvs_server.
present
(name, protocol=None, service_address=None, server_address=None, packet_forward_method='dr', weight=1)¶Ensure that the named service is present.
dr
for direct routing, tunnel
for tunneling, nat
for network access translation).lvsrs:
lvs_server.present:
- protocol: tcp
- service_address: 1.1.1.1:80
- server_address: 192.168.0.11:8080
- packet_forward_method: dr
- weight: 10