FortigateApi icon indicating copy to clipboard operation
FortigateApi copied to clipboard

Not working with vdom disabled.

Open Colgaton opened this issue 7 years ago • 0 comments

I have a Fortigate 100D without vdom enabled, but I can't get the following test to work:

import FortigateApi fg = FortigateApi.Fortigate('192.168.1.1', 'root', 'admin', 'password') fg.AddFwAddress('srv-A','10.1.1.1/32') fg.GetFwAddress('srv-A') fg.DelFwAddress('srv-A')

All I got is:

login status: 200

I tried to change vdom from root to ' ' but no joy. Any idea?

Colgaton avatar Sep 01 '17 00:09 Colgaton