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

SecureTrack get_entries_for_zone_id not displaying ipv6 netmask #44

Open
leinadniw opened this issue Feb 10, 2021 · 0 comments
Open

SecureTrack get_entries_for_zone_id not displaying ipv6 netmask #44

leinadniw opened this issue Feb 10, 2021 · 0 comments

Comments

@leinadniw
Copy link

leinadniw commented Feb 10, 2021

From the REST api you can see this ipv6 address with a mask of /64:

/securetrack/api/zones/42/entries
<zone_entry><domain><id>1</id><name>Default</name></domain><id>607</id><ip>2600:5000:2811:9::</ip><prefix>64</prefix><zoneId>42</zoneId>

From pytos zone_entry.__dict__ the netmask is listed as "none":

from pytos.securetrack.helpers import Secure_Track_Helper
from pytos.securetrack.xml_objects.rest.zones import Zone_List, Zone, Zone_Entry, ZoneDescendantsList

zone_entries = st_helper.get_entries_for_zone_id(zone.id)

{'id': 607, 'comment': None, 'ip': '2600:5000:2811:9::', 'netmask': None, 'zoneId': 42, '_ip_network_cache': None, '_xml_tag': 'zone_entry', '_attribs': {}, '_parent_node': None}

@leinadniw leinadniw changed the title pytos not displaying ipv6 netmask SecureTrack get_entries_for_zone_id not displaying ipv6 netmask Feb 10, 2021
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

1 participant