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

pysnmp.carrier.asyncore.dgram.udp.DOMAIN_NAME not found #386

Open
DineshDevaraj opened this issue Oct 31, 2020 · 2 comments
Open

pysnmp.carrier.asyncore.dgram.udp.DOMAIN_NAME not found #386

DineshDevaraj opened this issue Oct 31, 2020 · 2 comments

Comments

@DineshDevaraj
Copy link

root@84b3d97bf191:~/programs/learn-pysnmp# python3
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import pysnmp
pysnmp.version
'4.4.12'
from pysnmp.carrier.asyncore.dgram import udp
udp.DOMAIN_NAME
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'pysnmp.carrier.asyncore.dgram.udp' has no attribute 'DOMAIN_NAME'

@lextm
Copy link

lextm commented Jan 20, 2023

The 4.4.12 release is different https://github.com/etingof/pysnmp/blob/v4.4.12/pysnmp/carrier/asyncore/dgram/udp.py#L11 so you should use udp.domainName instead.

@lextm
Copy link

lextm commented Sep 2, 2024

After closing #429, time to revisit this.

PEP 8 compliant upper case names were planned to ship in Ilya's 5.0 release, which was never out.

As new maintainers, my team is able to ship the related changes in release 7.0.

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

2 participants