| Trees | Indices | Help |
|---|
|
|
object --+
|
base.AxObject --+
|
GslbServiceIP
Implementation of the aXAPI gslb.service_ip.* method to
manage the GSLB service IP configuration as getAll/create/delete/update
Usage:
# GSLB Service IP with parameters:
# name (required) name of service IP
# ip_address (required) ip address of service IP
# external_ip_address external IP address of service IP
# health_monitor health monitor of service IP
# status status of service IP
# port_list tag of port list
# port_num port number of port
# protocol protocol of port
# health_monitor health monitor of port
# status status of port
# Example:
# create a GSLB service IP configuration as:
!
gslb service-ip service6 1.6.61.41
external-ip 123.123.123.15
health-check ping
port 8888 tcp
port 8787 tcp
health-check ping
port 8789 tcp
health-check ping
!
#
svc_ip = GslbServiceIP(name="service6", ip_address="1.6.61.41")
svc_ip.external_ip_address = "123.123.123.15"
svc_ip.health_monitor = "ping"
svc_ip.port_list = [{"port_num": 8888, "protocol": AxAPI.PROTO_TCP, "health_monitor": "ping", "status": AxAPI.STATUS_ENABLED}, {"port_num": 8789, "protocol": AxAPI.PROTO_TCP, "health_monitor": "ping", "status": AxAPI.STATUS_ENABLED}]
svc_ip.create()
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
__display__ =
|
|||
__obj_name__ =
|
|||
__xml_convrt__ =
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
__xml_convrt__
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Fri Dec 27 11:20:20 2013 | http://epydoc.sourceforge.net |