PARALLAX

aci_interface_policy_ospf

Manage OSPF interface policies on Cisco ACI

Collection: cisco.aci

Full Name: cisco.aci.aci_interface_policy_ospf

Synopsis

Manage OSPF interface policies on Cisco ACI

Parameters

NameTypeRequiredDefaultDescription
annotationstringorchestrator:ansibleUser-defined string for annotating an object. If the value is not specified in the task, the value of environment variable C(ACI_ANNOTATION) will be used instead. If the value is not specified in the task and environment variable C(ACI_ANNOTATION) then the default value will be used.
certificate_namestringThe X.509 certificate name attached to the APIC AAA user used for signature-based authentication. If a C(private_key) filename was provided, this defaults to the C(private_key) basename, without extension. If PEM-formatted content was provided for C(private_key), this defaults to the C(username) value. If the value is not specified in the task, the value of environment variable C(ACI_CERTIFICATE_NAME) will be used instead.
controlslistThe interface policy controls. This is a list of one or more of the following controls: C(advert-subnet) – Advertise IP subnet instead of a host mask in the router LSA. C(bfd) – Bidirectional Forwarding Detection C(mtu-ignore) – Disables MTU mismatch detection on an interface. C(passive) – The interface does not participate in the OSPF protocol and will not establish adjacencies or send routing updates. However the interface is announced as part of the routing network.
costintThe OSPF cost of the interface. The cost (also called metric) of an interface in OSPF is an indication of the overhead required to send packets across a certain interface. The cost of an interface is inversely proportional to the bandwidth of that interface. A higher bandwidth indicates a lower cost. There is more overhead (higher cost) and time delays involved in crossing a 56k serial line than crossing a 10M ethernet line. The formula used to calculate the cost is C(cost= 10000 0000/bandwith in bps) For example, it will cost 10 EXP8/10 EXP7 = 10 to cross a 10M Ethernet line and will cost 10 EXP8/1544000 = 64 to cross a T1 line. By default, the cost of an interface is calculated based on the bandwidth; you can force the cost of an interface with the ip ospf cost value interface subconfiguration mode command. Accepted values range between C(1) and C(450). The APIC defaults to C(0) when unset during creation.
dead_intervalintThe interval between hello packets from a neighbor before the router declares the neighbor as down. This value must be the same for all networking devices on a specific network. Specifying a smaller dead interval (seconds) will give faster detection of a neighbor being down and improve convergence, but might cause more routing instability. Accepted values range between C(1) and C(65535). The APIC defaults to C(40) when unset during creation.
descriptionstringThe description of the OSPF interface.
hello_intervalintThe interval between hello packets that OSPF sends on the interface. Note that the smaller the hello interval, the faster topological changes will be detected, but more routing traffic will ensue. This value must be the same for all routers and access servers on a specific network. Accepted values range between C(1) and C(65535). The APIC defaults to C(10) when unset during creation.
hoststringIP Address or hostname of APIC resolvable by Ansible control host. If the value is not specified in the task, the value of environment variable C(ACI_HOST) will be used instead.
name_aliasstringThe alias for the current object. This relates to the nameAlias field in ACI.
network_typestringThe OSPF interface policy network type. OSPF supports broadcast and point-to-point. The APIC defaults to C(unspecified) when unset during creation.
ospfstringThe OSPF interface policy name. This name can be between 1 and 64 alphanumeric characters. Note that you cannot change this name after the object has been saved.
output_levelstringnormalInfluence the output of this ACI module. C(normal) means the standard output, incl. C(current) dict C(info) adds informational output, incl. C(previous), C(proposed) and C(sent) dicts C(debug) adds debugging output, incl. C(filter_string), C(method), C(response), C(status) and C(url) information If the value is not specified in the task, the value of environment variable C(ACI_OUTPUT_LEVEL) will be used instead.
output_pathstringPath to a file that will be used to dump the ACI JSON configuration objects generated by the module. If the value is not specified in the task, the value of environment variable C(ACI_OUTPUT_PATH) will be used instead.
owner_keystringUser-defined string for the ownerKey attribute of an ACI object. This attribute represents a key for enabling clients to own their data for entity correlation. If the value is not specified in the task, the value of environment variable C(ACI_OWNER_KEY) will be used instead.
owner_tagstringUser-defined string for the ownerTag attribute of an ACI object. This attribute represents a tag for enabling clients to add their own data. For example, to indicate who created this object. If the value is not specified in the task, the value of environment variable C(ACI_OWNER_TAG) will be used instead.
passwordstringThe password to use for authentication. This option is mutual exclusive with C(private_key). If C(private_key) is provided too, it will be used instead. If the value is not specified in the task, the value of environment variables C(ACI_PASSWORD) or C(ANSIBLE_NET_PASSWORD) will be used instead.
portintPort number to be used for REST connection. The default value depends on parameter C(use_ssl). If the value is not specified in the task, the value of environment variable C(ACI_PORT) will be used instead.
prefix_suppressionstringWhether prefix suppressions is enabled or disabled. The APIC defaults to C(inherit) when unset during creation.
priorityintThe priority for the OSPF interface profile. Accepted values ranges between C(0) and C(255). The APIC defaults to C(1) when unset during creation.
private_keystringEither a PEM-formatted private key file or the private key content used for signature-based authentication. This value also influences the default C(certificate_name) that is used. This option is mutual exclusive with C(password). If C(password) is provided too, it will be ignored. If the value is not specified in the task, the value of environment variable C(ACI_PRIVATE_KEY) or C(ANSIBLE_NET_SSH_KEYFILE) will be used instead.
retransmit_intervalintThe interval between LSA retransmissions. The retransmit interval occurs while the router is waiting for an acknowledgement from the neighbor router that it received the LSA. If no acknowledgment is received at the end of the interval, then the LSA is resent. Accepted values range between C(1) and C(65535). The APIC defaults to C(5) when unset during creation.
statestringpresentUse C(present) or C(absent) for adding or removing. Use C(query) for listing an object or multiple objects.
suppress_previousboolIf C(true), a GET to check previous will not be sent before a POST update to APIC. If the value is not specified in the task, the value of environment variable C(ACI_SUPPRESS_PREVIOUS) will be used instead. The default value is C(false). WARNING - This causes the previous return value to be empty. The previous state of the object will not be checked and the POST update will contain all properties.
suppress_verificationboolIf C(true), a verifying GET will not be sent after a POST update to APIC. If the value is not specified in the task, the value of environment variable C(ACI_SUPPRESS_VERIFICATION) will be used instead. The default value is C(false). WARNING - This causes the current return value to be set to the proposed value. The current object including default values will be unverifiable in a single task.
tenantstringThe name of the Tenant the OSPF interface policy should belong to.
timeoutintThe socket level timeout in seconds. If the value is not specified in the task, the value of environment variable C(ACI_TIMEOUT) will be used instead. The default value is 30.
transmit_delayintThe delay time needed to send an LSA update packet. OSPF increments the LSA age time by the transmit delay amount before transmitting the LSA update. You should take into account the transmission and propagation delays for the interface when you set this value. Accepted values range between C(1) and C(450). The APIC defaults to C(1) when unset during creation.
use_proxyboolIf C(false), it will not use a proxy, even if one is defined in an environment variable on the target hosts. If the value is not specified in the task, the value of environment variable C(ACI_USE_PROXY) will be used instead. The default value is true.
use_sslboolIf C(false), an HTTP connection will be used instead of the default HTTPS connection. If the value is not specified in the task, the value of environment variable C(ACI_USE_SSL) will be used instead. The default value is true when the connection is local.
usernamestringThe username to use for authentication. If the value is not specified in the task, the value of environment variables C(ACI_USERNAME) or C(ANSIBLE_NET_USERNAME) will be used instead. The default value is admin.
validate_certsboolIf C(false), SSL certificates will not be validated. This should only set to C(false) when used on personally controlled sites using self-signed certificates. If the value is not specified in the task, the value of environment variable C(ACI_VALIDATE_CERTS) will be used instead. The default value is true.

Example

yaml
- {"cisco.aci.aci_interface_policy_ospf": {"host": "apic", "ospf": "ospf1", "password": "SomeSecretPassword", "state": "present", "tenant": "production", "username": "admin"}, "delegate_to": "localhost", "name": "Ensure ospf interface policy exists"}

- {"cisco.aci.aci_interface_policy_ospf": {"host": "apic", "ospf": "ospf1", "password": "SomeSecretPassword", "state": "present", "tenant": "production", "username": "admin"}, "delegate_to": "localhost", "name": "Ensure ospf interface policy does not exist"}

- {"cisco.aci.aci_interface_policy_ospf": {"host": "apic", "ospf": "ospf1", "password": "SomeSecretPassword", "state": "query", "tenant": "production", "username": "admin"}, "delegate_to": "localhost", "name": "Query an ospf interface policy", "register": "query_result"}

- {"cisco.aci.aci_interface_policy_ospf": {"host": "apic", "password": "SomeSecretPassword", "state": "query", "tenant": "production", "username": "admin"}, "delegate_to": "localhost", "name": "Query all ospf interface policies in tenant production", "register": "query_result"}
Search
    ↑ ↓ move↵ openesc close