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

Multiple source support in vmware_vspan_session #2107

Open
perkons opened this issue Jul 9, 2024 · 0 comments
Open

Multiple source support in vmware_vspan_session #2107

perkons opened this issue Jul 9, 2024 · 0 comments

Comments

@perkons
Copy link

perkons commented Jul 9, 2024

SUMMARY

It is currently possible to specify only one source per port mirror session. It would be nice to be able to specify multiple sources as it is supported by VMware.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

vmware_vspan_session

ADDITIONAL INFORMATION
---
- hosts: "localhost"
  gather_facts: false
 
  tasks:
    - community.vmware.vmware_vspan_session:
        hostname: "{{ vcenter_hostname }}"
        username: "{{ vcenter_username }}"
        password: "{{ vcenter_password }}"
        validate_certs: "{{ vcenter_validate_certs }}"
        switch_name: "DVSWITCH"
        name: "AnsibleMirrorTest"
        enabled: false
        description: "Ansible mirror test"
        state: present
        session_type: "encapsulatedRemoteMirrorSource"
        sampling_rate: 1
        source_vm_received: # only one source currently supported
          name: "testvm1"
          nic_label: "Network adapter 1"
        source_vm_received: # would be nice to be able to specify a list of sources in one port mirror
          - name: "testvm1"
            nic_label: "Network adapter 1"
          - name: "testvm2"
            nic_label: "Network adapter 2"
        destination_port: 192.168.45.10
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

1 participant