add additional parameters
This commit is contained in:
parent
42953c84ae
commit
0175531bbb
|
|
@ -204,9 +204,11 @@ class VyOSDriver(NetworkDriver):
|
||||||
diff = ''.join(output_compare.splitlines(True)[1:-1])
|
diff = ''.join(output_compare.splitlines(True)[1:-1])
|
||||||
return diff
|
return diff
|
||||||
|
|
||||||
def commit_config(self, confirmed=None):
|
def commit_config(self, message=""):
|
||||||
if confirmed is not None:
|
if message:
|
||||||
raise NotImplementedError
|
raise NotImplementedError(
|
||||||
|
"Commit message not implemented for this platform"
|
||||||
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.device.commit()
|
self.device.commit()
|
||||||
|
|
@ -374,9 +376,10 @@ class VyOSDriver(NetworkDriver):
|
||||||
192.168.1.3 ether 00:50:56:86:7b:06 C eth1
|
192.168.1.3 ether 00:50:56:86:7b:06 C eth1
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if vrf:
|
if vrf:
|
||||||
msg = "VRF support has not been added for this getter on this platform."
|
raise NotImplementedError(
|
||||||
raise NotImplementedError(msg)
|
"VRF support has not been added for this getter on this platform."
|
||||||
|
)
|
||||||
|
|
||||||
output = self.device.send_command("show arp")
|
output = self.device.send_command("show arp")
|
||||||
output = output.split("\n")
|
output = output.split("\n")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue