Anons79 Mini Shell

Directory : /lib/python2.7/site-packages/ansible/modules/network/avi/
Upload File :
Current File : //lib/python2.7/site-packages/ansible/modules/network/avi/avi_gslbservice.pyc

�
�Udac@s�idd6dgd6dd6ZdZdZdZd	d
lmZy d	dlmZmZm	Z	Wne
k
ryeZ	nXd�Ze
d
kr�e�ndS(s1.1tmetadata_versiontpreviewtstatust	communitytsupported_bys�
---
module: avi_gslbservice
author: Gaurav Rastogi (@grastogi23) <[email protected]>

short_description: Module for setup of GslbService Avi RESTful Object
description:
    - This module is used to configure GslbService object
    - more examples at U(https://github.com/avinetworks/devops)
requirements: [ avisdk ]
version_added: "2.4"
options:
    state:
        description:
            - The state that should be applied on the entity.
        default: present
        choices: ["absent", "present"]
    avi_api_update_method:
        description:
            - Default method for object update is HTTP PUT.
            - Setting to patch will override that behavior to use HTTP PATCH.
        version_added: "2.5"
        default: put
        choices: ["put", "patch"]
    avi_api_patch_op:
        description:
            - Patch operation to use when using avi_api_update_method as patch.
        version_added: "2.5"
        choices: ["add", "replace", "delete"]
    application_persistence_profile_ref:
        description:
            - The federated application persistence associated with gslbservice site persistence functionality.
            - It is a reference to an object of type applicationpersistenceprofile.
            - Field introduced in 17.2.1.
        version_added: "2.5"
    controller_health_status_enabled:
        description:
            - Gs member's overall health status is derived based on a combination of controller and datapath health-status inputs.
            - Note that the datapath status is determined by the association of health monitor profiles.
            - Only the controller provided status is determined through this configuration.
            - Default value when not specified in API or module is interpreted by Avi Controller as True.
        type: bool
    created_by:
        description:
            - Creator name.
            - Field introduced in 17.1.2.
    description:
        description:
            - User defined description for the object.
    domain_names:
        description:
            - Fully qualified domain name of the gslb service.
    down_response:
        description:
            - Response to the client query when the gslb service is down.
    enabled:
        description:
            - Enable or disable the gslb service.
            - If the gslb service is enabled, then the vips are sent in the dns responses based on reachability and configured algorithm.
            - If the gslb service is disabled, then the vips are no longer available in the dns response.
            - Default value when not specified in API or module is interpreted by Avi Controller as True.
        type: bool
    groups:
        description:
            - Select list of pools belonging to this gslb service.
    health_monitor_refs:
        description:
            - Verify vs health by applying one or more health monitors.
            - Active monitors generate synthetic traffic from dns service engine and to mark a vs up or down based on the response.
            - It is a reference to an object of type healthmonitor.
    health_monitor_scope:
        description:
            - Health monitor probe can be executed for all the members or it can be executed only for third-party members.
            - This operational mode is useful to reduce the number of health monitor probes in case of a hybrid scenario.
            - In such a case, avi members can have controller derived status while non-avi members can be probed by via health monitor probes in dataplane.
            - Enum options - GSLB_SERVICE_HEALTH_MONITOR_ALL_MEMBERS, GSLB_SERVICE_HEALTH_MONITOR_ONLY_NON_AVI_MEMBERS.
            - Default value when not specified in API or module is interpreted by Avi Controller as GSLB_SERVICE_HEALTH_MONITOR_ALL_MEMBERS.
    hm_off:
        description:
            - This field is an internal field and is used in se.
            - Field introduced in 18.2.2.
        version_added: "2.9"
        type: bool
    is_federated:
        description:
            - This field indicates that this object is replicated across gslb federation.
            - Field introduced in 17.1.3.
            - Default value when not specified in API or module is interpreted by Avi Controller as True.
        type: bool
    min_members:
        description:
            - The minimum number of members to distribute traffic to.
            - Allowed values are 1-65535.
            - Special values are 0 - 'disable'.
            - Field introduced in 17.2.4.
            - Default value when not specified in API or module is interpreted by Avi Controller as 0.
        version_added: "2.5"
    name:
        description:
            - Name for the gslb service.
        required: true
    num_dns_ip:
        description:
            - Number of ip addresses of this gslb service to be returned by the dns service.
            - Enter 0 to return all ip addresses.
            - Allowed values are 1-20.
            - Special values are 0- 'return all ip addresses'.
    pool_algorithm:
        description:
            - The load balancing algorithm will pick a gslb pool within the gslb service list of available pools.
            - Enum options - GSLB_SERVICE_ALGORITHM_PRIORITY, GSLB_SERVICE_ALGORITHM_GEO.
            - Field introduced in 17.2.3.
            - Default value when not specified in API or module is interpreted by Avi Controller as GSLB_SERVICE_ALGORITHM_PRIORITY.
        version_added: "2.5"
    site_persistence_enabled:
        description:
            - Enable site-persistence for the gslbservice.
            - Field introduced in 17.2.1.
            - Default value when not specified in API or module is interpreted by Avi Controller as False.
        version_added: "2.5"
        type: bool
    tenant_ref:
        description:
            - It is a reference to an object of type tenant.
    ttl:
        description:
            - Ttl value (in seconds) for records served for this gslb service by the dns service.
            - Allowed values are 0-86400.
    url:
        description:
            - Avi controller URL of the object.
    use_edns_client_subnet:
        description:
            - Use the client ip subnet from the edns option as source ipaddress for client geo-location and consistent hash algorithm.
            - Default is true.
            - Field introduced in 17.1.1.
            - Default value when not specified in API or module is interpreted by Avi Controller as True.
        type: bool
    uuid:
        description:
            - Uuid of the gslb service.
    wildcard_match:
        description:
            - Enable wild-card match of fqdn  if an exact match is not found in the dns table, the longest match is chosen by wild-carding the fqdn in the dns
            - request.
            - Default is false.
            - Field introduced in 17.1.1.
            - Default value when not specified in API or module is interpreted by Avi Controller as False.
        type: bool
extends_documentation_fragment:
    - avi
s�
- name: Example to create GslbService object
  avi_gslbservice:
    controller: 10.10.25.42
    username: admin
    password: something
    state: present
    name: sample_gslbservice
sj
obj:
    description: GslbService (api/gslbservice) object
    returned: success, changed
    type: dict
i����(t
AnsibleModule(tavi_common_argument_spectavi_ansible_apitHAS_AVIc7Cstdtdddddg�dtdddddg�d	tdd
ddg�d
tdd�dtdd�dtdd�dtdd�dtdd�dtdd�dtdd�dtdd�dtdd�dtdd�dtdd�dtdd�dtdd�d tddd!t�d"tdd�d#tdd�d$tdd�d%tdd�d&tdd�d'tdd�d(tdd�d)tdd�d*tdd��}|jt��td+|d,t�}ts�|jd-d.�St|d/tg��S(0Ntstatetdefaulttpresenttchoicestabsenttavi_api_update_methodtputtpatchtavi_api_patch_optaddtreplacetdeletet#application_persistence_profile_refttypetstrt controller_health_status_enabledtboolt
created_bytdescriptiontdomain_namestlistt
down_responsetdicttenabledtgroupsthealth_monitor_refsthealth_monitor_scopethm_offtis_federatedtmin_memberstinttnametrequiredt
num_dns_iptpool_algorithmtsite_persistence_enabledt
tenant_reftttlturltuse_edns_client_subnettuuidtwildcard_matcht
argument_spectsupports_check_modetmsgszAvi python API SDK (avisdk>=17.1) or requests is not installed. For more details visit https://github.com/avinetworks/sdk.tgslbservice(	RtTruetupdateRRRt	fail_jsonRtset(targument_specstmodule((sO/usr/lib/python2.7/site-packages/ansible/modules/network/avi/avi_gslbservice.pytmain�sJ		t__main__N(tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils.basicRt$ansible.module_utils.network.avi.aviRRRtImportErrortFalseR=t__name__(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/avi/avi_gslbservice.pyt<module>s


�
 

	*

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]