Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
Update OS6 sublevels (ansible#17735)
Browse files Browse the repository at this point in the history
  • Loading branch information
skg-net authored and privateip committed Sep 24, 2016
1 parent dc0fb1c commit 9d5dff5
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions lib/ansible/module_utils/dellos6.py
Original file line number Diff line number Diff line change
Expand Up @@ -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$')

Expand Down

0 comments on commit 9d5dff5

Please sign in to comment.