Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pynos/versions/base/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def remove_port_channel(self, **kwargs):
port_int = kwargs.pop('port_int')
callback = kwargs.pop('callback', self._callback)

if re.search('^[0-9]{1,3}$', port_int) is None:
if re.search('^[0-9]{1,4}$', port_int) is None:
raise ValueError('%s must be in the format of x for port channel '
'interfaces.' % repr(port_int))

Expand Down