From 9d5dff5596a26887ad03a7ee854123eb82b54550 Mon Sep 17 00:00:00 2001 From: Senthil Kumar Ganesan Date: Sat, 24 Sep 2016 06:27:38 -0700 Subject: [PATCH] Update OS6 sublevels (#17735) --- lib/ansible/module_utils/dellos6.py | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/lib/ansible/module_utils/dellos6.py b/lib/ansible/module_utils/dellos6.py index 420855e022..5280684703 100644 --- a/lib/ansible/module_utils/dellos6.py +++ b/lib/ansible/module_utils/dellos6.py @@ -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$')