Feature junos filter (#44703)

* Add filter in l3_interface

* Add filter in vlan

* Add filter in l2_interface

* Update version to 2.8
This commit is contained in:
linnil1 2019-01-23 12:06:24 +08:00 committed by Ganesh Nalawade
commit dabdf171c5
3 changed files with 49 additions and 1 deletions

View file

@ -34,6 +34,14 @@ options:
description:
- Name of logical layer 3 interface.
version_added: "2.7"
filter_input:
description:
- The name of input filter.
version_added: "2.8"
filter_output:
description:
- The name of output filter.
version_added: "2.8"
description:
description:
- Text description of VLANs.
@ -157,6 +165,8 @@ def main():
description=dict(),
interfaces=dict(),
l3_interface=dict(),
filter_input=dict(),
filter_output=dict(),
state=dict(default='present', choices=['present', 'absent']),
active=dict(default=True, type='bool')
)
@ -195,6 +205,8 @@ def main():
('name', {'xpath': 'name', 'is_key': True}),
('vlan_id', 'vlan-id'),
('l3_interface', 'l3-interface'),
('filter_input', 'forwarding-options/filter/input'),
('filter_output', 'forwarding-options/filter/output'),
('description', 'description')
])