text: /*
   *  Copyright (c) 2004-present, Facebook, Inc.
   *  All rights reserved.
   *
   *  This source code is licensed under the BSD-style license found in the
   *  LICENSE file in the root directory of this source tree. An additional grant
   *  of patent rights can be found in the PATENTS file in the same directory.
   *
   */
  
  #include "fboss/agent/platforms/sai/SaiLassenPlatform.h"
  #include "fboss/agent/hw/switch_asics/TajoAsic.h"
  #include "fboss/agent/platforms/common/lassen/LassenPlatformMapping.h"
  
  #include <algorithm>
  
  namespace facebook::fboss {
  
  SaiLassenPlatform::SaiLassenPlatform(
      std::unique_ptr<PlatformProductInfo> productInfo,
      folly::MacAddress localMac)
      : SaiTajoPlatform(
            std::move(productInfo),
            std::make_unique<LassenPlatformMapping>(),
            localMac) {}
  
  std::string SaiLassenPlatform::getHwConfig() {
    return *config()->thrift.platform_ref()->get_chip().get_asic().config_ref();
  }
  
  SaiLassenPlatform::~SaiLassenPlatform() {}
  
  } // namespace facebook::fboss
  