Skip to content

Commit

Permalink
Merge pull request #199 from fabric-testbed/198-interface-sliver-name…
Browse files Browse the repository at this point in the history
…-regex

update regex to allow names with 1 character to handle CIEN
  • Loading branch information
kthare10 authored Feb 22, 2024
2 parents 2be7b3a + 8b6e8f4 commit 7b654bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fim/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
FABRIC Information Model library and utilities
"""
__VERSION__ = "1.6.1"
__VERSION__ = "1.6.2"
__version__ = __VERSION__
2 changes: 1 addition & 1 deletion fim/slivers/interface_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def __str__(self):

class InterfaceSliver(BaseSliver):

NAME_REGEX = r'^[\w\-+_/\.\ :]{2,255}$'
NAME_REGEX = r'^[\w\-+_/\.\ :]{1,255}$'

def __init__(self):
# addresses are stored on labels, bandwidth on capacities
Expand Down

0 comments on commit 7b654bb

Please sign in to comment.