mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-10-05 13:26:03 +00:00
'checkpoint' commit, can address individual list items, not set them yet, need a bit of refactoring first
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac405@3643 e5f2f494-b856-4b98-b285-d166d9295462
This commit is contained in:
@@ -553,6 +553,9 @@ class BindCmdInterpreter(Cmd):
|
||||
|
||||
if cmd.command == "show":
|
||||
values = self.config_data.get_value_maps(identifier)
|
||||
print("[XX] VALUE MAPS:")
|
||||
print(str(values))
|
||||
print("[XX] END VALUE MAPS")
|
||||
for value_map in values:
|
||||
line = value_map['name']
|
||||
if value_map['type'] in [ 'module', 'map', 'list' ]:
|
||||
@@ -593,8 +596,8 @@ class BindCmdInterpreter(Cmd):
|
||||
self.go(identifier)
|
||||
except isc.cc.data.DataTypeError as dte:
|
||||
print("Error: " + str(dte))
|
||||
except isc.cc.data.DataNotFoundError as dnfe:
|
||||
print("Error: " + identifier + " not found")
|
||||
#except isc.cc.data.DataNotFoundError as dnfe:
|
||||
# print("Error: " + identifier + " not found")
|
||||
except KeyError as ke:
|
||||
print("Error: missing " + str(ke))
|
||||
raise ke
|
||||
|
Reference in New Issue
Block a user