-
Notifications
You must be signed in to change notification settings - Fork 281
Feat(eos_designs): Add act_cv_instance to target a dev CV instance #7312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
natedoot
wants to merge
7
commits into
aristanetworks:devel
Choose a base branch
from
natedoot:feat/digital-twin-cv-instance
base: devel
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
3083c04
Feat(eos_designs): Add act_cv_instance to target a specific CloudVisi…
natedoot a014acd
Fix: Use host:port format for act_cv_instance test value and simplify…
natedoot b3cfc3f
Refactor: Replace act_cv_instance with act_cv_settings using $ref to …
natedoot b58e29e
Fix: Resolve ordering bug and add missing device documentation
natedoot ffbcb23
Merge branch 'aristanetworks:devel' into feat/digital-twin-cv-instance
natedoot 663c4ea
Refactor: Rename act_cv_settings to cv_settings under digital_twin.fa…
natedoot fa23ecf
Fix: Regenerate device docs to match CI collection-installed output
natedoot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
...nsions/molecule/digital_twin/digital_twin/intended/configs/digital-twin-cv-instance-1.cfg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| ! | ||
| no enable password | ||
| no aaa root | ||
| ! | ||
| daemon TerminAttr | ||
| exec /usr/bin/TerminAttr -cvaddr=10.20.30.40:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -taillogs -cvsourceintf=Management1 | ||
| no shutdown | ||
| ! | ||
| vlan internal order ascending range 1006 1199 | ||
| ! | ||
| transceiver qsfp default-mode 4x10G | ||
| ! | ||
| service routing protocols model multi-agent | ||
| ! | ||
| hostname digital-twin-cv-instance-1 | ||
| ! | ||
| vrf instance MGMT | ||
| ! | ||
| management api http-commands | ||
| protocol https | ||
| no shutdown | ||
| ! | ||
| vrf MGMT | ||
| no shutdown | ||
| ! | ||
| interface Management1 | ||
| description OOB_MANAGEMENT | ||
| no shutdown | ||
| vrf MGMT | ||
| ip address 192.168.1.10/32 | ||
| no ip routing vrf MGMT | ||
| ! | ||
| ip route vrf MGMT 0.0.0.0/0 192.168.1.254 | ||
| ! | ||
| ntp local-interface vrf MGMT Management1 | ||
| ntp server vrf MGMT 0.pool.ntp.org prefer | ||
| ! | ||
| end |
65 changes: 65 additions & 0 deletions
65
...cule/digital_twin/digital_twin/intended/structured_configs/digital-twin-cv-instance-1.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| aaa_root: | ||
| disabled: true | ||
| config_end: true | ||
| daemon_terminattr: | ||
| cvaddrs: | ||
| - 10.20.30.40:9910 | ||
| cvauth: | ||
| method: token | ||
| token_file: /tmp/token | ||
| cvsourceintf: Management1 | ||
| cvvrf: MGMT | ||
| disable_aaa: false | ||
| smashexcludes: ale,flexCounter,hardware,kni,pulse,strata | ||
| enable_password: | ||
| disabled: true | ||
| hostname: digital-twin-cv-instance-1 | ||
| ip_igmp_snooping: | ||
| globally_enabled: true | ||
| management_api_http: | ||
| enable_https: true | ||
| enable_vrfs: | ||
| - name: MGMT | ||
| management_interfaces: | ||
| - name: Management1 | ||
| description: OOB_MANAGEMENT | ||
| shutdown: false | ||
| vrf: MGMT | ||
| ip_address: 192.168.1.10/32 | ||
| type: oob | ||
| gateway: 192.168.1.254 | ||
| metadata: | ||
| is_deployed: true | ||
| platform: vEOS-lab | ||
| fabric_name: DIGITAL_TWIN | ||
| validate_hardware: | ||
| enabled: false | ||
| digital_twin: | ||
| environment: act | ||
| node_type: veos | ||
| ip_addr: 192.168.1.10/32 | ||
| version: 4.33.1.1F | ||
| username: cvpadmin | ||
| password: cvp123! | ||
| ntp: | ||
| local_interface: | ||
| name: Management1 | ||
| vrf: MGMT | ||
| servers: | ||
| - name: 0.pool.ntp.org | ||
| preferred: true | ||
| vrf: MGMT | ||
| service_routing_protocols_model: multi-agent | ||
| static_routes: | ||
| - vrf: MGMT | ||
| prefix: 0.0.0.0/0 | ||
| next_hop: 192.168.1.254 | ||
| transceiver_qsfp_default_mode_4x10: true | ||
| vlan_internal_order: | ||
| allocation: ascending | ||
| range: | ||
| beginning: 1006 | ||
| ending: 1199 | ||
| vrfs: | ||
| - name: MGMT | ||
| ip_routing: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
...ista/avd/extensions/molecule/digital_twin/intended/configs/digital-twin-cv-instance-1.cfg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| ! | ||
| no enable password | ||
| no aaa root | ||
| ! | ||
| daemon TerminAttr | ||
| exec /usr/bin/TerminAttr -cvaddr=192.168.200.11:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -taillogs -cvsourceintf=Management1 | ||
| no shutdown | ||
| ! | ||
| vlan internal order ascending range 1006 1199 | ||
| ! | ||
| transceiver qsfp default-mode 4x10G | ||
| ! | ||
| service routing protocols model multi-agent | ||
| ! | ||
| hostname digital-twin-cv-instance-1 | ||
| ! | ||
| vrf instance MGMT | ||
| ! | ||
| management api http-commands | ||
| protocol https | ||
| no shutdown | ||
| ! | ||
| vrf MGMT | ||
| no shutdown | ||
| ! | ||
| interface Management1 | ||
| description OOB_MANAGEMENT | ||
| no shutdown | ||
| vrf MGMT | ||
| ip address 192.168.1.10/32 | ||
| no ip routing vrf MGMT | ||
| ! | ||
| ip route vrf MGMT 0.0.0.0/0 192.168.1.254 | ||
| ! | ||
| ntp local-interface vrf MGMT Management1 | ||
| ntp server vrf MGMT 0.pool.ntp.org prefer | ||
| ! | ||
| end | ||
55 changes: 55 additions & 0 deletions
55
...tensions/molecule/digital_twin/intended/structured_configs/digital-twin-cv-instance-1.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| aaa_root: | ||
| disabled: true | ||
| config_end: true | ||
| daemon_terminattr: | ||
| cvaddrs: | ||
| - 192.168.200.11:9910 | ||
| cvauth: | ||
| method: token | ||
| token_file: /tmp/token | ||
| cvsourceintf: Management1 | ||
| cvvrf: MGMT | ||
| disable_aaa: false | ||
| smashexcludes: ale,flexCounter,hardware,kni,pulse,strata | ||
| enable_password: | ||
| disabled: true | ||
| hostname: digital-twin-cv-instance-1 | ||
| ip_igmp_snooping: | ||
| globally_enabled: true | ||
| management_api_http: | ||
| enable_https: true | ||
| enable_vrfs: | ||
| - name: MGMT | ||
| management_interfaces: | ||
| - name: Management1 | ||
| description: OOB_MANAGEMENT | ||
| shutdown: false | ||
| vrf: MGMT | ||
| ip_address: 192.168.1.10/32 | ||
| type: oob | ||
| gateway: 192.168.1.254 | ||
| metadata: | ||
| is_deployed: true | ||
| fabric_name: DIGITAL_TWIN | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
| ntp: | ||
| local_interface: | ||
| name: Management1 | ||
| vrf: MGMT | ||
| servers: | ||
| - name: 0.pool.ntp.org | ||
| preferred: true | ||
| vrf: MGMT | ||
| service_routing_protocols_model: multi-agent | ||
| static_routes: | ||
| - vrf: MGMT | ||
| prefix: 0.0.0.0/0 | ||
| next_hop: 192.168.1.254 | ||
| transceiver_qsfp_default_mode_4x10: true | ||
| vlan_internal_order: | ||
| allocation: ascending | ||
| range: | ||
| beginning: 1006 | ||
| ending: 1199 | ||
| vrfs: | ||
| - name: MGMT | ||
| ip_routing: false | ||
29 changes: 29 additions & 0 deletions
29
...a/avd/extensions/molecule/digital_twin/inventory/host_vars/digital-twin-cv-instance-1.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --- | ||
| # Test that act_cv_settings overrides cv_settings for daemon_terminattr in ACT Digital Twin mode. | ||
| type: l2leaf | ||
|
|
||
| l2leaf: | ||
| nodes: | ||
| - name: digital-twin-cv-instance-1 | ||
| id: 1 | ||
| mgmt_ip: 192.168.1.10/32 | ||
| mgmt_gateway: 192.168.1.254 | ||
|
|
||
| digital_twin: | ||
| environment: act | ||
| fabric: | ||
| act_cv_settings: | ||
| onprem_clusters: | ||
| - name: dev | ||
| servers: | ||
| - name: 10.20.30.40 | ||
|
|
||
| cv_settings: | ||
| onprem_clusters: | ||
| - name: production | ||
| servers: | ||
| - name: 192.168.200.11 | ||
|
|
||
| ntp_settings: | ||
| servers: | ||
| - name: 0.pool.ntp.org |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.