質問編集履歴
1
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -116,9 +116,9 @@
|
|
116
116
|
from netmiko.fortinet import FortinetSSH
|
117
117
|
from netmiko import ConnectHandler
|
118
118
|
device = {'device_type': 'fortinet',
|
119
|
-
'ip': '1
|
119
|
+
'ip': '192.168.1.2',
|
120
120
|
'username': 'admin',
|
121
|
-
'password': 'P
|
121
|
+
'password': 'Password',
|
122
122
|
'port': 22,
|
123
123
|
}
|
124
124
|
with ConnectHandler(**device) as net_connect:
|