Comments (8)
@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.
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.
What your switch firmware ?
from aruba-ansible-modules.
@alagoutte
tried 16.06 and 16.08
ansible 2.7.9
python 3.7.0
from aruba-ansible-modules.
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.
Hi what does your task look like? i.e. where you call the module?
from aruba-ansible-modules.
@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.
@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)
- [Errno 2] arubaoss_rest.py HOT 2
- "Connection failure: Remote end closed connection without response during login" HOT 9
- No output from **arubaoss_command:** when more tasks running in parallel HOT 8
- arubaoss_file_transfer upload firmware not working on all switch models HOT 2
- Can't install Aruba Ansible modules with Ansible 2.10+ HOT 4
- Modules not found even though they exist HOT 3
- allow installation of modules in 2.10.x HOT 3
- module doesn't upgrade all switches HOT 1
- Playbook Execution Failed During Ansible Testing with ArubaOS Switch HOT 2
- aruba_module_installer.py error /usr/lib/python3/dist-packages/ansible/plugins/doc_fragments does not exist on Debian Linux 10
- CONTRIBUTING.md "Aruba Bots Automate Videos" Playlist Link does not exist HOT 1
- Support for prompt in arubaoss_command HOT 1
- API call succeeds but is reported as failed HOT 5
- how to banner ansible HOT 2
- How to automate Cisco ios switch backup to tftp server using ansible HOT 1
- Error in "arubanetworks.aos_switch.arubaoss_vlan" documentation HOT 1
- arubaoss_facts error HOT 3
- Unable to backup to tftp HOT 1
- Stuck with : Request failed: <urlopen error [Errno -2] Name or service not known> HOT 12
- aruba-ansible module doesn't work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aruba-ansible-modules.