Skip to content

Commit

Permalink
Adding terninattr for image bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivani-gslab committed Aug 4, 2023
1 parent 9da93f4 commit 79b1a3f
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

IMAGE_NAME: "vEOS-lab.swi"

EXTENSION_NAME: "TerminAttr-1.25.1-1.swix"

BUNDLE_NAME: "Test_bundle"

CVP_DEVICES_BUNDLE_ATTACHED:
Expand Down Expand Up @@ -53,13 +55,20 @@
action: add
image: "{{IMAGE_NAME}}"

- name: "Upload TerminAttr image to {{inventory_hostname}}"
arista.cvp.cv_image_v3:
mode: image
action: add
image: "{{EXTENSION_NAME}}"

- name: "Create bundle {{inventory_hostname}}"
arista.cvp.cv_image_v3:
mode: bundle
action: add
bundle_name: "{{BUNDLE_NAME}}"
image_list:
- "{{IMAGE_NAME}}"
- "{{EXTENSION_NAME}}"

- name: "Attach bundle on {{inventory_hostname}}"
arista.cvp.cv_device_v3:
Expand Down Expand Up @@ -105,6 +114,7 @@
bundle_name: "{{BUNDLE_NAME}}"
image_list:
- "{{IMAGE_NAME}}"
- "{{EXTENSION_NAME}}"

- name: "Detach configlet from {{inventory_hostname}}"
arista.cvp.cv_device_v3:
Expand Down

0 comments on commit 79b1a3f

Please sign in to comment.