GithubHelp home page GithubHelp logo

vlan module about aruba-ansible-modules HOT 8 CLOSED

aruba avatar aruba commented on June 6, 2024
vlan module

from aruba-ansible-modules.

Comments (8)

fallenfuzz avatar fallenfuzz commented on June 6, 2024 1

@tchiapuziowong
So after a test and uncommented data['is_dhcp_server_enabled'] = params['is_dhcp_server_enabled']
Aruba 2530 - doesn't work (Switch doesn't support dhcp server)
Aruba 2930F - works since it is supporting dhcp server.

from aruba-ansible-modules.

tchiapuziowong avatar tchiapuziowong commented on June 6, 2024 1

thank you @fallenfuzz for providing that solution! I'll work on a way to properly document that, once it's up I'll close this issue!

from aruba-ansible-modules.

alagoutte avatar alagoutte commented on June 6, 2024

What your switch firmware ?

from aruba-ansible-modules.

fallenfuzz avatar fallenfuzz commented on June 6, 2024

@alagoutte
tried 16.06 and 16.08
ansible 2.7.9
python 3.7.0

from aruba-ansible-modules.

fallenfuzz avatar fallenfuzz commented on June 6, 2024

found the issue, not all switches support dhcp server feature.

Once commented this all worked:
under def config_vlan(module):
data['status'] = params['status']
data['type'] = params['vlantype']
data['is_jumbo_enabled'] = params['is_jumbo_enabled']
data['is_voice_enabled'] = params['is_voice_enabled']
data['is_dsnoop_enabled'] = params['is_dsnoop_enabled']
#data['is_dhcp_server_enabled'] = params['is_dhcp_server_enabled']
data['is_management_vlan'] = params['is_management_vlan']

i think it should be moved out from config_vlan ti config_vlan_dhcp_server

from aruba-ansible-modules.

tchiapuziowong avatar tchiapuziowong commented on June 6, 2024

Hi what does your task look like? i.e. where you call the module?

from aruba-ansible-modules.

fallenfuzz avatar fallenfuzz commented on June 6, 2024

@tchiapuziowong simple task to create VLAN.
That is for sure is_dhcp_server_enabled related since the switch I'm running task on doesn't support it.
Once that commented - all works as expected.

I'll try to run on switch that supports that

from aruba-ansible-modules.

clydeb avatar clydeb commented on June 6, 2024

@fallenfuzz thanks for troubleshooting, I ran into the same issue and can confirm that commenting out the line "data['is_dhcp_server_enabled'] = params['is_dhcp_server_enabled']" makes it work again for Aruba 2530.

from aruba-ansible-modules.

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.