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

Sub-interfaces with VLAN ID defined. Vlan id not returned in dict. Other L3 related information not returned. #458

Open
roadracer96 opened this issue Nov 1, 2023 · 0 comments

Comments

@roadracer96
Copy link

SUMMARY

On a JunOS device using SP style configuration of layer-2 interfaces, a vlan id defined as such:

interfaces {
ge-0/0/0 {
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 100 {
vlan-id 100;
family inet {
mtu 9000;
address 10.10.10.22/31;
}
family iso;
family mpls {
mtu 9182;
}
}
}
}

ISSUE TYPE
  • Bug Report
COMPONENT NAME

junos_l3_interfaces/junos_facts

ANSIBLE VERSION
N/A
COLLECTION VERSION
# /home/MERIT/denike/.ansible/collections/ansible_collections
Collection            Version
--------------------- -------
junipernetworks.junos 5.0.0  

CONFIGURATION
N/A
OS / ENVIRONMENT

N/A

STEPS TO REPRODUCE

Configure a device with SP style VLAN configuration and run a play using the junos_facts module, querying l2_interfaces.

- name: Get JunOS Facts
  junipernetworks.junos.junos_facts:
    gather_subset: [ hardware,interfaces ]
    gather_network_resources: [ lacp,lacp_interfaces,lag_interfaces,l2_interfaces,l3_interfaces,interfaces]
  register: facts
EXPECTED RESULTS

I would expect the configured VLAN-ID of the interface to be returned along with other Layer3 information. This would include the IP(Or IPV6) MTU, MPLS MTU, the state of MPLS or ISO on the interfaces (enabled or other)

ACTUAL RESULTS

Interface IP and name/unit returned, nothing else.


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