Skip to content

Commit

Permalink
Merge pull request #50 from fabric-testbed/dev
Browse files Browse the repository at this point in the history
Minor OWL updates
  • Loading branch information
cscarp authored Mar 13, 2024
2 parents 7fd7cd5 + 748c206 commit 31c9230
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 200 deletions.
Binary file modified MFLib.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion mflib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
# release level is a alpha, b beta, rc candidate, dev development, post post, or f final
# (major, minor, micro, release level, release build)
__version_info__ = [1, 0, 5, "rc", 2]
__version_info__ = [1, 0, 6, "f", 0]

__version__ = f"{__version_info__[0]}.{__version_info__[1]}.{__version_info__[2]}"

Expand Down
6 changes: 4 additions & 2 deletions mflib/owl.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@ def get_node_ip_addr(slice, node_name):

for interface in interfaces:
network = interface.toDict()['network']

if 'l3_meas_net' not in network:
node_ip = str(interface.get_ip_addr())
return node_ip
return str(interface.get_ip_addr())

return None


def nodes_ip_addrs(slice):
Expand Down
Loading

0 comments on commit 31c9230

Please sign in to comment.