1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update OS6 sublevels (#17735)

This commit is contained in:
Senthil Kumar Ganesan 2016-09-24 06:27:38 -07:00 committed by Peter Sprygada
parent dc0fb1c212
commit 9d5dff5596

View file

@ -68,12 +68,24 @@ def os6_parse(lines, indent=None, comment_tokens=None):
re.compile(r'^vlan.*$'),
re.compile(r'^stack.*$'),
re.compile(r'^interface.*$'),
re.compile(r'line [(console)|(telnet)|(ssh)].*$'),
re.compile(r'line (console|telnet|ssh).*$'),
re.compile(r'ip ssh !(server).*$'),
re.compile(r'ip address .*$'),
re.compile(r'ip access-list .*$'),
re.compile(r'ip (dhcp|vrf).*$'),
re.compile(r'(ip|mac|management|arp) access-list.*$'),
re.compile(r'ipv6 (dhcp|router).*$'),
re.compile(r'mail-server.*$'),
re.compile(r'vpc domain.*$'),
re.compile(r'router.*$'),
re.compile(r'route-map.*$'),
re.compile(r'policy-map.*$'),
re.compile(r'class-map match-all.*$'),
re.compile(r'captive-portal.*$'),
re.compile(r'admin-profile.*$'),
re.compile(r'link-dependency group.*$'),
re.compile(r'banner motd.*$'),
re.compile(r'radius-server host auth.*$')]
re.compile(r'openflow.*$'),
re.compile(r'support-assist.*$'),
re.compile(r'(radius-server|tacacs-server) host.*$')]
childline = re.compile(r'^exit$')