Skip to content

Instantly share code, notes, and snippets.

@matsimon
Created October 7, 2020 07:29
Show Gist options
  • Select an option

  • Save matsimon/aeba91b986a07a2fd12ec3e2a0e8b638 to your computer and use it in GitHub Desktop.

Select an option

Save matsimon/aeba91b986a07a2fd12ec3e2a0e8b638 to your computer and use it in GitHub Desktop.
M4300: Test YML files
---
# sw-m4300-demo
clock:
offset_hours: 10
timezone_acronym: AEST
fastpath:
vendor: netgear
family: m4300
ntp:
client_mode: broadcast
management:
interface_type: vlan
vlan: 100
ipv4_address: 192.0.2.10
ipv4_netmask: 255.255.255.0
ipv4_gateway: 192.0.2.1
ipv6_address: 2001:db8::10
ipv6_prefix_length: 64
ipv6_gateway: 2001:db8::1
snmp:
location: Rack 1
contact: example@example.org
stack_members:
- id: 1
priority: 15
type: 4
users:
- name: admin
password_hash: ThisIsNoValidPasswordHash
level: 15
- name: guest
password_hash: ThisIsNoValidPasswordHash
level: 1
vlan_routing_interfaces:
- id: 100
ipv4_address: 192.0.2.10
ipv4_netmask: 255.255.255.0
# --- interfaces ---
interfaces:
- name: 1/0/1
enabled: true
description: tank:eno1
- name: 1/0/2
enabled: false
vlan_list: 1,10,12
vlans:
- id: 1
name: default
routing_enabled: false
- id: 10
name: lan-mgmt
routing_enabled: true
routing_id: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment