Key |
Returned |
Description |
changed
bool
|
success |
Signifies if a change was made to the configlet
Sample:
True
|
currentConfigBlock
string
|
when action = show |
The current config block for the user specified interface
Sample:
interface Ethernet4
!
|
fullConfig
string
|
when action = add or remove |
The full config of the configlet after being updated
Sample:
!
interface Ethernet3
!
interface Ethernet4
!
|
newConfigBlock
string
|
when action = add or remove |
The new config block for the user specified interface
Sample:
interface Ethernet3
description example
no switchport
!
|
oldConfigBlock
string
|
when action = add or remove |
The current config block for the user specified interface before any changes are made
Sample:
interface Ethernet3
!
|
portConfigurable
bool
|
success |
Signifies if the user specified port has an entry in the configlet that Ansible has access to
Sample:
True
|
switchConfigurable
bool
|
success |
Signifies if the user specified switch has a configlet applied to it that CVP is allowed to edit
Sample:
True
|
switchInfo
dictionary
|
success |
Information from CVP describing the switch being configured
Sample:
{'architecture': 'i386', 'bootupTimeStamp': 1491264298.21, 'complianceCode': '0000', 'complianceIndication': 'NONE', 'deviceInfo': 'Registered', 'deviceStatus': 'Registered', 'fqdn': 'veos1', 'hardwareRevision': '', 'internalBuildId': '12-12', 'internalVersion': '4.17.1F-11111.4171F', 'ipAddress': '192.168.1.20', 'isDANZEnabled': 'no', 'isMLAGEnabled': 'no', 'key': '00:50:56:5d:e5:e0', 'lastSyncUp': 1496432895799, 'memFree': 472976, 'memTotal': 1893460, 'modelName': 'vEOS', 'parentContainerId': 'container_13_5776759195930', 'serialNumber': '', 'systemMacAddress': '00:50:56:5d:e5:e0', 'taskIdList': [], 'tempAction': None, 'type': 'netelement', 'unAuthorized': False, 'version': '4.17.1F', 'ztpMode': 'false'}
|
taskCompleted
bool
|
when action = add or remove, and auto_run = true, and configuration changes |
Signifies if the task created and executed has completed successfully
Sample:
True
|
taskCreated
bool
|
when action = add or remove, and auto_run = true or false, and configuration changes |
Signifies if a task was created due to configlet changes
Sample:
True
|
taskExecuted
bool
|
when action = add or remove, and auto_run = true, and configuration changes |
Signifies if the automation executed the spawned task
Sample:
True
|
taskId
string
|
when action = add or remove, and auto_run = true or false, and configuration changes |
The task ID created by CVP because of changes to configlet
Sample:
500
|
updateConfigletResponse
string
|
when action = add or remove and configuration changes |
Response returned from CVP when configlet update is triggered
Sample:
Configlet veos1-server successfully updated and task initiated.
|