Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with vdom disabled. #4

Open
Colgaton opened this issue Sep 1, 2017 · 0 comments
Open

Not working with vdom disabled. #4

Colgaton opened this issue Sep 1, 2017 · 0 comments

Comments

@Colgaton
Copy link

Colgaton commented Sep 1, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant