-
Notifications
You must be signed in to change notification settings - Fork 936
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- only change the first space on the first line with \x20 is enougth for YAML and makes the YAML-file better readable - There is no Exception NoSell in device2yaml.rb => just raise - Tested the results with routeros, adding a new YAML simulation file
- Loading branch information
1 parent
04eafd1
commit f6cf93d
Showing
3 changed files
with
99 additions
and
5 deletions.
There are no files selected for viewing
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
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,79 @@ | ||
--- | ||
init_prompt: | ||
commands: | ||
/system resource print: |- | ||
\x20 uptime: 32m36s | ||
version: 7.16 (stable) | ||
build-time: 2024-09-20 13:00:27 | ||
factory-software: 7.1 | ||
free-memory: 165.6MiB | ||
total-memory: 384.0MiB | ||
cpu: QEMU | ||
cpu-count: 1 | ||
cpu-frequency: 2999MHz | ||
cpu-load: 2% | ||
free-hdd-space: 71.2MiB | ||
total-hdd-space: 89.2MiB | ||
write-sect-since-reboot: 584 | ||
write-sect-total: 584 | ||
architecture-name: x86_64 | ||
board-name: CHR QEMU Standard PC (i440FX + PIIX, 1996) | ||
platform: MikroTik | ||
/system package update print: |- | ||
\x20 channel: stable | ||
installed-version: 7.16 | ||
/system history print without-paging: |- | ||
/export show-sensitive: |- | ||
# 2024-11-16 06:25:32 by RouterOS 7.16 | ||
# software id =\x20 | ||
# | ||
/interface ethernet | ||
set [ find default-name=ether1 ] disable-running-check=no | ||
set [ find default-name=ether2 ] disable-running-check=no | ||
set [ find default-name=ether3 ] disable-running-check=no | ||
set [ find default-name=ether4 ] disable-running-check=no | ||
set [ find default-name=ether5 ] disable-running-check=no | ||
set [ find default-name=ether6 ] disable-running-check=no | ||
set [ find default-name=ether7 ] disable-running-check=no | ||
set [ find default-name=ether8 ] disable-running-check=no | ||
/port | ||
set 0 name=serial0 | ||
/ip address | ||
add address=10.0.2.100/24 interface=ether1 network=10.0.2.0 | ||
/ip dhcp-client | ||
add interface=ether1 | ||
/system note | ||
set show-at-login=no | ||
quit: |- | ||
interrupted | ||
oxidized_output: | | ||
# version: 7.16 (stable) | ||
# factory-software: 7.1 | ||
# total-memory: 384.0MiB | ||
# cpu: QEMU | ||
# cpu-count: 1 | ||
# total-hdd-space: 89.2MiB | ||
# architecture-name: x86_64 | ||
# board-name: CHR QEMU Standard PC (i440FX + PIIX, 1996) | ||
# platform: MikroTik# installed-version: 7.16# software id =\x20 | ||
# | ||
/interface ethernet | ||
set [ find default-name=ether1 ] disable-running-check=no | ||
set [ find default-name=ether2 ] disable-running-check=no | ||
set [ find default-name=ether3 ] disable-running-check=no | ||
set [ find default-name=ether4 ] disable-running-check=no | ||
set [ find default-name=ether5 ] disable-running-check=no | ||
set [ find default-name=ether6 ] disable-running-check=no | ||
set [ find default-name=ether7 ] disable-running-check=no | ||
set [ find default-name=ether8 ] disable-running-check=no | ||
/port | ||
set 0 name=serial0 | ||
/ip address | ||
add address=10.0.2.100/24 interface=ether1 network=10.0.2.0 | ||
/ip dhcp-client | ||
add interface=ether1 | ||
/system note | ||
set show-at-login=no |
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