Skip to content

Commit 38afc02

Browse files
authored
Merge pull request #341 from gsankara/pci-rescan-esnet
added pci rescan API option before Step 7
2 parents d6263c3 + 986b9a3 commit 38afc02

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

fabric_examples/acceptance_testing/Acceptance Tests 6.1.2/fpga_flash_esnet.ipynb

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,44 @@
838838
"stdout, stderr = node.execute(command)"
839839
]
840840
},
841+
{
842+
"cell_type": "markdown",
843+
"metadata": {},
844+
"source": [
845+
"__PCI rescan can be carried out with new rescan_pci API__\n",
846+
"Please use the reboot option when this does not show the required number of PCI devices"
847+
]
848+
},
849+
{
850+
"cell_type": "code",
851+
"execution_count": null,
852+
"metadata": {},
853+
"outputs": [],
854+
"source": [
855+
"# List PCI devices\n",
856+
"stdout, stderr = node.execute(\"lspci\")"
857+
]
858+
},
859+
{
860+
"cell_type": "code",
861+
"execution_count": null,
862+
"metadata": {},
863+
"outputs": [],
864+
"source": [
865+
"# Rescan PCI devices\n",
866+
"node.rescan_pci(component_name=\"fpga1\")"
867+
]
868+
},
869+
{
870+
"cell_type": "code",
871+
"execution_count": null,
872+
"metadata": {},
873+
"outputs": [],
874+
"source": [
875+
"# List PCI devices\n",
876+
"stdout, stderr = node.execute(\"lspci\")"
877+
]
878+
},
841879
{
842880
"cell_type": "markdown",
843881
"metadata": {},

0 commit comments

Comments
 (0)