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

no module or option to create trunk groups? #50

Open
Bernhardvleen opened this issue Aug 30, 2022 · 11 comments
Open

no module or option to create trunk groups? #50

Bernhardvleen opened this issue Aug 30, 2022 · 11 comments

Comments

@Bernhardvleen
Copy link

Hi,
I cannot find any way to create trunk groups other then running the arubaoss_config module and shoot lines via ssh - is that maybe a restriction that comes from the API?

It would be really useful to use Ansible for this action, to be able to have change management possibilities for this as well.

many thanks in advance for your kind answer!

@alagoutte
Copy link
Contributor

alagoutte commented Aug 30, 2022

You talk about set port on trunk (LACP ?) ?

after a quick look on ansible module, not look possible

you can look on REST API ref if there is API available

https://asp.arubanetworks.com/downloads/software/RmlsZTpiNmIwZDM1YS05OWFlLTExZTktODk5MS1kZmIzMTNkZWE5N2I%3D

@Bernhardvleen
Copy link
Author

yes, it is about something like this.

trunk 49-50 trk1 lacp
trunk 51-52 trk2 lacp

thanks for the link!

@alagoutte
Copy link
Contributor

yes, it is about something like this.

trunk 49-50 trk1 lacp
trunk 51-52 trk2 lacp

thanks for the link!

Yes, not yet available on this ansible module (or use config module or PowerArubaSW ;-))

@Bernhardvleen
Copy link
Author

is there an estimate if / when this could be added? (for CX I can not see a module for Trunk definition as well)

@alagoutte
Copy link
Contributor

is there an estimate if / when this could be added? (for CX I can not see a module for Trunk definition as well)

Good question... for @tchiapuziowong @karthikeyan-dhandapani (it is lag for CX)

@tchiapuziowong
Copy link
Member

looking into trunk for aos-switch implementation and for AOS-CX the lag interface module is being developed and will be released in an upcoming version

@Bernhardvleen
Copy link
Author

happy to hear that, thanks for this information!

@tchiapuziowong
Copy link
Member

Hello all! After speaking with development we don't have any REST API support on the switch to configure this feature. At this time we're not implementing any new features within the switch code so there's no planned development to support this. Alternatively you can use our SSH module arubaoss_config to execute CLI commands to configure:

- hosts: all
  gather_facts: False
  collections:
    - arubanetworks.aos_switch
  vars:
    ansible_connection: network_cli
  tasks:
    - name: Configure Trunk
      arubaoss_config:
        lines:
          - trunk 14-16 trk1 lacp
        match: line

@alagoutte
Copy link
Contributor

Hello all! After speaking with development we don't have any REST API support on the switch to configure this feature. At this time we're not implementing any new features within the switch code so there's no planned development to support this. Alternatively you can use our SSH module arubaoss_config to execute CLI commands to configure:

- hosts: all
  gather_facts: False
  collections:
    - arubanetworks.aos_switch
  vars:
    ansible_connection: network_cli
  tasks:
    - name: Configure Trunk
      arubaoss_config:
        lines:
          - trunk 14-16 trk1 lacp
        match: line

@tchiapuziowong, there is an API call for trunk (and also for LACP), i using on my PowerArubaSW Module...

@tchiapuziowong tchiapuziowong reopened this Nov 1, 2022
@tchiapuziowong
Copy link
Member

Hm okay they may have misread the ask - let me check back in

@Bernhardvleen
Copy link
Author

thank you for the update and the example!

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

3 participants