Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working variant most recent #16

Merged
merged 70 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
6c883fb
Releasing v23.8
omehrabi Aug 25, 2023
b531eff
Merge pull request #783 from CiscoTestAutomation/release_23.8
bastell Aug 29, 2023
e41257d
Releasing v23.9
Sep 22, 2023
c6f963d
Merge pull request #786 from CiscoTestAutomation/release_23.9
Taarini Sep 27, 2023
6d646db
Fix for isis learn and removed duplicate parser
Oct 10, 2023
1ab1a55
Added changelog
Oct 10, 2023
7fa33da
Update run_tests.yml
GerriorL Oct 11, 2023
759e9cf
Merge branch 'master' into tasarath_learn_isis_fix
Oct 11, 2023
559805f
Removed UT of duplicate parser
Oct 11, 2023
1b73585
Fix UT
Oct 11, 2023
c8d683b
Fix UT
Oct 11, 2023
fd87f93
Fix UT
Oct 11, 2023
b901c3f
Merge pull request #791 from CiscoTestAutomation/tasarath_learn_isis_fix
Taarini Oct 12, 2023
01303dd
Add files via upload
cherifimehdi Nov 1, 2023
9b53cef
Create empty_output_output.txt
cherifimehdi Nov 1, 2023
36a2153
Create golden_output1_output.txt
cherifimehdi Nov 1, 2023
a8c07b3
Add files via upload
cherifimehdi Nov 1, 2023
e3c5a7a
Delete src/genie/libs/parser/ios/tests/ShowVlanInternalUsage/cli/equa…
cherifimehdi Nov 1, 2023
8eb8414
Add files via upload
cherifimehdi Nov 1, 2023
e5aff21
Add files via upload
cherifimehdi Nov 1, 2023
8ec83e9
Releasing v23.10
bastell Nov 1, 2023
e79be80
Merge pull request #797 from CiscoTestAutomation/release_23.10
bastell Nov 3, 2023
9d8d689
Update src/genie/libs/parser/ios/show_vlan_internal_usage.py
cherifimehdi Nov 24, 2023
3084a57
Update src/genie/libs/parser/ios/show_vlan_internal_usage.py
cherifimehdi Nov 24, 2023
9cc98f7
Update src/genie/libs/parser/ios/show_vlan_internal_usage.py
cherifimehdi Nov 24, 2023
51fc9d0
Add files via upload
cherifimehdi Nov 25, 2023
0af6ad3
Delete src/genie/libs/parser/ios/tests/ShowVlanInternalUsage/cli dire…
cherifimehdi Nov 25, 2023
25e2400
Delete src/genie/libs/parser/ios/show_vlan_internal_usage.py
cherifimehdi Nov 25, 2023
e07990d
Add files via upload
cherifimehdi Nov 25, 2023
9a4101f
Create test
cherifimehdi Nov 25, 2023
c53ad2f
Add files via upload
cherifimehdi Nov 25, 2023
b06f27f
Delete src/genie/libs/parser/iosxe/tests/ShowVlanInternalUsage/cli/em…
cherifimehdi Nov 25, 2023
71545a1
Create test
cherifimehdi Nov 25, 2023
bd43e25
Add files via upload
cherifimehdi Nov 25, 2023
3c70e59
Delete src/genie/libs/parser/iosxe/tests/ShowVlanInternalUsage/cli/eq…
cherifimehdi Nov 25, 2023
600303c
added priority percent to show policy map for iosxe
Nov 27, 2023
9fc77bf
Releasing 23.11
domachad Nov 27, 2023
1e2e381
Merge pull request #800 from CiscoTestAutomation/release_23.11
domachad Nov 29, 2023
58aa49b
added test files
Dec 3, 2023
5e325ab
removed blank line, unessesary lines and updated test file
Dec 6, 2023
a59df10
added missing }
Dec 6, 2023
c34c345
restored part of schema back to orriginal
Dec 20, 2023
2622f1a
removed unessesary data covered by P7
Dec 20, 2023
308388f
Merge pull request #796 from cherifimehdi/master
ThomasJRyan Dec 21, 2023
3077e93
Releasing v24.1
Jan 25, 2024
6e4513c
Releasing v24.1
Jan 25, 2024
80449a5
Port-channel show_cts iosxe fix
Jan 26, 2024
a9c0504
New golden_output
Jan 30, 2024
50f4019
Capitalize If Name
Jan 30, 2024
6ba4fab
Port-channel show_cts iosxe fix
Jan 26, 2024
06ead82
Revert golden_output2
Jan 30, 2024
ae6b09b
Merge branch 'aj_fix_show_cts_iosxe' of https://github.com/aj-cruz/ge…
Jan 30, 2024
1729a21
Revert golden_output2
Jan 30, 2024
f027cc5
Port-channel show_cts iosxe fix
Jan 26, 2024
bbc5a68
Merge branch 'aj_fix_show_cts_iosxe' of https://github.com/aj-cruz/ge…
Jan 30, 2024
1fc5b2b
Add port-channel interfaces
Jan 30, 2024
a6ae7a4
add golden_output4 to changelog
Jan 30, 2024
d6a8fea
updated tests with correct data and expectationed output
Jan 31, 2024
df9ca29
Merge pull request #813 from CiscoTestAutomation/release_24.1
Taarini Jan 31, 2024
efc1069
Merge remote-tracking branch 'upstream/master' into aj_fix_show_cts_i…
Feb 1, 2024
5978a21
removed blank line and added continue to line 2849
Feb 2, 2024
c398697
Add missing p3 regex pattern
Feb 2, 2024
a8715d6
Merge branch 'master' into update_showpolicymap
Feb 5, 2024
b624452
added missing code
Feb 5, 2024
266aeee
Merge pull request #815 from aj-cruz/aj_fix_show_cts_iosxe
Feb 5, 2024
882c298
Merge pull request #799 from mc4leaf/update_showpolicymap
Feb 6, 2024
724ef06
Releasing v24.2
lsheikal Feb 26, 2024
89d5b1c
Merge pull request #826 from CiscoTestAutomation/release_24.2
lsheikal Mar 5, 2024
adfaa59
Merge branch 'master' into working_variant_most_recent
Mar 11, 2024
4430504
updated to pyats 24.2
Mar 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ TRUSTED_HOST = pyats-pypi.cisco.com

