-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add oneaccess oneos templates * oneaccess_oneos templates and tests * add oneaccess_oneos templates * addtional oneos commands * extra oneos commands * add oneaccess command * add oneaccess_oneos show system hardware * oneaccess_oneos voice related commands * HP Comware fix spacing allowances Fix templates if output contain tabs. * extra oneos templates * updates for passing tests * oneos updates to voice templates * add extra oneaccess_oneos and ciena_saos templates * add oneaccess_oneos show_transceiver_equipment and show_policy-interface_output * Update oneaccess_oneos_show_software-image.textfsm * Update oneaccess_oneos_show_software-image.textfsm * oneaccess_oneos add secure crashlog command * add oneaccess commands * update command alias * Update index - ip dhcp * Update oneaccess_oneos_show_running-config_ip_route.textfsm * Create oneaccess_oneos_show_ip_helper-address_statistics.textfsm * Update index * Update oneaccess_oneos_show_interfaces.textfsm * Update index * Update oneaccess_oneos_show_ip_bgp_summary.textfsm * devices with + sign were not detected * Fix black test * Remove Ciena Templates * Remove templates moving to separate branch * Remove templates moving to separate branch * Fix parsers/tests --------- Co-authored-by: mwallraf <[email protected]> Co-authored-by: Andrea Dainese <[email protected]> Co-authored-by: mwallraf <[email protected]> Co-authored-by: Josh VanDeraa <[email protected]>
- Loading branch information
1 parent
0780cae
commit e6a6084
Showing
31 changed files
with
7,379 additions
and
2 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
42 changes: 42 additions & 0 deletions
42
ntc_templates/templates/oneaccess_oneos_show_cellular-radio_network.textfsm
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,42 @@ | ||
Value Required OPERATOR (.*) | ||
Value SIGNAL_STRENGTH (.*) | ||
Value RSSI (\S+) | ||
Value RSRQ (\S+) | ||
Value RSRP (\S+) | ||
Value SNR (\S+) | ||
Value RADIO_TECHNOLOGY (\S+) | ||
Value REGISTER_STATE (\S+) | ||
Value ATTACH_STATE (\S+) | ||
Value RESETS_LOSS_REGISTRATIONS (\d+) | ||
Value RESETS_FAILED_REGISTRATIONS (\d+) | ||
Value RESETS_MODEM (\d+) | ||
Value RESETS_UNKNOWN (\d+) | ||
Value LAC (.*) | ||
Value CELL_ID (\d+) | ||
Value TAC (\d+) | ||
Value PLMN (\d+) | ||
|
||
Start | ||
^\s*Current\sselected\soperator\s+:\s+${OPERATOR} | ||
^\s*Signal\sstrength\s+:\s+${SIGNAL_STRENGTH} | ||
^\s*RSSI\s+:\s+${RSSI} | ||
^\s*RSRQ\s+:\s+${RSRQ} | ||
^\s*RSRP\s+:\s+${RSRP} | ||
^\s*SNR\s+:\s+${SNR} | ||
^\s*Current\sradio\saccess\stechnology\s+:\s+${RADIO_TECHNOLOGY} | ||
^\s*Circuit-switched\sregister\sstate\s+:\s+${REGISTER_STATE} | ||
^\s*Packet-switched\sattach\sstate\s+:\s+${ATTACH_STATE} | ||
^\s*Reset\son\sloss\sof\s(?:GPRS\s)?registration\s+:\s+${RESETS_LOSS_REGISTRATIONS} | ||
^\s*Reset\son\sfailed\sinitial\sregistration\s+:\s+${RESETS_FAILED_REGISTRATIONS} | ||
^\s*Hardware\sreset\sof\smodem\s+:\s+${RESETS_MODEM} | ||
^\s*Unknown\sreset\sof\smodem\s+:\s+${RESETS_UNKNOWN} | ||
^\s*.*\(LAC\)\s+:\s+${LAC} | ||
^\s*Cell\sID\s+:\s+${CELL_ID} | ||
^\s*.*\(TAC\)\s+:\s+${TAC} | ||
^.*Public Land Mobile Network.*:\s+${PLMN} | ||
^\s*Total\s+Ec/Io\s+: | ||
^\s*Statistics: | ||
^\s*Details: | ||
^\s*Toggle\s+w_disable\s+of\s+modem\s+: | ||
^\s*$$ | ||
^. -> Error |
15 changes: 15 additions & 0 deletions
15
ntc_templates/templates/oneaccess_oneos_show_helpers.textfsm
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,15 @@ | ||
Value Required INTERFACE (.*) | ||
Value List HELPERS (\d+\.\d+\.\d+\.\d+) | ||
|
||
Start | ||
^ip\s+forward-protocol | ||
^${INTERFACE}:\s\d+\sbroadcasts\sforwarded | ||
^\s*${HELPERS}\s*$$ -> Record | ||
^\s*${HELPERS} -> Continue | ||
^(\s*\d+\.\d+\.\d+\.\d+\s+){1}${HELPERS}\s*$$ -> Record | ||
^(\s*\d+\.\d+\.\d+\.\d+\s+){1}${HELPERS} -> Continue | ||
^(\s*\d+\.\d+\.\d+\.\d+\s+){2}${HELPERS}\s*$$ -> Record | ||
^(\s*\d+\.\d+\.\d+\.\d+\s+){2}${HELPERS} -> Continue | ||
^(\s*\d+\.\d+\.\d+\.\d+\s+){3}${HELPERS}\s*$$ -> Record | ||
^\s*$$ | ||
^. -> Error |
129 changes: 129 additions & 0 deletions
129
ntc_templates/templates/oneaccess_oneos_show_interfaces.textfsm
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,129 @@ | ||
Value Required INTERFACE (\S+(?:\s\S+)?) | ||
Value FLAGS (.*) | ||
Value IF_INDEX (\d+) | ||
Value DESCRIPTION (.*) | ||
Value LINK_STATUS (up|down) | ||
Value PROTOCOL_STATUS (up|down) | ||
Value PROMISCUOUS_MODE (\S+) | ||
Value ENCAPSULATION (.+?) | ||
Value VLAN_ID (\d+) | ||
Value IPV4_MTU (\d+) | ||
Value IPV6_MTU (\d+) | ||
Value UPTIME (\S+) | ||
Value DOWNTIME (\S+) | ||
Value STATUS_CHANGES (\d+) | ||
Value NEGOTIATION ([aA]uto|no|[Uu]nknown) | ||
Value DUPLEX (full|half|[Uu]nknown) | ||
Value IPV4 (\d+\.\d+\.\d+\.\d+\/\d+|unnumbered) | ||
Value IPV4_UNNUMBERED_INTF (.*) | ||
Value IPV4_UNNUMBERED_IP (\S+) | ||
Value IPV4_GATEWAY (\d+\.\d+\.\d+\.\d+) | ||
Value IPV4_BROADCAST (\d+\.\d+\.\d+\.\d+) | ||
Value List IPV4_SECONDARY (\d+\.\d+\.\d+\.\d+\/\d+) | ||
Value List IPV6 (\S+) | ||
Value TUNNEL_SOURCE (\S+) | ||
Value TUNNEL_DESTINATION (\S+) | ||
Value TUNNEL_PROTOCOL (\S+) | ||
Value TUNNEL_TRANSPORT (\S+) | ||
Value TUNNEL_PROTECTION_MODE (\S+) | ||
Value TUNNEL_PROTECTION_PROFILE (\S+) | ||
Value TUNNEL_VRF (\S+) | ||
Value FIREWALL_ZONE (.*) | ||
Value MAC_ADDRESS ([a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}) | ||
Value ARP_TIMEOUT (\d+) | ||
Value BANDWIDTH_KBPS (\d+|unknown) | ||
Value BANDWIDTH_LIMIT_KBPS (\d+) | ||
Value SFP_MEDIATYPE (\S+) | ||
Value INPUT_RATE (\d+) | ||
Value OUTPUT_RATE (\d+) | ||
Value INPUT_PPS (\d+) | ||
Value OUTPUT_PPS (\d+) | ||
Value INPUT_LOAD_PCT (\d+(\.\d+)?) | ||
Value OUTPUT_LOAD_PCT (\d+(\.\d+)?) | ||
Value CONGESTION_DROPPED_RX (\d+) | ||
Value CONGESTION_DROPPED_CPU (\d+) | ||
Value CONGESTION_DROPPED_TOTAL (\d+) | ||
Value BRIDGE_GROUP (\d+) | ||
Value OUTPUT_QUEUE_STRATEGY (.+) | ||
Value OUTPUT_QUEUE_LENGTH (\d+) | ||
Value OUTPUT_QUEUE_DEPTH (\d+) | ||
Value SHAPER_PACKETS_DEQUEUED (\-?\d+) | ||
Value SHAPER_BURST_CURRENT (\d+) | ||
Value SHAPER_BURST_MAX (\d+) | ||
Value RELIABILITY_VALUE (\d+) | ||
Value RELIABILITY_MAX (\d+) | ||
Value INPUT_PACKETS (\d+) | ||
Value INPUT_BYTES (\d+) | ||
Value INPUT_QDROPS (\d+) | ||
Value INPUT_BROADCASTS (\d+) | ||
Value INPUT_MULTICASTS (\d+) | ||
Value INPUT_ERRORS (\d+) | ||
Value INPUT_DISCARDS (\d+) | ||
Value INPUT_MAC_ACL_DISCARDS (\d+) | ||
Value INPUT_UNKNOWN_PROTOCOLS (\d+) | ||
Value OUTPUT_PACKETS (\d+) | ||
Value OUTPUT_BYTES (\d+) | ||
Value OUTPUT_QDROPS (\d+) | ||
Value OUTPUT_BROADCASTS (\d+) | ||
Value OUTPUT_MULTICASTS (\d+) | ||
Value OUTPUT_ERRORS (\d+) | ||
Value OUTPUT_DISCARDS (\d+) | ||
Value VRF (\S+) | ||
|
||
|
||
Start | ||
^\S+(?:\s\S+)?\s+is\s+(?:up|down),\s+line\s+protocol.*$$ -> Continue.Record | ||
^${INTERFACE}\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS}\s*$$ | ||
^\s+Flags:\s\(\S+\)\s${FLAGS},\sinterface\sindex\sis\s${IF_INDEX} | ||
^\s+Description:\s*${DESCRIPTION} | ||
^\s+Promiscuous\smode\s${PROMISCUOUS_MODE} | ||
^\s+Encapsulation:\s${ENCAPSULATION}\sVirtual\sLAN,\sVLAN\sID\s${VLAN_ID} -> Continue | ||
^\s+Encapsulation:\s${ENCAPSULATION},\s -> Continue | ||
^.*\sIPv4\sMTU\s${IPV4_MTU}\sbytes -> Continue | ||
^.*\sIPv6\sMTU\s${IPV6_MTU}\sbytes -> Continue | ||
^.*\s+MTU\s${IPV4_MTU}\sbytes | ||
^\s+Firewalls?\szone:\s${FIREWALL_ZONE} | ||
^\s+This\sinterface\sis\sassociated\sto\sVRF\s${VRF} | ||
^\s+Up-time\s${UPTIME},\sstatus\schange\scount\s${STATUS_CHANGES} | ||
^\s+Down-time\s${DOWNTIME},\sstatus\schange\scount\s${STATUS_CHANGES} | ||
^\s+${NEGOTIATION}[\-\s]negotiation,\s+${DUPLEX}[\-\s]duplex | ||
^\s+${NEGOTIATION}[\-\s]negotiation,\s+duplex[\-\s]${DUPLEX} | ||
^\s+negotiation\s+${NEGOTIATION},\s+duplex\s+${DUPLEX} | ||
^\s+Internet\saddress\sis\s${IPV4},\sdestination\saddress\sis\s${IPV4_GATEWAY} | ||
^\s+Internet\saddress\sis\s${IPV4},\sbroadcast\saddress\sis\s${IPV4_BROADCAST} | ||
^\s+Internet\saddress\sis\s${IPV4} | ||
^\s+Secondary\saddress\sis\s${IPV4_SECONDARY} | ||
^\s+Interface\sis\s${IPV4},\suse\saddress\sof\s${IPV4_UNNUMBERED_INTF}\(${IPV4_UNNUMBERED_IP}\) | ||
^\s+IPv6\saddress\sis\s${IPV6} | ||
^\s+Hardware\saddress\sis\s${MAC_ADDRESS},\sARP\stimeout\s${ARP_TIMEOUT}\ssec | ||
^\s+Line\sspeed\s${BANDWIDTH_KBPS}(\skbps,\sbandwidth\slimit\s${BANDWIDTH_LIMIT_KBPS}\skbps)? | ||
^\s+[Mm]edia\-type\s${SFP_MEDIATYPE} | ||
^\s+Mean\sinput/output\srate\s+${INPUT_RATE}/${OUTPUT_RATE}\sbits/s,\s${INPUT_PPS}/${OUTPUT_PPS}\s.* | ||
^\s+Mean\sinput/output\sload\spercentage\s+${INPUT_LOAD_PCT}/${OUTPUT_LOAD_PCT}\spercent.* | ||
^\s+Congestion\sManagement\sDropped\spackets:\s+RX:${CONGESTION_DROPPED_RX},\s*CPU:${CONGESTION_DROPPED_CPU},\s*Total:${CONGESTION_DROPPED_TOTAL} | ||
^\s+Bridged\sto\sgroup\s${BRIDGE_GROUP} | ||
^\s+Tunnel\ssource\s${TUNNEL_SOURCE},\sdestination\s${TUNNEL_DESTINATION} | ||
^\s+Tunnel\sprotocol/transport\s${TUNNEL_PROTOCOL}/${TUNNEL_TRANSPORT} | ||
^\s+Tunnel\sprotection\svia\s${TUNNEL_PROTECTION_MODE}\s\(profile\s\"${TUNNEL_PROTECTION_PROFILE}\"\) | ||
^\s+This\sinterface\sis\sassociated\sto\sTunnel\sVRF\s${TUNNEL_VRF} | ||
^\s+Output\squeuing\sstrategy:\s*${OUTPUT_QUEUE_STRATEGY},\s*output\squeue\slength/depth\s${OUTPUT_QUEUE_LENGTH}/${OUTPUT_QUEUE_DEPTH} | ||
^\s+Output\squeuing\sstrategy:\s*${OUTPUT_QUEUE_STRATEGY} | ||
^\s+Shaper:\spackets\sdequeued\s${SHAPER_PACKETS_DEQUEUED},\sburst\(current/max\)\s${SHAPER_BURST_CURRENT}/${SHAPER_BURST_MAX} | ||
^\s+Reliability:\s*${RELIABILITY_VALUE}/${RELIABILITY_MAX} | ||
^\s+IN:\s*${INPUT_PACKETS}\spackets,\s${INPUT_BYTES}\sbytes,\s${INPUT_QDROPS}\squeue\sdrops -> IN | ||
^\s+OUT:\s*${OUTPUT_PACKETS}\spackets,\s${OUTPUT_BYTES}\sbytes,\s${OUTPUT_QDROPS}\squeue\sdrops -> OUT | ||
^\s+Keepalive | ||
^\s+\d+\s+bad\s+checksum, | ||
^\s*$$ | ||
^. -> Error | ||
|
||
IN | ||
^\s+${INPUT_BROADCASTS}\sbroadcasts,\s*${INPUT_MULTICASTS}\smulticasts,\s*${INPUT_ERRORS}\serrors,\s*${INPUT_DISCARDS}\sdiscards(,\s*${INPUT_MAC_ACL_DISCARDS}\smac\sacl\sdiscards)? | ||
^\s+${INPUT_UNKNOWN_PROTOCOLS}\sunknown\sprotocols -> Start | ||
^\s*$$ | ||
^. -> Error | ||
|
||
OUT | ||
^\s+${OUTPUT_BROADCASTS}\sbroadcasts,\s*${OUTPUT_MULTICASTS}\smulticasts,\s*${OUTPUT_ERRORS}\serrors,\s*${OUTPUT_DISCARDS}\sdiscards -> Start | ||
^\s*$$ | ||
^. -> Error |
55 changes: 55 additions & 0 deletions
55
ntc_templates/templates/oneaccess_oneos_show_ip_access-lists.textfsm
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,55 @@ | ||
Value Required,Filldown ACL_TYPE (standard|extended) | ||
Value Required,Filldown ACL_NAME (\S+) | ||
Value LINE_NUM (\d+) | ||
Value ACTION (permit|deny) | ||
Value PROTOCOL (\S+) | ||
Value PROTOCOL_NR (\d+) | ||
Value SRC_HOST (\d+\.\d+\.\d+\.\d+) | ||
Value SRC_ANY (any) | ||
Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) | ||
Value SRC_WILDCARD (\d+\.\d+\.\d+\.\d+) | ||
#Value SRC_NETWORK_OBJECT_GROUP_NAME (\S+) | ||
Value SRC_PORT_MATCH (eq|neq|precedence|range|tos|lt|gt) | ||
Value SRC_PORT (\d+|[a-z]+) | ||
Value SRC_PORT_RANGE_START ((?<=range\s)\S+) | ||
Value SRC_PORT_RANGE_END (\S+) | ||
Value DST_HOST (\d+\.\d+\.\d+\.\d+) | ||
Value DST_ANY (any) | ||
Value DST_NETWORK (\d+\.\d+\.\d+\.\d+) | ||
Value DST_WILDCARD (\d+\.\d+\.\d+\.\d+) | ||
#Value DST_NETWORK_OBJECT_GROUP_NAME (\S+) | ||
Value DST_PORT_MATCH (eq|neq|precedence|range|tos|lt|gt) | ||
Value DST_PORT (\d+|[a-z]+) | ||
Value DST_PORT_RANGE_START ((?<=range\s)\S+) | ||
Value DST_PORT_RANGE_END (\S+) | ||
#Value SERVICE_OBJECT_GROUP_NAME (\S+) | ||
#Value FLAGS_MATCH (match-all|match-any) | ||
#Value TCP_FLAG (((\+|-|)ack(\s*?)|(\+|-|)established(\s*?)|(\+|-|)fin(\s*?)|(\+|-|)fragments(\s*?)|(\+|-|)psh(\s*?)|(\+|-|)rst(\s*?)|(\+|-|)syn(\s*?)|urg(\s*?))+) | ||
Value LOG (log) | ||
#Value LOG_TAG (\S+) | ||
#Value ICMP_TYPE (administratively-prohibited|echo|echo-reply|mask-request|packet-too-big|parameter-problem|port-unreachable|redirect|router-advertisement|router-solicitation|time-exceeded|ttl-exceeded|unreachable) | ||
#Value TIME (\S+) | ||
#Value STATE (inactive|active) | ||
Value MATCHES (\d+) | ||
|
||
Start | ||
^ip\saccess-list\s(standard|extended) -> Continue.Clearall | ||
^ip\saccess-list\s${ACL_TYPE}\s${ACL_NAME}\s* -> Record ONEOS6 | ||
^IP\saccess\slist\s(standard|extended) -> Continue.Clearall | ||
^IP\saccess\slist\s${ACL_TYPE}\s${ACL_NAME}\s* -> Record ONEOS5 | ||
^interface.* | ||
^For info on.* | ||
^\s*$$ | ||
^.* -> Error "Could not parse line:" | ||
|
||
ONEOS6 | ||
^\s+${LINE_NUM}\s+${ACTION}(?:\s+${PROTOCOL})?\s+(?:${PROTOCOL_NR}\s)?${SRC_NETWORK}\s+${SRC_WILDCARD}(${SRC_PORT}|)(\s+${DST_NETWORK}\s+${DST_WILDCARD}|)(\s+${DST_PORT}|)(\s+${LOG}|)(?:\s+\(${MATCHES}\s+matches\)|)\s* -> Record | ||
^\s*$$ -> Start | ||
^.* -> Error "Could not parse line:" | ||
|
||
ONEOS5 | ||
^${ACTION}\s+(${PROTOCOL}\s+|)(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|)(\s+${LOG}|)(?:\s+\(${MATCHES}\s+matches\)|) -> Record | ||
^\s*$$ -> Start | ||
^.* -> Error "Could not parse line:" | ||
|
||
EOF |
13 changes: 13 additions & 0 deletions
13
ntc_templates/templates/oneaccess_oneos_show_ip_as-path-access-list.textfsm
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,13 @@ | ||
Value Required NAME (\S+) | ||
Value Required,List ENTRIES (.*) | ||
|
||
Start | ||
^AS\spath\saccess\slist\s${NAME}$$ -> ASPATH | ||
^. -> Error | ||
|
||
ASPATH | ||
^[\s\t]+${ENTRIES}.* | ||
^\s+$$ -> Record Start | ||
^AS\spath -> Continue.Record | ||
^AS\spath\saccess\slist\s${NAME}$$ -> ASPATH | ||
^. -> Error |
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
23 changes: 23 additions & 0 deletions
23
tests/oneaccess_oneos/show_cellular-radio_network/show_cellular-radio_context.oneos5.raw
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,23 @@ | ||
Current selected operator : Dummy Provider | ||
Signal strength : Good | ||
Total Ec/Io : <not available> | ||
RSSI : -58 dBm | ||
RSRQ : -9 dB | ||
RSRP : -91 dBm | ||
SNR : 23 dB | ||
Current radio access technology : 4G | ||
Circuit-switched register state : Registered | ||
Packet-switched attach state : Attached | ||
|
||
Statistics: | ||
Reset on loss of GPRS registration : 1 | ||
Reset on failed initial registration : 0 | ||
Hardware reset of modem : 0 | ||
Unknown reset of modem : 505 | ||
Toggle w_disable of modem : 0 | ||
|
||
Details: | ||
Location Area Code (LAC) : <not available> | ||
Cell ID : 18224898 | ||
Tracking Area Code (TAC) : 18300 | ||
Current Public Land Mobile Network (PLMN = MCC+MNC) : 20610 |
19 changes: 19 additions & 0 deletions
19
tests/oneaccess_oneos/show_cellular-radio_network/show_cellular-radio_context.oneos5.yml
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,19 @@ | ||
--- | ||
parsed_sample: | ||
- operator: "Dummy Provider" | ||
signal_strength: "Good" | ||
rssi: "-58" | ||
rsrq: "-9" | ||
rsrp: "-91" | ||
snr: "23" | ||
radio_technology: "4G" | ||
register_state: "Registered" | ||
attach_state: "Attached" | ||
resets_loss_registrations: "1" | ||
resets_failed_registrations: "0" | ||
resets_modem: "0" | ||
resets_unknown: "505" | ||
lac: "<not available>" | ||
cell_id: "18224898" | ||
tac: "18300" | ||
plmn: "20610" |
22 changes: 22 additions & 0 deletions
22
tests/oneaccess_oneos/show_cellular-radio_network/show_cellular-radio_context.oneos6.raw
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,22 @@ | ||
Current selected operator : Dummy Provider | ||
Signal strength : Good | ||
Total Ec/Io : <not available> | ||
RSSI : -70 dBm | ||
RSRQ : -9 dB | ||
RSRP : -96 dBm | ||
SNR : 6 dB | ||
Current radio access technology : 4G | ||
Circuit-switched register state : Registered | ||
Packet-switched attach state : Attached | ||
|
||
Statistics: | ||
Reset on loss of registration : 0 | ||
Reset on failed initial registration : 0 | ||
Hardware reset of modem : 0 | ||
Unknown reset of modem : 0 | ||
|
||
Details: | ||
Location Area Code (LAC) : <not available> | ||
Cell ID : 18242055 | ||
Tracking Area Code (TAC) : 20300 | ||
Public Land Mobile Network (PLMN = MCC+MNC) : 20610 |
19 changes: 19 additions & 0 deletions
19
tests/oneaccess_oneos/show_cellular-radio_network/show_cellular-radio_context.oneos6.yml
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,19 @@ | ||
--- | ||
parsed_sample: | ||
- operator: "Dummy Provider" | ||
signal_strength: "Good" | ||
rssi: "-70" | ||
rsrq: "-9" | ||
rsrp: "-96" | ||
snr: "6" | ||
radio_technology: "4G" | ||
register_state: "Registered" | ||
attach_state: "Attached" | ||
resets_loss_registrations: "0" | ||
resets_failed_registrations: "0" | ||
resets_modem: "0" | ||
resets_unknown: "0" | ||
lac: "<not available>" | ||
cell_id: "18242055" | ||
tac: "20300" | ||
plmn: "20610" |
15 changes: 15 additions & 0 deletions
15
tests/oneaccess_oneos/show_helpers/show_helpers.oneos5.raw
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,15 @@ | ||
ip forward-protocol udp 137 | ||
ip forward-protocol udp 138 | ||
ip forward-protocol udp 67 | ||
ip forward-protocol udp 68 | ||
ip forward-protocol udp 69 | ||
ip forward-protocol udp 37 | ||
ip forward-protocol udp 42 | ||
ip forward-protocol udp 49 | ||
ip forward-protocol udp 53 | ||
Bvi 1: 0 broadcasts forwarded | ||
10.1.0.151 10.2.0.20 10.88.1.11 | ||
Bvi 2: 0 broadcasts forwarded | ||
10.2.0.20 10.1.0.151 10.88.1.11 | ||
Bvi 3: 0 broadcasts forwarded | ||
10.1.0.151 10.2.0.20 10.88.1.11 |
Oops, something went wrong.