You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am proposing the addition of a new template to parse the licensing details from Cisco IOS devices. Assuming you are happy to accept a PR I will raise a PR against this issue.
TEMPLATE
Value FEATURE (\w+)
Value PERIOD_LEFT (.*)
Value PERIOD_USED (.*)
Value LICENSE_TYPE (.*)
Value LICENSE_STATE (.*)
Value LICENSE_COUNT (.*)
Value LICENSE_PRIORITY (.*)
Start
^Index\s\d\sFeature:\s${FEATURE}\s+$$
^\s+Period left:\s${PERIOD_LEFT}$$
^\s+Period Used:\s${PERIOD_USED}$$
^\s+License Type:\s${LICENSE_TYPE}$$
^\s+License State:\s${LICENSE_STATE}$$
^\s+License Count:\s${LICENSE_COUNT}$$
^\s+License Priority:\s${LICENSE_PRIORITY}$$ -> Record
Parsed output
[['appxk9',
'Life time',
'',
'Permanent',
'Active, In Use',
'Non-Counted',
'Medium'],
['uck9',
'Not Activated',
'0 minute 0 second ',
'EvalRightToUse',
'Active, Not in Use, EULA not accepted',
'Non-Counted',
'None'],
['securityk9',
'Life time',
'',
'Permanent',
'Active, In Use',
'Non-Counted',
'Medium'],
['ipbasek9',
'Life time',
'',
'Permanent',
'Active, In Use',
'Non-Counted',
'Medium'],
['FoundationSuiteK9',
'Not Activated',
'0 minute 0 second ',
'EvalRightToUse',
'Active, Not in Use, EULA not accepted',
'Non-Counted',
'None'],
['AdvUCSuiteK9',
'Not Activated',
'0 minute 0 second ',
'EvalRightToUse',
'Active, Not in Use, EULA not accepted',
'Non-Counted',
'None'],
['',
'Not Activated',
'0 minute 0 second ',
'EvalRightToUse',
'Active, Not in Use, EULA not accepted',
'0/0 (In-use/Violation)',
'None'],
['hseck9',
'Life time',
'',
'Permanent',
'Active, In Use',
'Non-Counted',
'Medium'],
['throughput',
'Not Activated',
'0 minute 0 second ',
'EvalRightToUse',
'Active, Not in Use, EULA not accepted',
'Non-Counted',
'None']]
The text was updated successfully, but these errors were encountered:
ISSUE TYPE
SUMMARY
I am proposing the addition of a new template to parse the licensing details from Cisco IOS devices. Assuming you are happy to accept a PR I will raise a PR against this issue.
TEMPLATE
Parsed output
The text was updated successfully, but these errors were encountered: