Skip to content

Commit

Permalink
port_duplex to duplex
Browse files Browse the repository at this point in the history
  • Loading branch information
niels van hooij committed Sep 4, 2023
1 parent 4181748 commit 46f7329
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/genie/libs/parser/iosxe/show_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ def cli(self, interface=None, output=None):
p110 = re.compile(r'^ip +flow +monitor +(?P<flow_monitor_out_sampler>[\w]+) +sampler +(?P<output_sampler>[\w]+) +output$')

# duplex full / duplex half / duplex auto
p111 = re.compile(r"^duplex\s+(?P<port_duplex>(full|half|auto))$")
p111 = re.compile(r"^duplex\s+(?P<duplex>(full|half|auto))$")

# below matches
# dialer pool-member 1
Expand Down Expand Up @@ -1931,7 +1931,7 @@ def cli(self, interface=None, output=None):
m = p111.match(line)
if m:
group = m.groupdict()
intf_dict.update({'port_duplex': group['port_duplex']})
intf_dict.update({'duplex': group['duplex']})
continue

# dialer pool-member 1
Expand Down

0 comments on commit 46f7329

Please sign in to comment.