Skip to content

Instantly share code, notes, and snippets.

@joemiller
Created November 17, 2011 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joemiller/1374384 to your computer and use it in GitHub Desktop.
Save joemiller/1374384 to your computer and use it in GitHub Desktop.
quick n dirty object model for opsource-cloud VIPs (implemented on cisco ACEs)
VIP:
name:
IP:
port:
protocol: (tcp | udp)
target-type: (serverfarm | persistence-profile)
target-name:
enabled: (true | false)
serverfarm:
name:
predictor: (least-connections | round-robin)
real-servers: [ [real-server, port], [real-server, port], ... ]
probes: [ probe, probe, ... ]
persistence-profile:
name:
server-farm:
timeout-mins:
type: ( Cookie | ip-netmask )
(Type=cookie) cookie-name:
(Type=cookie) cookie-type: (cookie-insert | cookie-insert-browser-expire | no-cookie-insert)
(Type=ip-netmask) netmask:
(Type=ip-netmask) direction: (source | destination | both)
real-server:
name:
ip-addr
status: (in-service | out-service)
probe:
name:
type: (tcp | udp | http | https | icmp)
(type=tcp|udp|http|https) port:
probe-interval:
request-timeout:
failed-probe-interval:
number-of-errors-to-disable:
number-of-success-to-enable:
(type=http|https) method: ( get | head )
(type=http|https) accepted-status-code-range: xxx - xxx
(type=http|https) content-match:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment