Skip to content

Commit

Permalink
Fix(cv_facts_v3): make image bundle name key usage consistent (#513)
Browse files Browse the repository at this point in the history
* Update to make image bundle name key consistent with other modules

* Update container schema to allow imageBundle to be included

* Update documentation

* Update to make image bundle name key consistent with other modules

* Update container schema to allow imageBundle to be included

* Update documentation
  • Loading branch information
colinmacgiolla authored Oct 13, 2022
1 parent f07ebf7 commit 7844696
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ansible_collections/arista/cvp/docs/how-to/v3/cv_facts_v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ ok: [CloudVision] =>
CVPRACTEST:
configlets: []
parentContainerName: ansible-tests
image_bundle: ""
imageBundle: ""
cvp_devices:
- configlets:
- leaf-2-unit-test
Expand All @@ -84,15 +84,15 @@ ok: [CloudVision] =>
ipAddress: 192.0.2.165
serialNumber: A2BC886CB9408A0453A3CFDD9C251999
systemMacAddress: 50:00:00:d5:5d:c0
image_bundle: ""
imageBundle: ""
- configlets: []
fqdn: leaf-2-unit-test.ire.aristanetworks.com
hostname: leaf-2-unit-test
ipAddress: 192.0.2.166
parentContainerName: ansible-tests
serialNumber: 08A7E527AF711F688A6AD7D78BB5AD0A
systemMacAddress: 50:00:00:cb:38:c2
image_bundle: ""
imageBundle: ""
- configlets:
- test_configlet
fqdn: leaf-2-unit-test.ire.aristanetworks.com
Expand All @@ -101,7 +101,7 @@ ok: [CloudVision] =>
parentContainerName: ansible-tests
serialNumber: 24666013EF2271599935B4A894F356E1
systemMacAddress: 50:00:00:03:37:66
image_bundle: ""
imageBundle: ""
failed: false
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,20 @@
"type": "string"
},
"required": False
},
"imageBundle": {
"$id": "#/items/anyOf/0/properties/imageBundle",
"type": "string",
"required": False,
"title": "The name of the image bundle",
"description": "The name of the image bundle to be associated with the container.",
"default": "",
"examples": [
{"imageBundle": "spine_image_bundle"}
],
"items": {
"$id": "#/items/anyOf/0/properties/imageBundle/items"
}
}
}
}
Expand Down

0 comments on commit 7844696

Please sign in to comment.