# Development pkg requirements
RELATED_PKGS = genie.libs.parser
# aiohttp requires charset-normalizer<3.0.0
DEPENDENCIES = xmltodict requests charset-normalizer==2.1.1
DEPENDENCIES = xmltodict requests "netaddr<1.0.0"

ifeq ($(MAKECMDGOALS), devnet)
BUILD_CMD += --devnet
Expand Down
2 changes: 2 additions & 0 deletions changelog/2022/august.rst
Original file line number Diff line number Diff line change
Expand Up @@ -264,3 +264,5 @@
* Updated schema/parser to add new header type `lem` to accommodate edelweiss platform output variant.




182 changes: 182 additions & 0 deletions changelog/2023/august.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
--------------------------------------------------------------------------------
New
--------------------------------------------------------------------------------

* iosxe

* Added ShowPlatformTcamUtilization Parser
* added 'show platform hardware fed {switch} {mode} fwd-asic resource tcam utilization' for c9500
* Added ShowInterfaceCountersEtherchannel Parser
* added 'show interface {interface} counters etherchannel'
* Added ShowHardwareLed parser
* Added parser for 'show hardware led' for c9400 switch.

* Added ShowPerformanceMeasurementPaths
* show performance-measurement paths
* Added ShowPerformanceMeasurementSummary
* show performance-measurement summary
* show performance-measurement summary {detail}
* show performance-measurement summary {detail} {private}
* Added ShowIpv6DhcpInterface Parser
* Parser for 'show ipv6 dhcp interface'
* Parser for 'show ipv6 dhcp interface {interface}'
* Added ShowPlatformSoftwareFedSwitchActiveMatmMacTableVlanMac
* show platform software fed {state} matm macTable vlan {vlan} mac {mac}
* show platform software fed {switch} {state} matm macTable vlan {vlan} mac {mac}
* Added ShowSdwanPolicyServicePath Parser
* Parser for 'show sdwan policy service-path vpn {vpn} interface {interface} source-ip {source_ip} dest-ip {destination_ip} protocol {protocol}'
* Parser for 'show sdwan policy service-path vpn {vpn} interface {interface} source-ip {source_ip} dest-ip {destination_ip} protocol {protocol} {all}'
* Added show platform software fed switch {switch} fnf flow-record asic {asic} start-index {index} num-flows {flow} parser
* Added ShowIpNatTranslationsTotal parser
* Parser for "show ip nat translations total"
* Parser for "show ip nat translations vrf <vrf name> total"
* Added ShowMdnsSdCache
* parser for 'show mdns-sd cache'
* Added ShowTimeRange
* Added ShowOspfv3vrfNeighborInterfaceSchema
* parser for 'show ospfv3 vrf {vrf_id} neighbor interface'
* Added ShowFlowMonitorCacheFilterInterfaceIPv4 Parser
* Parser for 'show flow monitor {name} cache filter interface {direction} {interface_name} ipv4 {address_direction} address {address}'
* Added ShowDropsHistoryQfp
* show drops history qfp
* Added ShowDropsHistoryQfpClear
* show drops history qfp clear
* Added ShowPlatformHardwareQfpStatisticsDropHistory
* show platform hardware qfp {status} statistics drop history
* Added ShowPlatformHardwareQfpStatisticsDropHistoryClear
* show platform hardware qfp {status} statistics drop history clear
* Added ShowFileInformation
* Added schema and parser for ShowFileInformation

