Skip to content

Commit

Permalink
Merge pull request #381 from fabric-testbed/fpga-sn1022
Browse files Browse the repository at this point in the history
Add support for FPGA model SN1022
  • Loading branch information
kthare10 authored Oct 2, 2024
2 parents c2cffdb + 395f039 commit 97d2529
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- slice.renew() should pass **kwargs through to slice.submit() (Issue [#374](https://github.com/fabric-testbed/fabrictestbed-extensions/issues/374))
- node.execute() retry parameter is off-by-one (and/or misnamed) (Issue [#375](https://github.com/fabric-testbed/fabrictestbed-extensions/issues/375))
- FacilityPort.show() errors out (Issue [#346](https://github.com/fabric-testbed/fabrictestbed-extensions/issues/346))
- Add support for FPGA model SN1022 (Issue [#382](https://github.com/fabric-testbed/fabrictestbed-extensions/issues/382))


## [1.7.3] - 08/05/2024
Expand Down
1 change: 1 addition & 0 deletions fabrictestbed_extensions/fablib/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class Component:
Constants.CMP_GPU_A30: ComponentModelType.GPU_A30,
Constants.CMP_NIC_OpenStack: ComponentModelType.SharedNIC_OpenStack_vNIC,
Constants.CMP_FPGA_Xilinx_U280: ComponentModelType.FPGA_Xilinx_U280,
Constants.CMP_FPGA_Xilinx_SN1022: ComponentModelType.FPGA_Xilinx_SN1022,
}

def __str__(self):
Expand Down
2 changes: 2 additions & 0 deletions fabrictestbed_extensions/fablib/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ class Constants:
GPU_A30 = "GPU-A30"
GPU_A40 = "GPU-A40"
FPGA_XILINX_U280 = "FPGA-Xilinx-U280"
FPGA_XILINX_SN1022 = "FPGA-Xilinx-SN1022"
CORES = "Cores"
RAM = "Ram"
DISK = "Disk"
Expand All @@ -201,4 +202,5 @@ class Constants:
CMP_GPU_A30 = "GPU_A30"
CMP_NIC_OpenStack = "NIC_OpenStack"
CMP_FPGA_Xilinx_U280 = "FPGA_Xilinx_U280"
CMP_FPGA_Xilinx_SN1022 = "FPGA_Xilinx_SN1022"
P4_DedicatedPort = "P4_DedicatedPort"
5 changes: 5 additions & 0 deletions fabrictestbed_extensions/fablib/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ class ResourceConstants:
Constants.PRETTY_NAME: "U280",
Constants.HEADER_NAME: "FPGA-Xilinx-U280",
},
Constants.FPGA_XILINX_SN1022: {
Constants.NON_PRETTY_NAME: "fpga_sn1022",
Constants.PRETTY_NAME: "SN1022",
Constants.HEADER_NAME: "FPGA-Xilinx-SN1022",
},
}
pretty_names = {
"name": "Name",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies = [
"ipyleaflet",
"ipycytoscape",
"tabulate",
"fabrictestbed==1.7.7",
"fabrictestbed==1.7.8",
"paramiko",
"jinja2>=3.0.0",
"pandas",
Expand Down

0 comments on commit 97d2529

Please sign in to comment.