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:
43
tests/fixtures/quasar/config_2.conf
vendored
Normal file
43
tests/fixtures/quasar/config_2.conf
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright © 2021-2024, TechArgos LLC
|
||||
# ----------- ------------------
|
||||
# Component Version
|
||||
# ----------- ------------------
|
||||
# Assembly 0.2.23_9.9.1_GA
|
||||
# Engine 2.23.15.2024-08-22
|
||||
# DPlane 0.2.20.2023-10-17
|
||||
# BfMonitor 1.4.0.2024-08-27
|
||||
# CLI.core 1.0.3.2022-09-30
|
||||
# CLI.engine 1.3.4.2024-08-22
|
||||
# RConsole 1.0.1.2022-12-23
|
||||
# RcAppParams 1.0.1.2022-12-23
|
||||
# SNMP 0.3.0.2024-07-08
|
||||
# Zabbix 0.2.13.2022-01-26
|
||||
# WebUI 1.3.34.2024-08-30
|
||||
# NMS.agent 1.2.12.2024-08-21
|
||||
# SysLog 0.7.12.2024-02-02
|
||||
# NTPd 0.1.5.2024-07-15
|
||||
# AAA 0.0.8.2023-11-16
|
||||
#
|
||||
# ------------------------- --------------------
|
||||
# Platform EEPROM field Value
|
||||
# ------------------------- --------------------
|
||||
# Product Name D5232C-T
|
||||
# Part Number TA-PB-D5232C-T-AC-PI
|
||||
# Local MAC N/A
|
||||
# Product Serial Number WHF1C87123456A
|
||||
# Product Version 0.0
|
||||
# System Manufacturing Date 2026-06-07
|
||||
config ethernet ipv4 address 25.25.18.19/24 gateway 25.25.18.254 enable
|
||||
config interface 1/1 description "TEST_HW_1_1"
|
||||
config interface 1/3 description "TEST_HW_1_3"
|
||||
config interface 2/1 description "TEST_HW_2_1"
|
||||
config interface 2/2 description "TEST_HW_2_2"
|
||||
config interface 2/3 description "TEST_HW_2_3"
|
||||
config interface 2/4 description "TEST_HW_2_4"
|
||||
config interface 3/1 description "TEST_HW_3_1"
|
||||
config interface 3/3 description "TEST_HW_3_3"
|
||||
config interface 3/4 description "TEST_HW_3_4"
|
||||
config interface 4/1 description "TEST_HW_4_1"
|
||||
config interface 4/2 description "TEST_HW_4_2"
|
||||
config interface 4/3 description "TEST_HW_4_3"
|
||||
config interface 4/4 description "TEST_HW_4_4"
|
||||
Reference in New Issue
Block a user