* iosxr
* Added ShowIsisIpv4Topology
* Parser for cli 'show isis ipv4 topology'
* Added ShowRibIpv6Iid
* parser for 'show rib ipv6 iid all'
* Added ShowPlatformSoftwareFedSwitchActiveAclInfoDbSummary
* parser for 'Show Platform Software Fed Switch Active Acl Info Db Summary'

* iosxe showsdwanappqoeadstatistics
* Added
* parser for 'show sdwan appqoe ad-statistics'

* iosxe showsdwanappqoedreoptstatistics
* Added
* parser for 'show sdwan appqoe dreopt statistics'

* iosxe showsdwanappqoermstatistics
* Added
* parser for 'show sdwan appqoe rm-statistics'


--------------------------------------------------------------------------------
Fix
--------------------------------------------------------------------------------

* iosxe
* Modified ShowPowerInlineModule
* Modified in the p2 regular expression to match the poe names
* Modified ShowIpBgpNeighbors
* Added New variables in Restricted address families to validate "l2vpn evpn" Neighbor
* Modified ShowPlatformTcamUtilization Parser
* Added mode variable
* Modified ShowPlatformSoftwareFedQosInterfaceIngressNpiDetailed Parser
* Fix p1 regular expression to match port-channel
* Modified ShowPolicyMapTypeSuperParser Parser
* Fix p1 regular expression to match port-channel
* Modified ShowPlatformIfmMapping c9500 Parser
* Fix p1 regular expression to match IFG_ID, First Serdes, Last Serdes
* Modified ShowPlatformSoftwareFedQosInterfaceSuperParser Parser
* added timeout value to execute command and fix p5 with if condition on the counter
* Modified ShowDerivedConfigInterface Parser
* Made violation key as Optional
* Modified ShowCallHomeProfileAll Parser
* Fix p7 regex
* Modified ShowPlatformSoftwareFedQosInterfaceIngressNpiDetailed Parser
* Added regex p4_12, p4_13, p4_14, p4_15, p4_16, p4_17, p4_18
* Modified ShowLldpNeighborsInterfaceDetail Parser
* Made 'management_addresses' as optional
* Modified ShowInterfacesTransceiverSchema Parser
* Added 'max_power' as optional key
* Modified ShowSwitchStackMode Parser
* Fix p1 regular expression pattern
* Added ShowUSB
* Added schema and parser for ShowUSB
* Modified ShowPolicyMapInterface
* Modified qos sets
* Added cos cos table t1
* Added traffic-class cos table t1
* Modified ShowDeviceTrackingCountersVlan
* Added new dict in the schema for the 'reason' variable with multiple
* Modified the existing golden_ouputs to match the schema
* Modified ShowDeviceTrackingDatabase
* Added 'show device-tracking database vlan {vlan_id}' cli
* Added New regex for vlan_db_capture
* Added New variables in Schema and made existing Optional
* Modified ShowLispEthernetMapCache
* Added new regex p3_1 for new pattern output,and changed schema as Optional
* Modified p3 regex to match the output
* Modified ShowIpMfib
* Modified p8 regex to match the output
* Modified show_derived.py
* Modificiation for show derived-config interface nve1
* Added regex to handle configuration under nve1
* Modified show_vrf.py
* Modificiation for show vrf detail
* Added regex to handle vnid, vni and core-vlan
* Modified ShowPlatformHardwareAuthenticationStatus
* Modified parser for "show platform hardware authentication status"
* Modified ShowPlatformSoftwareFedIfm
* Fixed TunnelID range and support for both modular and stack platforms
* Modified ShowFlowMonitorCache
* Added additional field fw_fw_event to schema
* Added regex pattern <p33> to accomodate fw_fw_event outputs
* Added ShowCableDiagnosticsTdrInt
* Parser for show cable diagnostics tdr int {interface}
* modified regex. p1,p2 and p3
* Modified show l2route evpn multicast smet
* Fixed issue of wrong index used for cli_command list in cli method of class ShowL2routeEvpnMulticastSmet
* Added ShowHwProgrammableAll
* Added schema and parser for ShowHwProgrammableAll
* Added ShowAuthenticationSessionsDetailsSuper
* Added <webauth> in p6 regex as Optional
* Modified ShowLicenseTechSupport as per the output change in latest polaris version.
* Added the key smartagentcompliancestatus in schema.
* Modified ShowLogging
* Local variable 'trap_dict' referenced before assignment
* Modified ShowAccessSessionMacDetails
* Modified keys <session_timeout>, <vlan_group>, <acs_acl>, <timeout_action> , <session_timeout> as Optional in the schema.

