FortigateApi
FortigateApi copied to clipboard
Not working with vdom disabled.
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?