Skip to content
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

Added SONiC node and image definitions #53

Merged
merged 9 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions node-definitions/sonic/README.md
xorrkaz marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
This directory contains the node definition for SONiC


# Notes

default username and password are admin/YourPaSsWoRd
mgmt interface defaults to dhcp

download community image here: https://sonic.software
documentation can be found here: https://github.com/sonic-net/sonic/wiki

![](/readme_images/sonic-boot.png)

![](/readme_images/sonic-ifconfig.png)
58 changes: 58 additions & 0 deletions node-definitions/sonic/SONiCv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
id: SONiCv
general:
nature: switch
read_only: false
device:
interfaces:
has_loopback_zero: true
physical:
- Eth0
- Ethernet0
xorrkaz marked this conversation as resolved.
Show resolved Hide resolved
- Ethernet4
- Ethernet8
- Ethernet12
- Ethernet16
- Ethernet20
- Ethernet24
- Ethernet28
serial_ports: 1
default_count: 9
loopback:
- Loopback0
ui:
visible: true
label_prefix: SONiCv-
icon: switch
label: SONiC Virtual Switch (VM)
sim:
linux_native:
libvirt_domain_driver: kvm
driver: server
disk_driver: virtio
ram: 4096
cpus: 2
cpu_limit: 100
nic_driver: e1000
efi_boot: false
boot:
completed:
- sonic login
timeout: 240
uses_regex: false
inherited:
image:
ram: true
cpus: true
cpu_limit: true
data_volume: true
boot_disk_size: true
node:
ram: true
cpus: true
cpu_limit: true
data_volume: true
boot_disk_size: true
configuration:
generator:
driver: null
schema_version: 0.0.1
Binary file added readme_images/sonic-boot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme_images/sonic-ifconfig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions virl-base-images/sonic/SONiCv-20240406-8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
id: SONiCv-20240406-8
node_definition_id: SONiCv
description: ''
label: SONiC Virtual Switch (Build 20240406)
disk_image: sonic-vs-20240406-8.qcow2
read_only: false
disk_subfolder: SONiCv-20240406-8
schema_version: 0.0.1
8 changes: 8 additions & 0 deletions virl-base-images/sonic/SONiCv-Enterprise-4.2.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
id: SONiCv-Enterprise-4.2.0
node_definition_id: SONiCv
description: ''
label: SONiCv Enterprise 4.2.0 (Dell)
disk_image: Enterprise_SONiC_OS_4.2.0.qcow2
read_only: false
disk_subfolder: SONiCv-Enterprise-4.2.0
schema_version: 0.0.1
Loading