* asa
* Fix for ShowVersion parser
* Updated regex p7

* nxos
* Fix for ShowModule parser
* Updated regex for much more tightly controlled matching
* Modified ShowVpc
* Updated show vpc parser to include Virtual-peerlink mode status
* Fix for ShowBgpVrfAllNeighbors parser
* modify regex to handle new pattern.
* Fix for ShowInterfaceBrief parser
* add regex to handle tunnel interfaces

* iosxr
* Modified ShowRouteIpv6
* Added pattern <p15> to match 'ffff50.1.1.1, from ffff50.1.1.8'
* Modified ShowL2vpnBridgeDomainBrief
* Added p2 and p3 pattern
* Modified ShowBfdSessionDestination
* Added Interfaces as key under dest value and moved complete schema which was under dest to interfaces key.
* Modified async_detection_time_ms as optional parameter under timer_vals in schema.
* Modified echo_detection_time_ms as optional parameter under timer_vals in schema.
* Added <p3> to parse the format "No n/a n/a n/a UP".
* Added <p4> to parse the format "BE10 1.1.1.1 n/a n/a DOWN".








146 changes: 146 additions & 0 deletions changelog/2023/november.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
--------------------------------------------------------------------------------
New
--------------------------------------------------------------------------------

* iosxe
* Added ShowPlatformSoftwareFedSwitchActiveIFMInterfacesSVI
* Added schema and parser for 'sh platform software fed {switch} {active} ifm interfaces svi'
* Added ShowPlatformSoftwareFedSwitchActiveIFMMappingsEtherchannel
* Added schema and parser for 'show platform software fed {switch} {mode} ifm mappings etherchannel'
* Added ShowBfdInternal
* Added schema and parser for 'show bfd internal'
* Added ShowCryptoPkiCertificatesPemServer
* Added new parser for cli 'show cry pki certificates pem server'
* Added ShowObjectGroupName
* added parser for "show object-group name {group_name}"
* Added ShowOspfv3NeighborInterface
* show ospfv3 neighbor {interface}
* Added ShowPlatformSoftwareSteeringPolicyAomInfo
* parser for cli 'show platform software steering-policy forwarding-manager switch {switch} F0 policy-aom-info'
* Added ShowPlatformSoftwareObjectManagerF0Object
* parser for cli 'show platform software object-manager switch {switch} F0 object {object}'
* Added ShowLispVrf
* parser for cli 'show lisp vrf {vrf}'
* Added ShowPlatformSoftwareAccessListSwitchActiveFPActiveOgLkupIds
* parser for Show Platform Software Access List Switch Active FP ActiveOgLkupIds
* Added ShowQfpDropsThresholds
* show qfp drops thresholds
* Added ShowConsistencyCheckerMcastStartAll
* "show consistency-checker mcast {layer} start all"
* "show consistency-checker mcast {layer} start {address} {source}"
* "show consistency-checker mcast {layer} start {address}"
* "show consistency-checker mcast {layer} start vrf {instance_name} {address} {source}"
* "show consistency-checker mcast {layer} start vlan {vlan_id} {address}"
* Added ShowConsistencyCheckerRunIdDetail
* "show consistency-checker run-id {id} detail"
* Added ShowConsistencyCheckerRunId
* "show consistency-checker run-id {id}"

* iosxe/c9300
* Modified ShowEnvironmentAll
* Added support for < Sensor List Environmental Monitoring >.

* iosxr
* Added ShowOspfProcessName
* Parser for cli 'show ospf {process_name}'
* Added ShowOspfv3ProcessName
* Parser for cli 'show ospfv3 {process_name}'
* Added ShowPtpForeignMastersBrief
* Added parser for show ptp foreign-masters brief

