Skip to content

Commit

Permalink
Doc(eos_designs): Update custom_structured_config doc following merge…
Browse files Browse the repository at this point in the history
… changes in 4.0.0 (#4611)
  • Loading branch information
alexeygorbunov authored Oct 23, 2024
1 parent ab442bc commit 5acf449
Show file tree
Hide file tree
Showing 5 changed files with 304 additions and 39 deletions.
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
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
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."
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ all:
only-connected-endpoints:
platform_settings:
varpv6:
custom-structured-configuration:
OVERRIDE_UPLINK_TYPE:
hosts:
override_uplink_type-d:
Expand Down
Loading

0 comments on commit 5acf449

Please sign in to comment.