Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added model for fpga sn1022 #211

Merged
merged 2 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
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 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.7.1"
__VERSION__ = "1.7.2"
__version__ = __VERSION__
10 changes: 10 additions & 0 deletions fim/slivers/data/component_catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,15 @@
"p1": "100",
"p2": "100"
}
},
{
"Model": "Xilinx-SN1022",
"AlsoModels": ["Alveo SN1022"],
"Type" : "FPGA",
"Details": "Xilinx SN1022 FPGA Dual 100G port accelerator card",
"Interfaces": {
"p1": "100",
"p2": "100"
}
}
]
1 change: 0 additions & 1 deletion fim/slivers/network_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@ def diff(self, other_sliver) -> TopologyDiff or None:

if iA.get_type() == InterfaceType.DedicatedPort:
if iA.diff(iB):
print("Added the child interfaces")
flag |= WhatsModifiedFlag.SUB_INTERFACES

if flag != WhatsModifiedFlag.NONE:
Expand Down