Coder Social home page Coder Social logo

Comments (6)

chillancezen avatar chillancezen commented on July 21, 2024 1

update: now we have official support for this issue. please choose the collection version which is near to your FortiOS appliance to install. emac-vlan is supported in 6.2.3, so please install galaxy 1.0.11.

https://ansible-galaxy-fortios-docs.readthedocs.io/en/latest/version.html

I mark this issue as closed, feel free to reopen in case of any issues.

thanks,
Link

from ansible-galaxy-fortios-collection.

chillancezen avatar chillancezen commented on July 21, 2024

thanks @nicosalvadore for the issue,

I assume that your fgt device is of higher version than 6.0.

as I checked the schema of 6.2.3, I found the emac-vlan is there.

  5272                 "name":"switch-vlan",
  5273                 "help":"Switch VLAN interface."
  5274               },
  5275               {
  5276                 "name":"emac-vlan",
  5277                 "help":"EMAC VLAN interface."
  5278               }

we will be supporting this shortly.

thanks,
Link

from ansible-galaxy-fortios-collection.

nicosalvadore avatar nicosalvadore commented on July 21, 2024

Hi @chillancezen,
Yes, this is a FortiGate-VM on v6.2.3 build1066 (GA)

Thank you for the quick feedback !
Great to know this feature will be implemented.

Nicolas

from ansible-galaxy-fortios-collection.

diLLec avatar diLLec commented on July 21, 2024

Hey, how soon is soon? Isn't that only a change on the parameters in fortios_system_interface.py like this?

"type": {"required": False, "type": "str",
                         "choices": ["physical", "vlan", "aggregate",
                                     "redundant", "tunnel", "vdom-link",
                                     "loopback", "switch", "hard-switch",
                                     "vap-switch", "wl-mesh", "fext-wan",
                                     "vxlan", "hdlc", "switch-vlan", "emac-vlan"]},

from ansible-galaxy-fortios-collection.

chillancezen avatar chillancezen commented on July 21, 2024

Hey, how soon is soon? Isn't that only a change on the parameters in fortios_system_interface.py like this?

"type": {"required": False, "type": "str",
                         "choices": ["physical", "vlan", "aggregate",
                                     "redundant", "tunnel", "vdom-link",
                                     "loopback", "switch", "hard-switch",
                                     "vap-switch", "wl-mesh", "fext-wan",
                                     "vxlan", "hdlc", "switch-vlan", "emac-vlan"]},

@diLLec sorry for keeping you waiting for long. but we have to do further test and verification before releasing it to Ansible Galaxy, besides emac-vlan in fortios_system_interface , there are lots of new modules in FOS 2.0 and FOS 4.0, and the parameters of some modules may change as well. we finally thought of versioning to resolve compatibility issues.

as for this issue, we've already had the collection bundle for you to preview, but not released to Galaxy officially.
please download the collection binary from our prelease repo and install it locally:

$wget https://github.com/fortinet-ansible-dev/ansible-galaxy-fortios-collection/releases/download/version_check/fortinet-fortios-1.0.11.tar.gz
$ansible-galaxy collection install -f fortinet-fortios-1.0.11.tar.gz

the online document is also available: https://ansible-galaxy-fortios-docs.readthedocs.io/en/galaxy-1.0.11/gen/fortios_system_interface.html

sorry again for keep you waiting long, any feedbacks are welcome.

thanks,

from ansible-galaxy-fortios-collection.

diLLec avatar diLLec commented on July 21, 2024

Thanks @chillancezen - that worked perfectly!

from ansible-galaxy-fortios-collection.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.