/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/ |
H A D | test_nxos_ping.py | 53 self.run_commands.return_value = [ 80 self.run_commands.return_value = [ 99 self.run_commands.return_value = [ 117 self.run_commands.return_value = [ 138 self.run_commands.return_value = [ 166 self.run_commands.return_value = [ 187 self.run_commands.return_value = [ 208 self.run_commands.return_value = [ 241 self.run_commands.return_value = [ 260 self.run_commands.return_value = [ [all …]
|
H A D | test_nxos_banner.py | 36 self.run_commands = self.mock_run_commands.start() 54 self.run_commands.return_value = commands 60 self.run_commands.return_value = commands 67 self.run_commands.return_value = err_rsp 78 self.run_commands.return_value = err_rsp 88 self.run_commands.return_value = commands 94 self.run_commands.return_value = commands 100 self.run_commands.return_value = commands
|
/dports/net-mgmt/py-napalm/napalm-3.3.1/test/eos/ |
H A D | test_heredoc.py | 38 self.device.device.run_commands = mock.MagicMock() 60 self.device.device.run_commands.assert_called_with( 87 self.device.device.run_commands = mock.MagicMock() 113 self.device.device.run_commands.assert_called_with( 135 self.device.device.run_commands = mock.MagicMock() 152 self.device.device.run_commands.assert_called_with(
|
/dports/net-mgmt/py-pyeapi/pyeapi-0.8.4/test/system/ |
H A D | test_api_vrfs.py | 103 config = dut.run_commands(command, encoding='text') 130 config = dut.run_commands(command, encoding='text') 153 config = dut.run_commands(command, encoding='text') 177 config = dut.run_commands(command, encoding='text') 196 config = dut.run_commands(command, encoding='text') 214 config = dut.run_commands(command, encoding='text') 219 config = dut.run_commands(command, encoding='text') 238 config = dut.run_commands(command, encoding='text') 243 config = dut.run_commands(command, encoding='text') 262 config = dut.run_commands(command, encoding='text') [all …]
|
H A D | test_api_interfaces.py | 77 config = dut.run_commands('show interfaces') 90 config = dut.run_commands('show interfaces') 106 output = dut.run_commands(command, encoding='text') 111 output = dut.run_commands(command, encoding='text') 125 output = dut.run_commands(command, encoding='text') 132 output = dut.run_commands(command, encoding='text') 297 config = dut.run_commands(cmd % et2, 'text') 330 config = dut.run_commands(cmd % et2, 'text') 377 config = dut.run_commands(commands, 'text') 404 config = dut.run_commands(commands, 'text') [all …]
|
H A D | test_api_vlans.py | 66 config = dut.run_commands('show vlan') 80 config = dut.run_commands('show vlan') 96 config = dut.run_commands('show vlan') 106 config = dut.run_commands('show vlan') 116 config = dut.run_commands('show vlan') 126 config = dut.run_commands('show vlan') 139 config = dut.run_commands(cmd, 'text') 152 config = dut.run_commands('show vlan %s trunk group' % vid) 167 config = dut.run_commands('show vlan %s trunk group' % vid) 178 config = dut.run_commands('show vlan trunk group') [all …]
|
H A D | test_client.py | 76 temp_node.run_commands('show version') 82 result = dut.run_commands('show version') 89 result = dut.run_commands('show version') 95 result = dut.run_commands({'cmd': 'show cvx', 'revision': 1}) 100 result2 = dut.run_commands({'cmd': 'show cvx', 'revision': 2}) 107 result = dut.run_commands(u'show version') 113 result = dut.run_commands('show version', 'json', send_enable=False) 127 result = dut.run_commands(commands[:]) 148 result = dut.run_commands('show running-config | include %s$' % 163 result = dut.run_commands('show banner login', 'text') [all …]
|
/dports/sysutils/ansible2/ansible-2.9.27/test/units/modules/network/nxos/ |
H A D | test_nxos_banner.py | 32 self.run_commands = self.mock_run_commands.start() 48 self.run_commands.return_value = commands 54 self.run_commands.return_value = commands 61 self.run_commands.return_value = err_rsp 69 self.run_commands.return_value = err_rsp 76 self.run_commands.return_value = commands 82 self.run_commands.return_value = commands
|
/dports/net-mgmt/py-pyeapi/pyeapi-0.8.4/docs/ |
H A D | release-notes-0.6.0.rst | 29 >>> device.run_commands('show hostname') 31 >>> device.run_commands('show banner login') 40 >>> device.run_commands(my_commands) 42 …>>> print device.run_commands(['show session-config named whatever diffs'], encoding='text')[0]['o… 66 >>> device.run_commands(['configure session whatever', 'commit']) 68 >>> device.run_commands('show hostname') 70 >>> device.run_commands('show banner login')
|
/dports/net-mgmt/py-napalm/napalm-3.3.1/napalm/eos/ |
H A D | eos.py | 203 config_sessions = self.device.run_commands( 323 self.device.run_commands( 380 self.device.run_commands(commands) 388 self.device.run_commands(commands) 406 self.device.run_commands(commands) 415 self.device.run_commands(commands) 438 self.device.run_commands(commands) 445 result = self.device.run_commands(commands) 518 output = self.device.run_commands(commands) 697 cpu_output = self.device.run_commands( [all …]
|
/dports/sysutils/ansible2/ansible-2.9.27/test/units/modules/system/ |
H A D | test_java_keystore.py | 35 self.run_commands = self.mock_run_commands.start() 67 self.run_commands.side_effect = lambda args, kwargs: (0, '', '') 97 self.run_commands.side_effect = [(1, '', ''), (0, '', '')] 125 self.run_commands.side_effect = [(0, '', ''), (1, '', '')] 147 self.run_commands = self.mock_run_commands.start() 171 … self.run_commands.side_effect = [(0, 'foo=abcd:1234:efgh', ''), (0, 'SHA256: abcd:1234:efgh', '')] 190 … self.run_commands.side_effect = [(0, 'foo=abcd:1234:efgh', ''), (0, 'SHA256: wxyz:9876:stuv', '')] 209 self.run_commands.side_effect = [(0, 'foo=abcd:1234:efgh', ''), 231 self.run_commands.side_effect = [(1, '', 'Oops'), (0, 'SHA256: wxyz:9876:stuv', '')] 257 self.run_commands.side_effect = [(0, 'foo: wxyz:9876:stuv', ''), (1, '', 'Oops')]
|
/dports/sysutils/ansible2/ansible-2.9.27/test/units/modules/network/aruba/ |
H A D | test_aruba_config.py | 43 self.run_commands = self.mock_run_commands.start() 83 self.run_commands.return_value = "Hostname foo" 86 self.assertEqual(self.run_commands.call_count, 1) 89 args = self.run_commands.call_args[0][1] 103 self.assertEqual(self.run_commands.call_count, 1) 106 args = self.run_commands.call_args[0][1] 112 self.assertEqual(self.run_commands.call_count, 0) 186 self.assertEqual(self.run_commands.call_count, 2) 187 args = self.run_commands.call_args_list
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/network/tests/unit/plugins/modules/network/aruba/ |
H A D | test_aruba_config.py | 43 self.run_commands = self.mock_run_commands.start() 83 self.run_commands.return_value = "Hostname foo" 86 self.assertEqual(self.run_commands.call_count, 1) 89 args = self.run_commands.call_args[0][1] 103 self.assertEqual(self.run_commands.call_count, 1) 106 args = self.run_commands.call_args[0][1] 112 self.assertEqual(self.run_commands.call_count, 0) 186 self.assertEqual(self.run_commands.call_count, 2) 187 args = self.run_commands.call_args_list
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/arista/eos/tests/unit/modules/network/eos/ |
H A D | test_eos_config.py | 58 self.run_commands = self.mock_run_commands.start() 220 run_commands = mock_run_commands.start() 222 run_commands.return_value = [ 231 run_commands.return_value = [ 250 self.assertEqual(self.run_commands.call_count, 1) 253 args = self.run_commands.call_args[0][1][0]["command"] 259 self.assertEqual(self.run_commands.call_count, 0) 264 self.run_commands.return_value = "hostname foo" 267 self.assertEqual(self.run_commands.call_count, 1) 270 args = self.run_commands.call_args[0][1][0]["command"]
|
/dports/sysutils/ansible2/ansible-2.9.27/test/units/modules/network/eos/ |
H A D | test_eos_config.py | 44 self.run_commands = self.mock_run_commands.start() 167 run_commands = mock_run_commands.start() 169 run_commands.return_value = [load_fixture('eos_config_config.cfg'), 176 run_commands.return_value = [load_fixture('eos_config_config.cfg'), 189 self.assertEqual(self.run_commands.call_count, 1) 192 args = self.run_commands.call_args[0][1][0]['command'] 198 self.assertEqual(self.run_commands.call_count, 0) 203 self.run_commands.return_value = "hostname foo" 206 self.assertEqual(self.run_commands.call_count, 1) 209 args = self.run_commands.call_args[0][1][0]['command']
|
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/network/aruba/ |
H A D | aruba_config.py | 233 from ansible.module_utils.network.aruba.aruba import run_commands, get_config, load_config 264 run_commands(module, 'copy running-config startup-config') 332 run_commands(module, 'encrypt disable') 372 output = run_commands(module, ['show running-config', 'show startup-config']) 385 output = run_commands(module, 'show running-config') 402 output = run_commands(module, 'show startup-config') 421 run_commands(module, 'encrypt enable')
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/network/plugins/modules/ |
H A D | aruba_config.py | 227 …ons.community.network.plugins.module_utils.network.aruba.aruba import run_commands, get_config, lo… 258 run_commands(module, 'write memory') 326 run_commands(module, 'encrypt disable') 366 output = run_commands(module, ['show running-config', 'show configuration']) 379 output = run_commands(module, 'show running-config') 396 output = run_commands(module, 'show configuration') 415 run_commands(module, 'encrypt enable')
|
H A D | ce_startup.py | 136 …community.network.plugins.module_utils.network.cloudengine.ce import ce_argument_spec, run_commands 279 run_commands(self.module, commands) 286 run_commands(self.module, commands) 300 run_commands(self.module, commands) 308 run_commands(self.module, commands) 316 run_commands(self.module, commands) 331 run_commands(self.module, commands) 339 run_commands(self.module, commands) 347 run_commands(self.module, commands)
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/network/plugins/modules/network/aruba/ |
H A D | aruba_config.py | 227 …ons.community.network.plugins.module_utils.network.aruba.aruba import run_commands, get_config, lo… 258 run_commands(module, 'write memory') 326 run_commands(module, 'encrypt disable') 366 output = run_commands(module, ['show running-config', 'show configuration']) 379 output = run_commands(module, 'show running-config') 396 output = run_commands(module, 'show configuration') 415 run_commands(module, 'encrypt enable')
|
/dports/sysutils/ansible2/ansible-2.9.27/test/units/modules/network/exos/ |
H A D | test_exos_config.py | 43 self.run_commands = self.mock_run_commands.start() 87 self.run_commands.return_value = 'configure snmp sysName "marble"' 90 self.assertEqual(self.run_commands.call_count, 1) 93 args = self.run_commands.call_args[0][1] 103 self.assertEqual(self.run_commands.call_count, 1) 106 args = self.run_commands.call_args[0][1] 116 self.assertEqual(self.run_commands.call_count, 0) 123 self.assertEqual(self.run_commands.call_count, 0) 131 self.assertEqual(self.run_commands.call_count, 0) 140 self.assertEqual(self.run_commands.call_count, 1)
|
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/network/cloudengine/ |
H A D | ce_startup.py | 138 from ansible.module_utils.network.cloudengine.ce import ce_argument_spec, run_commands 281 run_commands(self.module, commands) 288 run_commands(self.module, commands) 302 run_commands(self.module, commands) 310 run_commands(self.module, commands) 318 run_commands(self.module, commands) 333 run_commands(self.module, commands) 341 run_commands(self.module, commands) 349 run_commands(self.module, commands)
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/network/plugins/modules/network/cloudengine/ |
H A D | ce_startup.py | 136 …community.network.plugins.module_utils.network.cloudengine.ce import ce_argument_spec, run_commands 279 run_commands(self.module, commands) 286 run_commands(self.module, commands) 300 run_commands(self.module, commands) 308 run_commands(self.module, commands) 316 run_commands(self.module, commands) 331 run_commands(self.module, commands) 339 run_commands(self.module, commands) 347 run_commands(self.module, commands)
|
/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/.scripts/ |
H A D | languages.php | 12 function run_commands($commands) { function 28 run_commands([ 46 run_commands([
|
/dports/sysutils/ansible2/ansible-2.9.27/test/units/modules/network/ios/ |
H A D | test_ios_config.py | 47 self.run_commands = self.mock_run_commands.start() 83 self.run_commands.return_value = "Hostname foo" 86 self.assertEqual(self.run_commands.call_count, 1) 89 args = self.run_commands.call_args[0][1] 98 self.assertEqual(self.run_commands.call_count, 1) 101 args = self.run_commands.call_args[0][1] 107 self.assertEqual(self.run_commands.call_count, 0) 112 self.run_commands.return_value = "hostname foo" 115 self.assertEqual(self.run_commands.call_count, 1) 118 args = self.run_commands.call_args[0][1]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/examples/python/ |
H A D | process_events.py | 65 def run_commands(command_interpreter, commands): function 279 run_commands(command_interpreter, ['breakpoint list']) 331 run_commands( 341 run_commands( 343 run_commands( 348 run_commands( 360 run_commands( 366 run_commands(
|