Skip to content

Commit

Permalink
Update aspell for POE
Browse files Browse the repository at this point in the history
Signed-off-by: Serhiy Boiko <[email protected]>
  • Loading branch information
SerhiyBoikoPLV committed Jul 25, 2024
1 parent ce8e873 commit 3671e89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions tests/aspell.en.pws
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ pn
PN
policer
PORTs
POE
PSE
pre
printf
ptr
Expand Down
4 changes: 2 additions & 2 deletions unittest/vslib/TestSwitchPoe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ TEST(SwitchPoE, refresh_read_only)
EXPECT_EQ(sw.get(SAI_OBJECT_TYPE_SWITCH, strSwitchId, 1, attrs), SAI_STATUS_SUCCESS);
EXPECT_EQ(attrs[0].value.objlist.count, 0);

// create poe device, pse, and 2 poe ports
// create POE device, PSE, and 2 POE ports

// device
sai_object_id_t devId = mgr->allocateNewObjectId(SAI_OBJECT_TYPE_POE_DEVICE, switchId);
Expand All @@ -95,7 +95,7 @@ TEST(SwitchPoE, refresh_read_only)
strncpy(attrs[0].value.chardata, "hw info", sizeof(attrs[0].value.chardata) - 1);
EXPECT_EQ(sw.create(SAI_OBJECT_TYPE_POE_DEVICE, strDevId, switchId, 1, attrs), SAI_STATUS_SUCCESS);

// pse
// PSE
sai_object_id_t pseId = mgr->allocateNewObjectId(SAI_OBJECT_TYPE_POE_PSE, switchId);
auto strPseId = sai_serialize_object_id(pseId);
attrs[0].id = SAI_POE_PSE_ATTR_ID;
Expand Down

0 comments on commit 3671e89

Please sign in to comment.