8000 SecureTrack get_entries_for_zone_id not displaying ipv6 netmask · Issue #44 · Tufin/pytos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content {"props":{"docsUrl":"https://docs.github.com/get-started/accessibility/keyboard-shortcuts"}}
SecureTrack get_entries_for_zone_id not displaying ipv6 netmask #44
Open
@leinadniw

Description

@leinadniw

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      2A10
      0