Skip to content

Add aethra_atosnt show ip routemap work#2295

Open
ppetilli wants to merge 5 commits intonetworktocode:masterfrom
ppetilli:aethra_atosnt_show_ip_routemap_work
Open

Add aethra_atosnt show ip routemap work#2295
ppetilli wants to merge 5 commits intonetworktocode:masterfrom
ppetilli:aethra_atosnt_show_ip_routemap_work

Conversation

@ppetilli
Copy link
Copy Markdown
Contributor

adding an additional vendor and os version (aethra atosnt) with a first command "show ip routemap work"

Comment thread ntc_templates/templates/index Outdated
#
Template, Hostname, Platform, Command

aethra_atosnt_show_ip_routemap_work.textfsm, .*, aethra_atosnt, sh[[ow]] ip routemap work
Copy link
Copy Markdown
Collaborator

@mjbear mjbear Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ppetilli
Do the words ip, routemap, and work need to be completely typed out?

If there's a shorthand that also works we could account for that too (like is done for show), but only if it is a supported CLI syntax.
(Edit: I didn't find an example in the atosnt manual.)

First I've heard of Aethra. It doesn't look like Netmiko has details on Aethra equipment, but Scrapli does.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed commands need to be typed out completely. even show (i will correct the code)
The router I tested this on is a TMC-R3305 (from telco systems: https://www.telco.com/wp-content/uploads/2021/03/TMC-R3305_Datasheet.pdf). This device runs ATOSNT operating system from Aethra. (as far as i could find).

Comment thread ntc_templates/templates/aethra_atosnt_show_ip_routemap_work.textfsm Outdated
Match the white space in the List of Maps line for future proofing.
- Add an Error directive to the Start state
- Match all the other line patterns in the Start state (before the
   Maps state transition)
…show_ip_routemap_work and added a deny test
Empty list

LIST OF CLASSIFIERS
adver_subs
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ppetilli
Could there be an instance where the classifier name is something other than adver_subs?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mjbear,
You were right to question this. I verified it directly on a device and confirmed that the classifier name can be up to 16 characters.


add ip routemap CLASSIFIER ?

add command parameters:
classifier name [Any value (max 16 chars)]


I’ve updated the code accordingly to align with this behavior.
Br,
Pieter

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ppetilli
On line 14 (in the Start state) of the textfsm template, is a single classifier adver_subs.

If there's ever a different classifier name (if it's possible) then the template is not likely to match the classifier (regarding line 10 of this raw file).

I'd suggest another classifier name be added to the device configuration and update the corresponding raw output file. Thoughts?

(I don't have Aethra atosnt equipment, so I could be mistaken.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants