addConnectTest

The addConnectTest operation handles configuration related to ConnectTest model. 

Data Parameters

Parameter Required Type Description
destination True string An optional string that specifies the destination to test. The default is www.cisco.com. You can enter an IPv4 address or a fully-qualified domain name.
Field level constraints: cannot be null, must be a valid host (FQDN or IP) or a list of valid hosts. (Note: Additional constraints might exist)
connected False boolean A boolean value, TRUE or FALSE (the default). The TRUE value specifies that the connection is established. FALSE indicates the connection is not established.
msg False string A string representing the message when the connection fails.
interface False object An interface object through which connectivity to a specific destination would be tested.
Allowed types are: [BridgeGroupInterface, EtherChannelInterface, PhysicalInterface, SubInterface, VirtualTunnelInterface, VlanInterface]
type True string A UTF8 string, all letters lower-case, that represents the class-type. This corresponds to the class name.

Example

- name: Execute 'addConnectTest' operation
  ftd_configuration:
    operation: "addConnectTest"
    data:
        destination: "{{ destination }}"
        connected: "{{ connected }}"
        msg: "{{ msg }}"
        interface: "{{ interface }}"
        type: "{{ type }}"