Skip to content

Commit

Permalink
Modernize CHR based on current Mikrotik docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jclarke-csco committed Sep 23, 2024
1 parent 6095458 commit 04c75b0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 20 deletions.
2 changes: 1 addition & 1 deletion node-definitions/mikrotik/chr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ qemu-img convert -O qcow2 chr-6.47.img chr-6.47.qcow2
### Description

This node definition provides for a MikroTik Cloud Hosted Router node with four default ethernet interfaces and the ability to add up to
16. The node requires 1 vCPUs and 256 MB of RAM.
16. The node requires 1 vCPUs and 1 GB of RAM which meets the requirements to run the latest RouterOS.

This node provides a serial console.
35 changes: 16 additions & 19 deletions node-definitions/mikrotik/chr/chr.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,37 @@
id: chr
sim:
linux_native:
driver: iosv
driver: server
libvirt_domain_driver: kvm
nic_driver: virtio
disk_driver: virtio
ram: 256
ram: 1024
cpus: 1
cpu_limit: 100
general:
nature: router
description: MikroTik Cloud Hosted Router
read_only: true
description: |-
MikroTik Cloud Hosted Router
See https://help.mikrotik.com/docs/display/ROS/RouterOS for configuration documentation.
read_only: false
schema_version: 0.0.1
inherited:
image:
ram: true
cpus: false
data_volume: false
boot_disk_size: false
cpu_limit: true
node:
ram: true
cpus: false
data_volume: false
boot_disk_size: false
cpu_limit: true
configuration:
generator:
driver: iosv
provisioning:
volume_name: disk
media_type: fat
files:
- name: ios_config.txt
content: ''
editable: true
driver: server
device:
interfaces:
physical:
Expand All @@ -52,17 +51,16 @@ device:
- ether14
- ether15
- ether16
has_loopback_zero: false
has_loopback_zero: true
default_count: 4
serial_ports: 1
loopback:
- lo
boot:
timeout: 60
completed:
- MikroTik Login
pyats:
os: ios
series: iosv
config_extract_command: show run
uses_regex: false
ui:
group: Others
icon: router
Expand All @@ -72,5 +70,4 @@ ui:
description: |-
MikroTik Cloud Hosted Router
256 MB DRAM, 1 vCPU
1 GB DRAM, 1 vCPU

0 comments on commit 04c75b0

Please sign in to comment.