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

PMPP support? #80

Open
jlstanley-git opened this issue Dec 19, 2017 · 4 comments
Open

PMPP support? #80

jlstanley-git opened this issue Dec 19, 2017 · 4 comments

Comments

@jlstanley-git
Copy link

In the traffic management industry, SNMP is everywhere in the form of NTCIP (National Transportation Communications for Intelligent Transportation System Protocol). Snimpy seems like a wonderful tool for automating various tasks in my workplace, -but- as far as I can tell, there's one key piece missing...

PMPP (Point to Multi Point Protocol) is a multi-drop HDLC wrapper that handles addressing packets to multiple devices at the end of a shared connection. It's not used for all NTCIP traffic, but it's used frequently enough that any Python SNMP library that doesn't have it is not usable in my industry.

Is PMPP support already in Snimpy and I'm just missing it?

If not, is there a way in Snimpy to:
(A) Inject a protocol layer (PMPP wrapper) between the point that a SNMP command packet is composed and when it gets shoved out the socket?
-and-
(B) Inject a protocol layer (PMPP un-wrapper) between receiving data from the socket and parsing it as an SNMP response?

If it's not already available in Snimpy, I'm willing to try to add it. I'm just looking for a judgement call from people more familiar with the guts of Snimpy as to if doing this is: easy, difficult, or nearly impossible?

Thanks.

@vincentbernat
Copy link
Owner

Snimpy delegates SNMP low-level parts to PySNMP. The feature should be implemented here first. After that, it should be easy to let Snimpy use it.

@oschwartz10612
Copy link

oschwartz10612 commented Apr 6, 2022

Hello,

Sorry to dredge up an old thread.

I am looking for a solution to talk to a traffic controller as John mentioned over snmp with pmpp in python. Do either of you have any pointers on where to look for some work that has already been done on this or resources to learn?

Best,
Owen

@jlstanley-git
Copy link
Author

Sad to say, the project I was working on was canceled, so I didn't have a chance to try to add PMPP support (to Snimpy or PySNMP).
If someone manages to pull it off, I'd appreciate if you drop a note in this thread. I still run into situations where having it would allow automating some fairly tedious tasks.

@oschwartz10612
Copy link

Thanks for the response!

I absolutely will do! Right now I am trying to figure out why my controller doesnt like how I am formatting my PMPP messages.

Best,
Owen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants