Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions netdisco/discoverables/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,6 @@ def __init__(self, netdis):
"""Initialize GDMDiscoverable."""
self.netdis = netdis

def info_from_entry(self, entry):
"""Get most important info, by default the description location."""
return {
ATTR_HOST: entry.values['location'],
ATTR_PORT: entry.values['port'],
}

def find_by_content_type(self, value):
"""Find entries based on values from their content_type."""
return self.netdis.gdm.find_by_content_type(value)
Expand Down