|
|
@ -127,7 +127,7 @@ updates:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from ansible.module_utils.basic import AnsibleModule
|
|
|
|
from ansible.module_utils.basic import AnsibleModule
|
|
|
|
from ansible.module_utils.network.cloudengine.ce import get_config, load_config, ce_argument_spec, run_commands
|
|
|
|
from ansible.module_utils.network.cloudengine.ce import load_config, ce_argument_spec, run_commands
|
|
|
|
from ansible.module_utils.connection import exec_command
|
|
|
|
from ansible.module_utils.connection import exec_command
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -308,6 +308,9 @@ class SnmpTraps(object):
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
del self.end_state["snmp-agent trap"]
|
|
|
|
del self.end_state["snmp-agent trap"]
|
|
|
|
del self.end_state["undo snmp-agent trap"]
|
|
|
|
del self.end_state["undo snmp-agent trap"]
|
|
|
|
|
|
|
|
if self.end_state == self.existing:
|
|
|
|
|
|
|
|
self.changed = False
|
|
|
|
|
|
|
|
self.updates_cmd = list()
|
|
|
|
|
|
|
|
|
|
|
|
def cli_load_config(self, commands):
|
|
|
|
def cli_load_config(self, commands):
|
|
|
|
""" Load configure through cli """
|
|
|
|
""" Load configure through cli """
|
|
|
|