Removing unused function
This commit is contained in:
parent
d53b52d528
commit
da8aa0dd29
1 changed files with 0 additions and 14 deletions
|
@ -334,20 +334,6 @@ def flatten_list(command_lists):
|
|||
return flat_command_list
|
||||
|
||||
|
||||
|
||||
def apply_key_map(key_map, table):
|
||||
new_dict = {}
|
||||
for key, value in table.items():
|
||||
new_key = key_map.get(key)
|
||||
if new_key:
|
||||
value = table.get(key)
|
||||
if value:
|
||||
new_dict[new_key] = str(value)
|
||||
else:
|
||||
new_dict[new_key] = value
|
||||
return new_dict
|
||||
|
||||
|
||||
def get_vtp_config(module):
|
||||
command = 'show vtp status'
|
||||
|
||||
|
|
Loading…
Reference in a new issue