diff --git a/.github/pr-projects.json b/.github/pr-projects.json index 2f2237419d0a8..b74ed0ad3c31f 100644 --- a/.github/pr-projects.json +++ b/.github/pr-projects.json @@ -11,6 +11,7 @@ "ladakh800bcls", "m4061nhp", "m4062nhp", + "m4340nhp", "meru800bfa", "meru800bia", "minipack", diff --git a/fboss/agent/platforms/common/tests/PlatformMappingUtilsTest.cpp b/fboss/agent/platforms/common/tests/PlatformMappingUtilsTest.cpp index 56bd1d27eb5d7..89022c44d5636 100644 --- a/fboss/agent/platforms/common/tests/PlatformMappingUtilsTest.cpp +++ b/fboss/agent/platforms/common/tests/PlatformMappingUtilsTest.cpp @@ -138,6 +138,8 @@ TEST( PlatformType::PLATFORM_M4062NHP, PlatformType::PLATFORM_M4061CLSC, PlatformType::PLATFORM_M5120CSC, + PlatformType::PLATFORM_M4340NHP, + PlatformType::PLATFORM_M4061NHP, futurePlatformType, }; for (const auto type : platformTypes) { diff --git a/fboss/configs/platforms/nexthop/m4061nhp/platform_mapping/m4061nhp_platform_descriptor.csv b/fboss/configs/platforms/nexthop/m4061nhp/platform_mapping/m4061nhp_platform_descriptor.csv new file mode 100644 index 0000000000000..a18fdfa54bdfb --- /dev/null +++ b/fboss/configs/platforms/nexthop/m4061nhp/platform_mapping/m4061nhp_platform_descriptor.csv @@ -0,0 +1,2 @@ +System_Vendor,Platform_Type,Product_Name_Prefixes,Mode_Names,Asic_Type +nexthop,PLATFORM_M4061NHP,M4061NHP,m4061nhp,ASIC_TYPE_TOMAHAWK6 diff --git a/fboss/configs/platforms/nexthop/m4340nhp/platform_mapping/m4340nhp_platform_descriptor.csv b/fboss/configs/platforms/nexthop/m4340nhp/platform_mapping/m4340nhp_platform_descriptor.csv new file mode 100644 index 0000000000000..b9ac4c549f34b --- /dev/null +++ b/fboss/configs/platforms/nexthop/m4340nhp/platform_mapping/m4340nhp_platform_descriptor.csv @@ -0,0 +1,2 @@ +System_Vendor,Platform_Type,Product_Name_Prefixes,Mode_Names,Asic_Type +nexthop,PLATFORM_M4340NHP,M4340NHP,m4340nhp,ASIC_TYPE_QUMRAN4D diff --git a/fboss/lib/if/fboss_common.thrift b/fboss/lib/if/fboss_common.thrift index a22a231072c3a..e4851519fb258 100644 --- a/fboss/lib/if/fboss_common.thrift +++ b/fboss/lib/if/fboss_common.thrift @@ -71,6 +71,8 @@ enum PlatformType { PLATFORM_WEDGE800CNHP = 56, PLATFORM_M4061CLSC = 57, PLATFORM_M4052ACTM = 58, + PLATFORM_M4340NHP = 59, + PLATFORM_M4061NHP = 60, PLATFORM_UNKNOWN = 1000, # Placeholder for unknown platform type }