Remove main execution block from Quasar model and add configuration files for testing
- Eliminated the main execution block from the Quasar model for cleaner code. - Introduced new configuration files `config_1.conf` and `config_2.conf` for Quasar devices, detailing interface settings and IP configurations. - Added expected output JSON files `config_1.expected.json` and `config_2.expected.json` to validate the parsing of Quasar configurations against expected results.
This commit is contained in:
41
tests/fixtures/quasar/config_1.conf
vendored
Normal file
41
tests/fixtures/quasar/config_1.conf
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright © 2021-2022, TechArgos LLC
|
||||
# ----------- -----------------
|
||||
# Subsystem Version
|
||||
# ----------- -----------------
|
||||
# Engine 0.2.17.2022-10-21
|
||||
# DPlane 0.2.18.2022-05-16
|
||||
# BfMonitor 1.1.2.2022-08-25
|
||||
# CLI.core 1.0.3.2022-09-30
|
||||
# CLI.engine 1.2.2.2022-10-12
|
||||
# RConsole 0.3.4.2022-01-12
|
||||
# RcAppParams 0.3.1.2022-01-12
|
||||
# SNMP 0.0.11.2022-04-26
|
||||
# Zabbix 0.2.13.2022-01-26
|
||||
# WebUI 1.1.3.2022-10-19
|
||||
# BF.core 9.3.1.2021-01-30
|
||||
#
|
||||
# ------------------------- ---------------
|
||||
# Platform EEPROM field Value
|
||||
# ------------------------- ---------------
|
||||
# Product Name Quasar-T-Q-0002
|
||||
# Product Number HB4NC011234M
|
||||
# Local MAC N/A
|
||||
# Product Serial Number WEE1C1CC0004A
|
||||
# Product Version 0.0
|
||||
# System Manufacturing Date 2026-06-07
|
||||
config ethernet ipv4 address 25.25.1.221/24 gateway 25.25.1.254 enable
|
||||
|
||||
config interface 7/4 fec none mode force-up enable
|
||||
config interface 8/1 fec none mode force-up enable
|
||||
config interface 8/2 fec none mode force-up enable
|
||||
config interface 8/3 fec none mode force-up enable
|
||||
config interface 8/4 fec none mode force-up enable
|
||||
config interface 9/1 fec none mode force-up enable
|
||||
config interface 9/2 fec none mode force-up enable
|
||||
config interface 7/4 description "IN DWDM / OUT TEST_HW_08_N0_p1"
|
||||
config interface 8/1 description "IN DWDM / OUT TEST_HW_09_N1_p0"
|
||||
config interface 8/2 description "IN DWDM / OUT TEST_HW_09_N0_p0"
|
||||
config interface 8/3 description "IN DWDM / OUT TEST_HW_10_N1_p0"
|
||||
config interface 8/4 description "IN DWDM / OUT TEST_HW_10_N0_p0"
|
||||
config interface 9/1 description "IN DWDM / OUT TEST_HW_11_N0_p0"
|
||||
config interface 9/2 description "IN DWDM / OUT TEST_HW_11_N0_p1"
|
||||
Reference in New Issue
Block a user