cisco.dnac.nfv_provision – Resource module for Nfv Provision

Note

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

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

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

New in version 1.0.0: of cisco.dnac

Synopsis

  • Manage operation create of the resource Nfv Provision.

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
provisioning
list / elements=string
Nfv Provision's provisioning.
device
list / elements=string
Nfv Provision's device.
customNetworks
list / elements=string
Nfv Provision's customNetworks.
ipAddressPool
string
Nfv Provision's ipAddressPool.
name
string
Nfv Provision's name.
port
string
Nfv Provision's port.
deviceSerialNumber
string
Nfv Provision's deviceSerialNumber.
ip
string
Nfv Provision's ip.
serviceProviders
list / elements=string
Nfv Provision's serviceProviders.
serviceProvider
string
Nfv Provision's serviceProvider.
wanInterface
dictionary
Nfv Provision's wanInterface.
bandwidth
string
Nfv Provision's bandwidth.
gateway
string
Nfv Provision's gateway.
interfaceName
string
Nfv Provision's interfaceName.
ipAddress
string
Nfv Provision's ipAddress.
subnetmask
string
Nfv Provision's subnetmask.
services
list / elements=string
Nfv Provision's services.
adminPasswordHash
string
Nfv Provision's adminPasswordHash.
centralManagerIP
string
Nfv Provision's centralManagerIP.
centralRegistrationKey
string
Nfv Provision's centralRegistrationKey.
commonKey
string
Nfv Provision's commonKey.
disk
string
Nfv Provision's disk.
mode
string
Nfv Provision's mode.
systemIp
string
Nfv Provision's systemIp.
type
string
Nfv Provision's type.
subPools
list / elements=string
Nfv Provision's subPools.
gateway
string
Nfv Provision's gateway.
ipSubnet
string
Nfv Provision's ipSubnet.
name
string
Nfv Provision's name.
parentPoolName
string
Nfv Provision's parentPoolName.
type
string
Nfv Provision's type.
tagName
string
Nfv Provision's tagName.
templateParam
dictionary
Nfv Provision's templateParam.
asav
dictionary
Nfv Provision's asav.
var1
string
Nfv Provision's var1.
nfvis
dictionary
Nfv Provision's nfvis.
var1
string
Nfv Provision's var1.
vlan
list / elements=string
Nfv Provision's vlan.
id
string
Nfv Provision's id.
interfaces
string
Nfv Provision's interfaces.
network
string
Nfv Provision's network.
type
string
Nfv Provision's type.
site
dictionary
Nfv Provision's site.
area
dictionary
Nfv Provision's area.
name
string
Nfv Provision's name.
parentName
string
Nfv Provision's parentName.
building
dictionary
Nfv Provision's building.
address
string
Nfv Provision's address.
latitude
integer
Nfv Provision's latitude.
longitude
integer
Nfv Provision's longitude.
name
string
Nfv Provision's name.
parentName
string
Nfv Provision's parentName.
floor
dictionary
Nfv Provision's floor.
height
integer
Nfv Provision's height.
length
integer
Nfv Provision's length.
name
string
Nfv Provision's name.
parentName
string
Nfv Provision's parentName.
rfModel
string
Nfv Provision's rfModel.
width
integer
Nfv Provision's width.
siteProfileName
string
Nfv Provision's siteProfileName.
siteProfile
list / elements=string
Nfv Provision's siteProfile.
device
list / elements=string
Nfv Provision's device.
customNetworks
list / elements=string
Nfv Provision's customNetworks.
connectionType
string
Nfv Provision's connectionType.
name
string
Nfv Provision's name.
networkMode
string
Nfv Provision's networkMode.
servicesToConnect
list / elements=string
Nfv Provision's servicesToConnect.
service
string
Nfv Provision's service.
vlan
string
Nfv Provision's vlan.
customServices
list / elements=string
Nfv Provision's customServices.
applicationType
string
Nfv Provision's applicationType.
imageName
string
Nfv Provision's imageName.
name
string
Nfv Provision's name.
profile
string
Nfv Provision's profile.
topology
dictionary
Nfv Provision's topology.
assignIp
string
Nfv Provision's assignIp.
name
string
Nfv Provision's name.
type
string
Nfv Provision's type.
customTemplate
list / elements=string
Nfv Provision's customTemplate.
deviceType
string
Nfv Provision's deviceType.
template
string
Nfv Provision's template.
deviceType
string
Nfv Provision's deviceType.
dia
boolean
    Choices:
  • no
  • yes
Dia flag.
serviceProviders
list / elements=string
Nfv Provision's serviceProviders.
connect
boolean
    Choices:
  • no
  • yes
Connect flag.
defaultGateway
boolean
    Choices:
  • no
  • yes
DefaultGateway flag.
linkType
string
Nfv Provision's linkType.
serviceProvider
string
Nfv Provision's serviceProvider.
services
list / elements=string
Nfv Provision's services.
imageName
string
Nfv Provision's imageName.
mode
string
Nfv Provision's mode.
name
string
Nfv Provision's name.
profile
string
Nfv Provision's profile.
topology
dictionary
Nfv Provision's topology.
assignIp
string
Nfv Provision's assignIp.
name
string
Nfv Provision's name.
type
string
Nfv Provision's type.
type
string
Nfv Provision's type.
tagName
string
Nfv Provision's tagName.
vlan
list / elements=string
Nfv Provision's vlan.
id
string
Nfv Provision's id.
type
string
Nfv Provision's type.
siteProfileName
string
Nfv Provision's siteProfileName.

See Also

See also

Nfv Provision reference

Complete reference of the Nfv Provision object model.

Examples

- name: Create
  cisco.dnac.nfv_provision:
    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}}"
    provisioning:
    - device:
      - customNetworks:
        - ipAddressPool: string
          name: string
          port: string
        deviceSerialNumber: string
        ip: string
        serviceProviders:
        - serviceProvider: string
          wanInterface:
            bandwidth: string
            gateway: string
            interfaceName: string
            ipAddress: string
            subnetmask: string
        services:
        - adminPasswordHash: string
          centralManagerIP: string
          centralRegistrationKey: string
          commonKey: string
          disk: string
          mode: string
          systemIp: string
          type: string
        subPools:
        - gateway: string
          ipSubnet: string
          name: string
          parentPoolName: string
          type: string
        tagName: string
        templateParam:
          asav:
            var1: string
          nfvis:
            var1: string
        vlan:
        - id: string
          interfaces: string
          network: string
          type: string
      site:
        area:
          name: string
          parentName: string
        building:
          address: string
          latitude: 0
          longitude: 0
          name: string
          parentName: string
        floor:
          height: 0
          length: 0
          name: string
          parentName: string
          rfModel: string
          width: 0
        siteProfileName: string
    siteProfile:
    - device:
      - customNetworks:
        - connectionType: string
          name: string
          networkMode: string
          servicesToConnect:
          - service: string
          vlan: string
        customServices:
        - applicationType: string
          imageName: string
          name: string
          profile: string
          topology:
            assignIp: string
            name: string
            type: string
        customTemplate:
        - deviceType: string
          template: string
        deviceType: string
        dia: true
        serviceProviders:
        - connect: true
          defaultGateway: true
          linkType: string
          serviceProvider: string
        services:
        - imageName: string
          mode: string
          name: string
          profile: string
          topology:
            assignIp: string
            name: string
            type: string
          type: string
        tagName: string
        vlan:
        - id: string
          type: string
      siteProfileName: string

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:
{ "executionId": "string", "executionStatusUrl": "string", "message": "string" }


Authors

  • Rafael Campos (@racampos)