ngine_io / ngine_io.cloudstack / 2.3.0 / module / cs_traffic_type Manages traffic types on CloudStack Physical Networks | "added in version" 0.1.0 of ngine_io.cloudstack" Authors: Patryk Cichy (@PatTheSilent)ngine_io.cloudstack.cs_traffic_type (2.3.0) — module
Install with ansible-galaxy collection install ngine_io.cloudstack:==2.3.0
collections: - name: ngine_io.cloudstack version: 2.3.0
Add, remove, update Traffic Types associated with CloudStack Physical Networks.
- name: add a traffic type ngine_io.cloudstack.cs_traffic_type: physical_network: public-network traffic_type: Guest zone: test-zone
- name: update traffic type ngine_io.cloudstack.cs_traffic_type: physical_network: public-network traffic_type: Guest kvm_networklabel: cloudbr0 zone: test-zone
- name: remove traffic type ngine_io.cloudstack.cs_traffic_type: physical_network: public-network traffic_type: Public state: absent zone: test-zone
vlan: description: - The VLAN id to be used for Management traffic by VMware host. type: str zone: description: - Name of the zone with the physical network. required: true type: str state: choices: - present - absent default: present description: - State of the traffic type type: str api_key: description: - API key of the CloudStack API. - If not given, the C(CLOUDSTACK_KEY) env variable is considered. required: true type: str api_url: description: - URL of the CloudStack API e.g. https://cloud.example.com/client/api. - If not given, the C(CLOUDSTACK_ENDPOINT) env variable is considered. required: true type: str api_secret: description: - Secret key of the CloudStack API. - If not set, the C(CLOUDSTACK_SECRET) env variable is considered. required: true type: str poll_async: default: true description: - Poll async jobs until job has finished. type: bool api_timeout: default: 10 description: - HTTP timeout in seconds. - If not given, the C(CLOUDSTACK_TIMEOUT) env variable is considered. type: int traffic_type: choices: - Management - Guest - Public - Storage description: - the trafficType to be added to the physical network. required: true type: str api_http_method: choices: - get - post default: get description: - HTTP method used to query the API endpoint. - If not given, the C(CLOUDSTACK_METHOD) env variable is considered. type: str isolation_method: choices: - vlan - vxlan description: - Use if the physical network has multiple isolation types and traffic type is public. type: str kvm_networklabel: description: - The network name label of the physical device dedicated to this traffic on a KVM host. type: str physical_network: description: - the name of the Physical Network required: true type: str xen_networklabel: description: - The network name label of the physical device dedicated to this traffic on a XenServer host. type: str ovm3_networklabel: description: - The network name of the physical device dedicated to this traffic on an OVM3 host. type: str api_verify_ssl_cert: description: - Verify CA authority cert file. - If not given, the C(CLOUDSTACK_VERIFY) env variable is considered. type: str hyperv_networklabel: description: - The network name label of the physical device dedicated to this traffic on a HyperV host. type: str vmware_networklabel: description: - The network name label of the physical device dedicated to this traffic on a VMware host. type: str
hyperv_networklabel: description: The network name label of the physical device dedicated to this traffic on a HyperV host returned: success sample: HyperV Internal Switch type: str id: description: ID of the network provider returned: success sample: 659c1840-9374-440d-a412-55ca360c9d3c type: str kvm_networklabel: description: The network name label of the physical device dedicated to this traffic on a KVM host returned: success sample: cloudbr0 type: str ovm3_networklabel: description: The network name of the physical device dedicated to this traffic on an OVM3 host returned: success sample: cloudbr0 type: str physical_network: description: the physical network this belongs to returned: success sample: 28ed70b7-9a1f-41bf-94c3-53a9f22da8b6 type: str traffic_type: description: the trafficType that was added to the physical network returned: success sample: Public type: str vmware_networklabel: description: The network name label of the physical device dedicated to this traffic on a VMware host returned: success sample: Management Network type: str xen_networklabel: description: The network name label of the physical device dedicated to this traffic on a XenServer host returned: success sample: xenbr0 type: str zone: description: Name of zone the physical network is in. returned: success sample: ch-gva-2 type: str