* nxos
* Added ShowMacSecMkaSummary
* parser for 'show macsec mka summary'
* Added ShowMacSecMkaSession
* parser for 'show macsec mka session'
* Added ShowMacSecMkaSessionDetails
* parser for 'show macsec mka session details'
* Added ShowMacSecMkaStats
* parser for 'show macsec mka statistics'

* sonic
* Added ShowVersion
* Added new OS SONiC and created ShowVersion parser
* Inherited DockerStatsNoStream from Linux parsers


--------------------------------------------------------------------------------
Fix
--------------------------------------------------------------------------------

* iosxe
* Fix for ShowPlatformHardwareFedSwitchQosQueueConfig
* Added str and list pattern to match all possible values
* Modified ShowPlatformSoftwareFedActiveAclInfoDbDetail
* Added ipv6 source and destination
* Modified ShowIpv6Interface Parser
* parser for 'show ipv6 inerface {interface}' added new regex p18_1.
* Modified ShowSpanningTree Parser
* parser for 'show spanning tree' added new regex p1_1,p1_2,p1_3,p1_4
* Modified ShowPlatformFedActiveTcamUtilization
* Modified cli_command
* Modified ShowPlatform
* show platform parser now recognizes 'init, active' state
* Modified ShowPlatformSoftwareMemoryCallsite
* Enhanced ShowPlatformSoftwareMemoryCallsite parser to work for show platform software memory fed switch active alloc callsite brief
* Modified ShowCryptoPkiCertificatesPemServer
* Enhanced the parser by adding '\n' to each line in the output
* Fix for ShowPdmSteeringPolicy
* fixed old parser for cli 'show pdm steering policy' to capture full contract name as contract name can be anything
* Fix for ShowPlatformSoftwareFedActiveSecurityFed
* fixed old parser for cli 'show platform software fed {switch} active security-fed sis-redirect firewall all' due to change in output
* Modified ShowRunInterface
* Added 112 regex for service-policy outputs
* Fix for ShowSpanningTreeSummary
* Added additional key "bpdu_sender_conflict"
* Modified for ShowAccessSessionInterfaceDetails parser
* Added new regex <p11_1> for matching ipv6 address '1555105ced6cc3825b39d' '1555102251fffe005'
* Modified ShowLispIpv4Publication
* Added support for missing locator addresses.
* Modified ShowLispIpv6Publication
* Added support for missing locator addresses.
* Modified ShowLispServiceDatabase
* Added support for optional Service-Insertion ID.
* Modified ShowNat66Statistics
* Changed enable_count from schema to Optional.
* Updated regex pattern p0 to accommodate various outputs
* Added ShowPlatformSoftwareDistributedIpsecTunnelInfo
* Added ShowPlatformSoftwareDistributedIpsecTunnelInfo for CLI "show platform software distributed-ipsec tunnel-info".

* iosxr
* Modified ShowIsisInterface Parser
* Modified pattern r38 to support "Layer-2 Multicast"
* Modified pattern r40 to support "All ISs Listening"
* Added key "lsp_rexmit_queue_size" in topology section in schema
* Modified ShowBgpInstanceNeighborsDetail
* Added Optional parameter configured_keepalive_interval to schema
* Added Optional parameter configured_holdtime to schema
* Added Optional parameter ttl_security to schema
* Added Optional parameter external_bgp_neighbor_hop_count to schema
* Added Optional parameter bfd to schema
* Added Optional parameter bfd_status inside bfd to schema
* Added Optional parameter session_status inside bfd to schema
* Added Optional parameter mininterval inside bfd to schema
* Added Optional parameter multiplier inside bfd to schema
* Added Optional parameter messages to schema
* Added Optional parameter messages_count inside messages to schema
* Added Optional parameter notifications inside messages to schema
* Added Optional parameter queue inside messages to schema
* Added pattern for graceful_restart key
* Added pattern for graceful_restart_restart_time key
* Added pattern for graceful_restart_stalepath_time key
* Modified ShowOspfDatabase
* Modified Router Id option to schema as Optional.
* Added regex pattern p5 to match lsa type 2 network link.

* nxos
* Added
* Updated regex <p1> with <.> in <type> field
* Modified ShowInterfaceCounters
* Modified regex to handle `--` in interface counters output.
* Modified show_interface_status
* Modified the p1 regex pattern to capture missing data and remove junk
* Fixed ShowInterface Parser
* Fixed regex for some failing output of show interface status command


Loading
Loading