-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Doc(eos_designs): Update custom_structured_config doc following merge…
… changes in 4.0.0 (#4611)
- Loading branch information
1 parent
ab442bc
commit 5acf449
Showing
5 changed files
with
304 additions
and
39 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
.../avd/molecule/eos_designs_unit_tests/intended/configs/custom-structured-configuration.cfg
This file contains 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,39 @@ | ||
! | ||
no enable password | ||
no aaa root | ||
! | ||
username csc-1-operator privilege 1 role network-operator secret sha512 $6$rkvZergVBQ09WJte$.6wtRT8ITilT06pdXS0s5u7M.7G54B8xPPqKTPIhqyCkw6/QgqP2j4yoYAo7YKVU/S3Ra8p23kMtbdHsoBWIk. | ||
username csc-2-operator privilege 2 role network-operator secret sha512 $6$rkvZergVBQ09WJte$.6wtRT8ITilT06pdXS0s5u7M.7G54B8xPPqKTPIhqyCkw6/QgqP2j4yoYAo7YKVU/S3Ra8p23kMtbdHsoBWIk. | ||
username eos-designs-admin privilege 15 role network-operator secret sha512 $6$rkvZergVBQ09WJte$.6wtRT8ITilT06pdXS0s5u7M.7G54B8xPPqKTPIhqyCkw6/QgqP2j4yoYAo7YKVU/S3Ra8p23kMtbdHsoBWIk. | ||
username shared-admin privilege 1 role network-admin secret sha512 $6$.zTjeujnuMZW7h2h$/hPDMlovWAmf9SpdTsiUiYyy6iI.prNyG9aYZV8NCp1hmeSwOhO3h5PGCIhfFrykhQj/oFXak49h8TmanME2M. | ||
username shared-operator privilege 2 role network-operator secret sha512 $6$rkvZergVBQ09WJte$.6wtRT8ITilT06pdXS0s5u7M.7G54B8xPPqKTPIhqyCkw6/QgqP2j4yoYAo7YKVU/S3Ra8p23kMtbdHsoBWIk. | ||
username super-shared-admin privilege 2 role network-admin secret sha512 $6$.zTjeujnuMZW7h2h$/hPDMlovWAmf9SpdTsiUiYyy6iI.prNyG9aYZV8NCp1hmeSwOhO3h5PGCIhfFrykhQj/oFXak49h8TmanME2M. | ||
! | ||
vlan internal order ascending range 1006 1199 | ||
! | ||
transceiver qsfp default-mode 4x10G | ||
! | ||
service routing protocols model multi-agent | ||
! | ||
hostname custom-structured-configuration | ||
ip name-server vrf VRF1 192.168.42.1 | ||
ip name-server vrf VRF2 192.168.42.1 | ||
ip name-server vrf VRF1 192.168.42.4 | ||
ip name-server vrf VRF2 192.168.42.8 | ||
ip name-server vrf MGMT 192.168.42.10 | ||
ip name-server vrf VRF1 192.168.42.10 | ||
ip name-server vrf MGMT 192.168.42.40 | ||
ip name-server vrf VRF2 192.168.42.40 | ||
ip name-server vrf MGMT 192.168.42.50 | ||
! | ||
vrf instance MGMT | ||
! | ||
management api http-commands | ||
protocol https | ||
no shutdown | ||
! | ||
vrf MGMT | ||
no shutdown | ||
no ip routing vrf MGMT | ||
! | ||
end |
73 changes: 73 additions & 0 deletions
73
...le/eos_designs_unit_tests/intended/structured_configs/custom-structured-configuration.yml
This file contains 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,73 @@ | ||
hostname: custom-structured-configuration | ||
is_deployed: true | ||
service_routing_protocols_model: multi-agent | ||
vlan_internal_order: | ||
allocation: ascending | ||
range: | ||
beginning: 1006 | ||
ending: 1199 | ||
aaa_root: | ||
disabled: true | ||
config_end: true | ||
enable_password: | ||
disabled: true | ||
transceiver_qsfp_default_mode_4x10: true | ||
ip_name_servers: | ||
- ip_address: 192.168.42.10 | ||
vrf: MGMT | ||
- ip_address: 192.168.42.40 | ||
vrf: MGMT | ||
- ip_address: 192.168.42.50 | ||
vrf: MGMT | ||
- ip_address: 192.168.42.1 | ||
vrf: VRF1 | ||
- ip_address: 192.168.42.10 | ||
vrf: VRF1 | ||
- ip_address: 192.168.42.4 | ||
vrf: VRF1 | ||
- ip_address: 192.168.42.1 | ||
vrf: VRF2 | ||
- ip_address: 192.168.42.40 | ||
vrf: VRF2 | ||
- ip_address: 192.168.42.8 | ||
vrf: VRF2 | ||
local_users: | ||
- name: eos-designs-admin | ||
disabled: false | ||
privilege: 15 | ||
role: network-operator | ||
sha512_password: $6$rkvZergVBQ09WJte$.6wtRT8ITilT06pdXS0s5u7M.7G54B8xPPqKTPIhqyCkw6/QgqP2j4yoYAo7YKVU/S3Ra8p23kMtbdHsoBWIk. | ||
- name: shared-admin | ||
disabled: false | ||
privilege: 1 | ||
role: network-admin | ||
sha512_password: $6$.zTjeujnuMZW7h2h$/hPDMlovWAmf9SpdTsiUiYyy6iI.prNyG9aYZV8NCp1hmeSwOhO3h5PGCIhfFrykhQj/oFXak49h8TmanME2M. | ||
- name: shared-operator | ||
disabled: false | ||
privilege: 2 | ||
role: network-operator | ||
sha512_password: $6$rkvZergVBQ09WJte$.6wtRT8ITilT06pdXS0s5u7M.7G54B8xPPqKTPIhqyCkw6/QgqP2j4yoYAo7YKVU/S3Ra8p23kMtbdHsoBWIk. | ||
- name: super-shared-admin | ||
disabled: false | ||
privilege: 2 | ||
role: network-admin | ||
sha512_password: $6$.zTjeujnuMZW7h2h$/hPDMlovWAmf9SpdTsiUiYyy6iI.prNyG9aYZV8NCp1hmeSwOhO3h5PGCIhfFrykhQj/oFXak49h8TmanME2M. | ||
- name: csc-1-operator | ||
disabled: false | ||
privilege: 1 | ||
role: network-operator | ||
sha512_password: $6$rkvZergVBQ09WJte$.6wtRT8ITilT06pdXS0s5u7M.7G54B8xPPqKTPIhqyCkw6/QgqP2j4yoYAo7YKVU/S3Ra8p23kMtbdHsoBWIk. | ||
- name: csc-2-operator | ||
disabled: false | ||
privilege: 2 | ||
role: network-operator | ||
sha512_password: $6$rkvZergVBQ09WJte$.6wtRT8ITilT06pdXS0s5u7M.7G54B8xPPqKTPIhqyCkw6/QgqP2j4yoYAo7YKVU/S3Ra8p23kMtbdHsoBWIk. | ||
vrfs: | ||
- name: MGMT | ||
ip_routing: false | ||
management_api_http: | ||
enable_vrfs: | ||
- name: MGMT | ||
enable_https: true | ||
ip_igmp_snooping: | ||
globally_enabled: true |
90 changes: 90 additions & 0 deletions
90
...d/molecule/eos_designs_unit_tests/inventory/host_vars/custom-structured-configuration.yml
This file contains 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,90 @@ | ||
type: l2leaf | ||
l2leaf: | ||
defaults: | ||
nodes: | ||
- name: custom-structured-configuration | ||
|
||
custom_structured_configuration_prefix: | ||
- 'csc_1_' | ||
- 'csc_2_' | ||
|
||
# DATA MODEL WITH NO PRIMARY KEY | ||
|
||
name_servers: | ||
- 192.168.42.10 # Collides with csc_1_ip_name_servers | ||
- 192.168.42.40 # Collides with csc_2_ip_name_servers | ||
- 192.168.42.50 # Unique value | ||
|
||
csc_1_ip_name_servers: | ||
- ip_address: 192.168.42.1 # Collides with csc_2_ip_name_servers | ||
vrf: VRF1 | ||
- ip_address: 192.168.42.10 # Collides with eos_designs | ||
vrf: VRF1 | ||
- ip_address: 192.168.42.4 # Unique value | ||
vrf: VRF1 | ||
|
||
csc_2_ip_name_servers: | ||
- ip_address: 192.168.42.1 # Collides with csc_1_ip_name_servers | ||
vrf: VRF2 | ||
- ip_address: 192.168.42.40 # Collides with eos_designs | ||
vrf: VRF2 | ||
- ip_address: 192.168.42.8 # Unique value | ||
vrf: VRF2 | ||
|
||
# DATA MODEL WITH PRIMARY KEY | ||
|
||
local_users: | ||
- name: super-shared-admin # Collides with both csc_1_local_users and csc_2_local_users | ||
disabled: false | ||
privilege: 15 | ||
role: network-admin | ||
sha512_password: "$6$.zTjeujnuMZW7h2h$/hPDMlovWAmf9SpdTsiUiYyy6iI.prNyG9aYZV8NCp1hmeSwOhO3h5PGCIhfFrykhQj/oFXak49h8TmanME2M." | ||
- name: shared-admin # Collides with csc_1_local_users | ||
disabled: false | ||
privilege: 15 | ||
role: network-admin | ||
sha512_password: "$6$.zTjeujnuMZW7h2h$/hPDMlovWAmf9SpdTsiUiYyy6iI.prNyG9aYZV8NCp1hmeSwOhO3h5PGCIhfFrykhQj/oFXak49h8TmanME2M." | ||
- name: shared-operator # Collides with csc_2_local_users | ||
disabled: false | ||
privilege: 15 | ||
role: network-operator | ||
sha512_password: "$6$rkvZergVBQ09WJte$.6wtRT8ITilT06pdXS0s5u7M.7G54B8xPPqKTPIhqyCkw6/QgqP2j4yoYAo7YKVU/S3Ra8p23kMtbdHsoBWIk." | ||
- name: eos-designs-admin # Unique value | ||
disabled: false | ||
privilege: 15 | ||
role: network-operator | ||
sha512_password: "$6$rkvZergVBQ09WJte$.6wtRT8ITilT06pdXS0s5u7M.7G54B8xPPqKTPIhqyCkw6/QgqP2j4yoYAo7YKVU/S3Ra8p23kMtbdHsoBWIk." | ||
|
||
csc_1_local_users: | ||
- name: super-shared-admin # Collides with both eos_designs and csc_2_local_users | ||
disabled: false | ||
privilege: 1 | ||
role: network-admin | ||
sha512_password: "$6$.zTjeujnuMZW7h2h$/hPDMlovWAmf9SpdTsiUiYyy6iI.prNyG9aYZV8NCp1hmeSwOhO3h5PGCIhfFrykhQj/oFXak49h8TmanME2M." | ||
- name: shared-admin # Collides with eos_designs | ||
disabled: false | ||
privilege: 1 | ||
role: network-admin | ||
sha512_password: "$6$.zTjeujnuMZW7h2h$/hPDMlovWAmf9SpdTsiUiYyy6iI.prNyG9aYZV8NCp1hmeSwOhO3h5PGCIhfFrykhQj/oFXak49h8TmanME2M." | ||
- name: csc-1-operator # Unique value | ||
disabled: false | ||
privilege: 1 | ||
role: network-operator | ||
sha512_password: "$6$rkvZergVBQ09WJte$.6wtRT8ITilT06pdXS0s5u7M.7G54B8xPPqKTPIhqyCkw6/QgqP2j4yoYAo7YKVU/S3Ra8p23kMtbdHsoBWIk." | ||
|
||
csc_2_local_users: | ||
- name: super-shared-admin # Collides with both eos_designs and csc_1_local_users | ||
disabled: false | ||
privilege: 2 | ||
role: network-admin | ||
sha512_password: "$6$.zTjeujnuMZW7h2h$/hPDMlovWAmf9SpdTsiUiYyy6iI.prNyG9aYZV8NCp1hmeSwOhO3h5PGCIhfFrykhQj/oFXak49h8TmanME2M." | ||
- name: shared-operator # Collides with eos_designs | ||
disabled: false | ||
privilege: 2 | ||
role: network-operator | ||
sha512_password: "$6$rkvZergVBQ09WJte$.6wtRT8ITilT06pdXS0s5u7M.7G54B8xPPqKTPIhqyCkw6/QgqP2j4yoYAo7YKVU/S3Ra8p23kMtbdHsoBWIk." | ||
- name: csc-2-operator # Unique value | ||
disabled: false | ||
privilege: 2 | ||
role: network-operator | ||
sha512_password: "$6$rkvZergVBQ09WJte$.6wtRT8ITilT06pdXS0s5u7M.7G54B8xPPqKTPIhqyCkw6/QgqP2j4yoYAo7YKVU/S3Ra8p23kMtbdHsoBWIk." |
This file contains 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.