質問編集履歴

1

文法の修正

2022/12/07 06:24

投稿

riho1128
riho1128

スコア22

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': '172.30.0.2',
119
+ 'ip': '192.168.1.2',
120
120
  'username': 'admin',
121
- 'password': 'Plantpad123',
121
+ 'password': 'Password',
122
122
  'port': 22,
123
123
  }
124
124
  with ConnectHandler(**device) as net_connect: