Skip to content

Not working with vdom disabled. #4

@Colgaton

Description

@Colgaton

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions