cisco.dnac.nfv_profile_info – Information module for Nfv Profile

Note

This plugin is part of the cisco.dnac collection (version 3.1.5).

To install it use: ansible-galaxy collection install cisco.dnac.

To use it in a playbook, specify: cisco.dnac.nfv_profile_info.

New in version 1.0.0: of cisco.dnac

Synopsis

  • Get Nfv Profile by id.

Note

This module has a corresponding action plugin.

Requirements

The below requirements are needed on the host that executes this module.

  • dnacentersdk

Parameters

Parameter Choices/Defaults Comments
headers
dictionary
Additional headers.
id
string
Id path parameter. ID of network profile to retrieve.
limit
string
Limit query parameter. Number of profile to be retrieved.
name
string
Name query parameter. Name of network profile to be retrieved.
offset
string
Offset query parameter. Offset/starting row.

See Also

See also

Nfv Profile reference

Complete reference of the Nfv Profile object model.

Examples

- name: Get Nfv Profile by id
  cisco.dnac.nfv_profile_info:
    dnac_host: "{{dnac_host}}"
    dnac_username: "{{dnac_username}}"
    dnac_password: "{{dnac_password}}"
    dnac_verify: "{{dnac_verify}}"
    dnac_port: "{{dnac_port}}"
    dnac_version: "{{dnac_version}}"
    dnac_debug: "{{dnac_debug}}"
    headers:
      custom: value
    offset: string
    limit: string
    name: string
    id: string
  register: result

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
dnac_response
dictionary
always
A dictionary or list with the response returned by the Cisco DNAC Python SDK

Sample:
{ "response": [ { "profileName": "string", "id": "string", "device": [ { "deviceType": "string", "deviceTag": "string", "serviceProviderProfile": [ { "linkType": "string", "connect": true, "connectDefaultGatewayOnWan": true, "serviceProvider": "string" } ], "directInternetAccessForFirewall": true, "services": [ { "serviceType": "string", "profileType": "string", "serviceName": "string", "imageName": "string", "vNicMapping": [ { "networkType": "string", "assignIpAddressToNetwork": true } ], "firewallMode": "string" } ], "customNetworks": [ { "networkName": "string", "servicesToConnect": [ { "serviceName": "string" } ], "connectionType": "string", "vlanMode": "string", "vlanId": "string" } ], "vlanForL2": [ { "vlanType": "string", "vlanId": "string", "vlanDescription": "string" } ], "customTemplate": [ { "deviceType": "string", "template": "string", "templateType": "string" } ] } ] } ] }


Authors

  • Rafael Campos (@racampos)