-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
floogen: Support endpoints with multiple non-contiguous address ranges (
#80) * floogen(routing): Support multiple address ranges per endpoint * floogen(examples): Update terapool example with multi address range * docs: Update CHANGELOG
- Loading branch information
Showing
6 changed files
with
29 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
# | ||
# Author: Tim Fischer <[email protected]> | ||
|
||
from typing import Optional, ClassVar | ||
from typing import Optional, ClassVar, List | ||
from importlib.resources import files, as_file | ||
|
||
from pydantic import BaseModel | ||
|
@@ -29,7 +29,7 @@ class NetworkInterface(BaseModel): | |
id: Optional[Id] = None | ||
uid: Optional[SimpleId] = None | ||
arr_idx: Optional[Id] = None | ||
addr_range: Optional[AddrRange] = None | ||
addr_range: Optional[List[AddrRange]] = None | ||
|
||
def is_sbr(self) -> bool: | ||
"""Return true if the network interface is a subordinate.""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters