blob: 88317193246ad05804958ace9eb1107c61243f51 [file]
"""Copybara config to export files from google3 to gbmcweb repo in gBMC public GoB.
Validate the config in terms of syntax:
copybara validate third_party/gbmcweb/copy.bara.sky
Test the transformation (add --init-history --squash for the first run)
1. Run the workflow in dry-run mode
alias copybara='/google/bin/releases/copybara/public/copybara/copybara'
copybara third_party/gbmcweb/copy.bara.sky gbmcweb_presubmit_piper_to_gerrit 12345 --dry-run --ignore-noop
2. Format patch (get the GIT_DIR from the copybara output)
GIT_DIR=/usr/local/google/home/$USER/copybara/cache/git_repos/rpc%3A%2F%2Fgbmc%2Fgbmcweb git format-patch -1 \
&& cp 0001-DO-NOT-SUBMIT.patch /path/to/gbmcweb
3. Apply the patch and test there.
Test the reverse transformation:
1. Edit https://gbmc-review.git.corp.google.com/c/gbmcweb/+/47934 to make a
simple change to each of the files you're adding, and rebase to the tip of
the branch.
2. Run the reverse workflow and look for any problems in the output:
copybara third_party/gbmcweb/copy.bara.sky gbmcweb_gob_to_piper_reverse_workflow 47934
3. The command should create a CL; look it over and ensure the transformations
work correctly.
"""
load("//devtools/copybara/library/feedback", "critique_findings_to_gerrit")
load("//devtools/copybara/library/global_authors", "original_author_to_googler")
load("//devtools/copybara/library/scrubbing", "cc_scrub", "doc_scrub", "message_extract_public_description", "proto_scrub")
load("//devtools/copybara/library/workflow", "get_metadata_scrubbing_transforms_with_rollback", "piper_sot_to_gerrit")
metadata_scrubber = get_metadata_scrubbing_transforms_with_rollback(
core.transform([
message_extract_public_description(msg_if_no_match = "Internal change\n"),
# TODO b/534110376: Split line by line for each BUG
metadata.expose_label("BUG", "Google-Bug-Id", separator = ":"),
]),
presubmit = False,
)
###################################################################################
# Do not modify this file from GoB. This file should only be modified in google3. #
###################################################################################
########################
# Private definitions
########################
# all c++ source files under current directory recrusively in google3
_g3_cc_files = ["**.h", "**.cc"]
_cc_files = ["**.h", "**.cc"]
_json_files = ["**.json"]
_proto_files = ["**.proto"]
# all c++ source files under current directory recrusively in GoB
_gob_cc_files = ["**.h", "**.cpp", "**.hpp", "**.cc"]
# Common files like OWNERS, METADATA, etc are excluded
_excluded_meta_files = [
"google3/third_party/gbmcweb/BUILD",
"google3/third_party/gbmcweb/bluze.textproto",
"google3/third_party/gbmcweb/METADATA",
"google3/third_party/gbmcweb/third_party.gbmcweb.blueprint",
"google3/third_party/gbmcweb/OWNERS",
"google3/third_party/gbmcweb/demo/**",
"google3/third_party/gbmcweb/**/BUILD",
]
# Mappings between Google3 relative paths (under google3/third_party/gbmcweb/) and GoB git paths.
_FILE_MAPPINGS = [
# go/keep-sorted start
("LICENSE", "LICENSE"),
("config/bmcweb.service.in", "config/bmcweb.service.in"),
("config/bmcweb.socket.in", "config/bmcweb.socket.in"),
("config/bmcweb_config.h.in", "config/bmcweb_config.h.in"),
("config/meson.build", "config/meson.build"),
("config/meson_options.txt", "meson_options.txt"),
("devpath_plugin/meson.build", "devpath_plugin/meson.build"),
("devpath_plugin/redfish_devpath_injector.cc", "devpath_plugin/redfish_devpath_injector.cpp"),
("devpath_plugin/redfish_devpath_injector.h", "devpath_plugin/redfish_devpath_injector.hpp"),
("devpath_plugin/redfish_devpath_injector_interface.h", "devpath_plugin/redfish_devpath_injector_interface.hpp"),
("devpath_plugin/redfish_devpath_injector_test.cc", "test/devpath_plugin/redfish_devpath_injector_test.cpp"),
("devpath_plugin/redfish_to_uhm_mapping.proto", "devpath_plugin/redfish_to_uhm_mapping.proto"),
("devpath_plugin/redfish_to_uhm_mapping_value.h", "devpath_plugin/redfish_to_uhm_mapping_value.hpp"),
("devpath_plugin/redfish_to_uhm_trie.cc", "devpath_plugin/redfish_to_uhm_trie.cpp"),
("devpath_plugin/redfish_to_uhm_trie.h", "devpath_plugin/redfish_to_uhm_trie.hpp"),
("devpath_plugin/redfish_to_uhm_trie_node.cc", "devpath_plugin/redfish_to_uhm_trie_node.cpp"),
("devpath_plugin/redfish_to_uhm_trie_node.h", "devpath_plugin/redfish_to_uhm_trie_node.hpp"),
("devpath_plugin/redfish_to_uhm_trie_test.cc", "test/devpath_plugin/redfish_to_uhm_trie_test.cpp"),
("http/app.cc", "http/app.cpp"),
("http/app.h", "http/app.hpp"),
("http/app_get_routes_test.cc", "test/http/crow_getroutes_test.cpp"),
("http/app_singleton.cc", "http/app_singleton.cpp"),
("http/app_singleton.h", "http/app_singleton.hpp"),
("http/common.h", "http/common.hpp"),
("http/http_client.h", "http/http_client.hpp"),
("http/http_connection.h", "http/http_connection.hpp"),
("http/http_request.cc", "http/http_request.cpp"),
("http/http_request.h", "http/http_request.hpp"),
("http/http_response.cc", "http/http_response.cpp"),
("http/http_response.h", "http/http_response.hpp"),
("http/http_server.h", "http/http_server.hpp"),
("http/logging.h", "http/logging.hpp"),
("http/mutual_tls.h", "http/mutual_tls.hpp"),
("http/parsing.h", "http/parsing.hpp"),
("http/routing.cc", "http/routing.cpp"),
("http/routing.h", "http/routing.hpp"),
("http/routing_test.cc", "test/http/router_test.cpp"),
("http/utility.cc", "http/utility.cpp"),
("http/utility.h", "http/utility.hpp"),
("http/utility_test.cc", "test/http/utility_test.cpp"),
("http/verb.h", "http/verb.hpp"),
("http/verb_test.cc", "test/http/verb_test.cpp"),
("http/websocket.h", "http/websocket.hpp"),
("include/async_resolve.h", "include/async_resolve.hpp"),
("include/async_resp.cc", "include/async_resp.cpp"),
("include/async_resp.h", "include/async_resp.hpp"),
("include/authentication.h", "include/authentication.hpp"),
("include/cors_preflight.h", "include/cors_preflight.hpp"),
("include/dbus_utility.cc", "include/dbus_utility.cpp"),
("include/dbus_utility.h", "include/dbus_utility.hpp"),
("include/dbus_utility_test.cc", "test/include/dbus_utility_test.cpp"),
("include/forward_unauthorized.h", "include/forward_unauthorized.hpp"),
("include/google/google_service_nvme.h", "include/google/google_service_nvme.hpp"),
("include/google/google_service_nvme_test.cc", "test/include/google/google_service_nvme_test.cpp"),
("include/google/google_service_root.h", "include/google/google_service_root.hpp"),
("include/hostname_monitor.h", "include/hostname_monitor.hpp"),
("include/http_utility.h", "include/http_utility.hpp"),
("include/http_utility_test.cc", "test/include/http_utility_test.cpp"),
("include/human_sort.h", "include/human_sort.hpp"),
("include/human_sort_test.cc", "test/include/human_sort_test.cpp"),
("include/image_upload.h", "include/image_upload.hpp"),
("include/json_html_serializer.h", "include/json_html_serializer.hpp"),
("include/managed_store_http.cc", "src/managed_store_http.cpp"),
("include/managed_store_http.h", "include/managed_store_http.hpp"),
("include/multipart_parser.h", "include/multipart_parser.hpp"),
("include/multipart_test.cc", "test/include/multipart_test.cpp"),
("include/openbmc_dbus_rest.h", "include/openbmc_dbus_rest.hpp"),
("include/openbmc_dbus_rest_test.cc", "test/include/openbmc_dbus_rest_test.cpp"),
("include/pam_authenticate.h", "include/pam_authenticate.hpp"),
("include/persistent_data.h", "include/persistent_data.hpp"),
("include/random.h", "include/random.hpp"),
("include/request_stats.cc", "src/request_stats.cpp"),
("include/request_stats.h", "include/request_stats.hpp"),
("include/request_stats_store_http.cc", "src/request_stats_store_http.cpp"),
("include/request_stats_store_http.h", "include/request_stats_store_http.hpp"),
("include/request_stats_test.cc", "test/include/request_stats_test.cpp"),
("include/security_headers.h", "include/security_headers.hpp"),
("include/sessions.cc", "include/sessions.cpp"),
("include/sessions.h", "include/sessions.hpp"),
("include/source_location.h", "include/source_location.hpp"),
("include/ssl_key_handler.h", "include/ssl_key_handler.hpp"),
("include/str_utility.h", "include/str_utility.hpp"),
("include/str_utility_test.cc", "test/include/str_utility_test.cpp"),
("include/user_monitor.h", "include/user_monitor.hpp"),
("include/webassets.h", "include/webassets.hpp"),
("include/webroutes.h", "include/webroutes.hpp"),
("include/webserver_main_setup.cc", "src/webserver_main_setup.cpp"),
("include/webserver_main_setup.h", "include/webserver_main_setup.hpp"),
("meson.build", "meson.build"),
("plugins/interface.h", "plugins/interface.hpp"),
("plugins/macros.h", "plugins/macros.hpp"),
("plugins/macros_test.cc", "plugins/macros_test.cpp"),
("redfish_core/include/aggregation_utils.h", "redfish-core/include/aggregation_utils.hpp"),
("redfish_core/include/error_messages.cc", "redfish-core/src/error_messages.cpp"),
("redfish_core/include/error_messages.h", "redfish-core/include/error_messages.hpp"),
("redfish_core/include/error_messages_test.cc", "test/redfish-core/src/error_messages_test.cpp"),
("redfish_core/include/generated/enums/**", "redfish-core/include/generated/enums/**"),
("redfish_core/include/gzfile.h", "redfish-core/include/gzfile.hpp"),
("redfish_core/include/privileges.h", "redfish-core/include/privileges.hpp"),
("redfish_core/include/privileges_test.cc", "test/redfish-core/include/privileges_test.cpp"),
("redfish_core/include/query.cc", "redfish-core/include/query.cpp"),
("redfish_core/include/query.h", "redfish-core/include/query.hpp"),
("redfish_core/include/query_test.cc", "test/redfish-core/include/query_test.cpp"),
("redfish_core/include/redfish.h", "redfish-core/include/redfish.hpp"),
("redfish_core/include/redfish_aggregator.h", "redfish-core/include/redfish_aggregator.hpp"),
("redfish_core/include/redfish_aggregator_test.cc", "test/redfish-core/include/redfish_aggregator_test.cpp"),
("redfish_core/include/registries.cc", "redfish-core/src/registries.cpp"),
("redfish_core/include/registries.h", "redfish-core/include/registries.hpp"),
("redfish_core/include/registries/base_message_registry.h", "redfish-core/include/registries/base_message_registry.hpp"),
("redfish_core/include/registries/openbmc_message_registry.h", "redfish-core/include/registries/openbmc_message_registry.hpp"),
("redfish_core/include/registries/privilege_registry.h", "redfish-core/include/registries/privilege_registry.hpp"),
("redfish_core/include/registries/resource_event_message_registry.h", "redfish-core/include/registries/resource_event_message_registry.hpp"),
("redfish_core/include/registries/task_event_message_registry.h", "redfish-core/include/registries/task_event_message_registry.hpp"),
("redfish_core/include/registries_test.cc", "test/redfish-core/include/registries_test.cpp"),
("redfish_core/include/schemas.h", "redfish-core/include/schemas.hpp"),
("redfish_core/include/task_messages.h", "redfish-core/include/task_messages.hpp"),
("redfish_core/include/utils/boottime.h", "redfish-core/include/utils/boottime.hpp"),
("redfish_core/include/utils/chassis_utils.h", "redfish-core/include/utils/chassis_utils.hpp"),
("redfish_core/include/utils/collection.h", "redfish-core/include/utils/collection.hpp"),
("redfish_core/include/utils/dbus_utils.h", "redfish-core/include/utils/dbus_utils.hpp"),
("redfish_core/include/utils/fan_utils.h", "redfish-core/include/utils/fan_utils.hpp"),
("redfish_core/include/utils/hex_utils.h", "redfish-core/include/utils/hex_utils.hpp"),
("redfish_core/include/utils/hex_utils_test.cc", "test/redfish-core/include/utils/hex_utils_test.cpp"),
("redfish_core/include/utils/ip_utils.h", "redfish-core/include/utils/ip_utils.hpp"),
("redfish_core/include/utils/ip_utils_test.cc", "test/redfish-core/include/utils/ip_utils_test.cpp"),
("redfish_core/include/utils/json_utils.cc", "redfish-core/src/utils/json_utils.cpp"),
("redfish_core/include/utils/json_utils.h", "redfish-core/include/utils/json_utils.hpp"),
("redfish_core/include/utils/json_utils_test.cc", "test/redfish-core/include/utils/json_utils_test.cpp"),
("redfish_core/include/utils/location_utils.h", "redfish-core/include/utils/location_utils.hpp"),
("redfish_core/include/utils/location_utils_test.cc", "test/redfish-core/include/utils/location_utils_test.cpp"),
("redfish_core/include/utils/nvme_metric_utils.h", "redfish-core/include/utils/nvme_metric_utils.hpp"),
("redfish_core/include/utils/stl_utils.h", "redfish-core/include/utils/stl_utils.hpp"),
("redfish_core/include/utils/stl_utils_test.cc", "test/redfish-core/include/utils/stl_utils_test.cpp"),
("redfish_core/include/utils/storage_utils.h", "redfish-core/include/utils/storage_utils.hpp"),
("redfish_core/include/utils/subprocess_utils.cc", "redfish-core/src/utils/subprocess_utils.cpp"),
("redfish_core/include/utils/subprocess_utils.h", "redfish-core/include/utils/subprocess_utils.hpp"),
("redfish_core/include/utils/subprocess_utils_fake.h", "redfish-core/include/utils/subprocess_utils_fake.hpp"),
("redfish_core/include/utils/sw_utils.h", "redfish-core/include/utils/sw_utils.hpp"),
("redfish_core/include/utils/system_utils.h", "redfish-core/include/utils/system_utils.hpp"),
("redfish_core/include/utils/systemd_utils.h", "redfish-core/include/utils/systemd_utils.hpp"),
("redfish_core/include/utils/telemetry_utils.h", "redfish-core/include/utils/telemetry_utils.hpp"),
("redfish_core/include/utils/time_utils.h", "redfish-core/include/utils/time_utils.hpp"),
("redfish_core/include/utils/time_utils_test.cc", "test/redfish-core/include/utils/time_utils_test.cpp"),
("redfish_core/lib/aggregation_service.h", "redfish-core/lib/aggregation_service.hpp"),
("redfish_core/lib/assembly.h", "redfish-core/lib/assembly.hpp"),
("redfish_core/lib/bios.h", "redfish-core/lib/bios.hpp"),
("redfish_core/lib/cable.h", "redfish-core/lib/cable.hpp"),
("redfish_core/lib/certificate_service.h", "redfish-core/lib/certificate_service.hpp"),
("redfish_core/lib/chassis.cc", "redfish-core/lib/chassis.cpp"),
("redfish_core/lib/chassis.h", "redfish-core/lib/chassis.hpp"),
("redfish_core/lib/component_integrity.h", "redfish-core/lib/component_integrity.hpp"),
("redfish_core/lib/control.h", "redfish-core/lib/control.hpp"),
("redfish_core/lib/environment_metrics.h", "redfish-core/lib/environment_metrics.hpp"),
("redfish_core/lib/ethernet.h", "redfish-core/lib/ethernet.hpp"),
("redfish_core/lib/external_storer.cc", "redfish-core/lib/external_storer.cpp"),
("redfish_core/lib/external_storer.h", "redfish-core/lib/external_storer.hpp"),
("redfish_core/lib/fabric_adapters.h", "redfish-core/lib/fabric_adapters.hpp"),
("redfish_core/lib/fan.h", "redfish-core/lib/fan.hpp"),
("redfish_core/lib/health.cc", "redfish-core/lib/health.cpp"),
("redfish_core/lib/health.h", "redfish-core/lib/health.hpp"),
("redfish_core/lib/led.h", "redfish-core/lib/led.hpp"),
("redfish_core/lib/log_services.cc", "redfish-core/lib/log_services.cpp"),
("redfish_core/lib/log_services.h", "redfish-core/lib/log_services.hpp"),
("redfish_core/lib/log_services_eventlog.cc", "redfish-core/lib/log_services_eventlog.cpp"),
("redfish_core/lib/manager_diagnostic_data.h", "redfish-core/lib/manager_diagnostic_data.hpp"),
("redfish_core/lib/managers.h", "redfish-core/lib/managers.hpp"),
("redfish_core/lib/memory.h", "redfish-core/lib/memory.hpp"),
("redfish_core/lib/metric_report.h", "redfish-core/lib/metric_report.hpp"),
("redfish_core/lib/metric_report_definition.h", "redfish-core/lib/metric_report_definition.hpp"),
("redfish_core/lib/network_adapter.h", "redfish-core/lib/network_adapter.hpp"),
("redfish_core/lib/network_protocol.h", "redfish-core/lib/network_protocol.hpp"),
("redfish_core/lib/nvme_features.h", "redfish-core/lib/nvme_features.hpp"),
("redfish_core/lib/other_software_service.h", "redfish-core/lib/other_software_service.hpp"),
("redfish_core/lib/pcie.h", "redfish-core/lib/pcie.hpp"),
("redfish_core/lib/pcie_slots.h", "redfish-core/lib/pcie_slots.hpp"),
("redfish_core/lib/port_metrics.h", "redfish-core/lib/port_metrics.hpp"),
("redfish_core/lib/ports.h", "redfish-core/lib/ports.hpp"),
("redfish_core/lib/power.h", "redfish-core/lib/power.hpp"),
("redfish_core/lib/power_subsystem.h", "redfish-core/lib/power_subsystem.hpp"),
("redfish_core/lib/power_supply.h", "redfish-core/lib/power_supply.hpp"),
("redfish_core/lib/power_supply_metrics.h", "redfish-core/lib/power_supply_metrics.hpp"),
("redfish_core/lib/processor.h", "redfish-core/lib/processor.hpp"),
("redfish_core/lib/redfish_util.h", "redfish-core/lib/redfish_util.hpp"),
("redfish_core/lib/redfish_v1.h", "redfish-core/lib/redfish_v1.hpp"),
("redfish_core/lib/sensors.h", "redfish-core/lib/sensors.hpp"),
("redfish_core/lib/service_root.h", "redfish-core/lib/service_root.hpp"),
("redfish_core/lib/storage.h", "redfish-core/lib/storage.hpp"),
("redfish_core/lib/systems.cc", "redfish-core/lib/systems.cpp"),
("redfish_core/lib/systems.h", "redfish-core/lib/systems.hpp"),
("redfish_core/lib/task.h", "redfish-core/lib/task.hpp"),
("redfish_core/lib/telemetry_service.h", "redfish-core/lib/telemetry_service.hpp"),
("redfish_core/lib/thermal.h", "redfish-core/lib/thermal.hpp"),
("redfish_core/lib/thermal_subsystem.h", "redfish-core/lib/thermal_subsystem.hpp"),
("redfish_core/lib/trusted_component.h", "redfish-core/lib/trusted_component.hpp"),
("redfish_core/lib/update_service.h", "redfish-core/lib/update_service.hpp"),
("scripts/generate_schema_collections.py", "scripts/generate_schema_collections.py"),
("scripts/generate_schema_enums.py", "scripts/generate_schema_enums.py"),
("scripts/parse_registries.py", "scripts/parse_registries.py"),
("scripts/update_schemas.py", "scripts/update_schemas.py"),
("src/webserver_main.cc", "src/webserver_main.cpp"),
("test/redfish_core/lib/assembly_test.cc", "test/redfish-core/lib/assembly_test.cpp"),
("test/redfish_core/lib/bios_multi_host_test.cc", "test/redfish-core/lib/bios_multi_host_test.cpp"),
("test/redfish_core/lib/bios_test.cc", "test/redfish-core/lib/bios_test.cpp"),
("test/redfish_core/lib/boot_time_test.cc", "test/redfish-core/lib/boot_time_test.cpp"),
("test/redfish_core/lib/cable_test.cc", "test/redfish-core/lib/cable_test.cpp"),
("test/redfish_core/lib/chassis_test.cc", "test/redfish-core/lib/chassis_test.cpp"),
("test/redfish_core/lib/component_integrity_test.cc", "test/redfish-core/lib/component_integrity_test.cpp"),
("test/redfish_core/lib/control_test.cc", "test/redfish-core/lib/control_test.cpp"),
("test/redfish_core/lib/external_storer_test.cc", "test/redfish-core/lib/external_storer_test.cpp"),
("test/redfish_core/lib/fan_test.cc", "test/redfish-core/lib/fan_test.cpp"),
("test/redfish_core/lib/health_test.cc", "test/redfish-core/lib/health_test.cpp"),
("test/redfish_core/lib/log_services_eventlog_test.cc", "test/redfish-core/lib/log_services_eventlog_test.cpp"),
("test/redfish_core/lib/log_services_test.cc", "test/redfish-core/lib/log_services_test.cpp"),
("test/redfish_core/lib/manager_diagnostic_data_test.cc", "test/redfish-core/lib/manager_diagnostic_data_test.cpp"),
("test/redfish_core/lib/manager_test.cc", "test/redfish-core/lib/manager_test.cpp"),
("test/redfish_core/lib/network_adapter_test.cc", "test/redfish-core/lib/network_adapter_test.cpp"),
("test/redfish_core/lib/nvme_features_test.cc", "test/redfish-core/lib/nvme_features_test.cpp"),
("test/redfish_core/lib/nvme_metric_test.cc", "test/redfish-core/lib/nvme_metric_test.cpp"),
("test/redfish_core/lib/pcie_slots_test.cc", "test/redfish-core/lib/pcie_slots_test.cpp"),
("test/redfish_core/lib/pcie_test.cc", "test/redfish-core/lib/pcie_test.cpp"),
("test/redfish_core/lib/port_metrics_test.cc", "test/redfish-core/lib/port_metrics_test.cpp"),
("test/redfish_core/lib/ports_test.cc", "test/redfish-core/lib/ports_test.cpp"),
("test/redfish_core/lib/power_subsystem_test.cc", "test/redfish-core/lib/power_subsystem_test.cpp"),
("test/redfish_core/lib/power_supply_metrics_test.cc", "test/redfish-core/lib/power_supply_metrics_test.cpp"),
("test/redfish_core/lib/power_supply_test.cc", "test/redfish-core/lib/power_supply_test.cpp"),
("test/redfish_core/lib/power_test.cc", "test/redfish-core/lib/power_test.cpp"),
("test/redfish_core/lib/processor_test.cc", "test/redfish-core/lib/processor_test.cpp"),
("test/redfish_core/lib/service_root_test.cc", "test/redfish-core/lib/service_root_test.cpp"),
("test/redfish_core/lib/snapshot_fixture.h", "test/redfish-core/lib/snapshot_fixture.hpp"),
("test/redfish_core/lib/snapshot_fixture_test.cc", "test/redfish-core/lib/snapshot_fixture_test.cpp"),
("test/redfish_core/lib/system_multi_host_test.cc", "test/redfish-core/lib/system_multi_host_test.cpp"),
("test/redfish_core/lib/system_test.cc", "test/redfish-core/lib/system_test.cpp"),
("test/redfish_core/lib/system_utils_test.cc", "test/redfish-core/lib/system_utils_test.cpp"),
("test/redfish_core/lib/update_service_test.cc", "test/redfish-core/lib/update_service_test.cpp"),
# go/keep-sorted end
]
_all_gbmcweb_google3_files = sorted([
"google3/third_party/gbmcweb/" + g3_file
for g3_file, _ in _FILE_MAPPINGS
])
_git_files = sorted([
git_file
for _, git_file in _FILE_MAPPINGS
])
_ecclesia_lib = [
"google3/third_party/ecclesia/lib/redfish/proto/redfish_v1.proto",
]
_gbmcweb_codebase_lib = [
"google3/third_party/ecclesia/lib/status/macros.h",
"google3/third_party/milotic/internal/cc/bmcweb/callable_once.h",
"google3/third_party/milotic/internal/cc/bmcweb/server.h",
"google3/third_party/milotic/internal/cc/bmcweb/server.cc",
"google3/third_party/milotic/internal/cc/bmcweb/app_interface.h",
"google3/third_party/milotic/internal/cc/bmcweb/smart_router.h",
"google3/third_party/milotic/internal/cc/bmcweb/smart_router.cc",
"google3/third_party/milotic/internal/cc/bmcweb/managed_store.h",
"google3/third_party/milotic/internal/cc/bmcweb/managed_store.cc",
"google3/third_party/milotic/internal/cc/bmcweb/managed_store_clock.h",
"google3/third_party/milotic/internal/cc/bmcweb/managed_store_types.h",
"google3/third_party/milotic/internal/cc/bmcweb/managed_store_types.cc",
"google3/third_party/milotic/internal/cc/bmcweb/mock_managed_store.h",
"google3/third_party/milotic/internal/cc/bmcweb/mock_managed_store_test.h",
"google3/third_party/milotic/internal/cc/bmcweb/mock_managed_store_test.cc",
"google3/third_party/milotic/internal/cc/bmcweb/managed_store_serialization.h",
"google3/third_party/milotic/internal/cc/bmcweb/managed_store_serialization.cc",
"google3/third_party/milotic/internal/cc/bmcweb/rate_limiter.h",
"google3/third_party/milotic/internal/cc/bmcweb/rate_limiter.cc",
"google3/third_party/milotic/internal/cc/bmcweb/router_interface.h",
"google3/third_party/ecclesia/lib/redfish/event/server/event_store.h",
"google3/third_party/ecclesia/lib/redfish/event/server/event_store.cc",
"google3/third_party/ecclesia/lib/redfish/event/server/subscription.h",
"google3/third_party/ecclesia/lib/redfish/event/server/subscription.cc",
"google3/third_party/ecclesia/lib/redfish/event/server/subscription_impl.h",
"google3/third_party/ecclesia/lib/redfish/event/server/subscription_impl.cc",
"google3/third_party/ecclesia/lib/redfish/event/server/subscription_store_impl.h",
"google3/third_party/ecclesia/lib/redfish/event/server/subscription_store_impl.cc",
"google3/subscription_backend_impl.hpp",
"google3/subscription_backend_impl.cpp",
]
_gbmc_codebase_lib = [
"google3/third_party/milotic/internal/cc/redfish/meson.build",
"google3/third_party/ecclesia/lib/redfish/proto/redfish_v1_grpc_include.h",
"google3/third_party/milotic/internal/cc/redfish/authz_server.service.in",
"google3/third_party/milotic/internal/build/grpc/grpc_headers.h",
]
_redfish_authz_lib = [
"google3/third_party/milotic/internal/cc/authz/bmcweb_authorizer_singleton.h",
"google3/third_party/milotic/internal/cc/authz/bmcweb_authorizer_singleton.cc",
"google3/third_party/milotic/internal/cc/authz/config_generator.h",
"google3/third_party/milotic/internal/cc/authz/config_generator.cc",
"google3/third_party/milotic/internal/cc/authz/config_generator_main.cc",
"google3/third_party/milotic/internal/cc/authz/authz_server_main.cc",
"google3/third_party/milotic/external/cc/authz/subscription_tracker.h",
"google3/third_party/milotic/external/cc/authz/subscription_tracker.cc",
"google3/third_party/milotic/external/cc/authz/config_parser.h",
"google3/third_party/milotic/external/cc/authz/config_parser.cc",
"google3/third_party/milotic/external/cc/authz/json_utils.h",
"google3/third_party/milotic/external/cc/authz/json_utils.cc",
"google3/third_party/milotic/external/cc/authz/oauth_utils.h",
"google3/third_party/milotic/external/cc/authz/oauth_utils.cc",
"google3/third_party/milotic/external/cc/authz/peer_identity.h",
"google3/third_party/milotic/external/cc/authz/peer_identity_grpc.h",
"google3/third_party/milotic/external/cc/authz/peer_identity_grpc.cc",
"google3/third_party/milotic/external/cc/authz/redfish_authorizer_interface.h",
"google3/third_party/milotic/external/cc/authz/redfish_authorizer.h",
"google3/third_party/milotic/external/cc/authz/redfish_authorizer.cc",
"google3/third_party/milotic/external/cc/authz/redfish_privileges.h",
"google3/third_party/milotic/external/cc/authz/redfish_privileges.cc",
"google3/third_party/milotic/external/cc/authz/redfish_privileges_json.h",
"google3/third_party/milotic/external/cc/authz/redfish_privileges_json.cc",
"google3/third_party/milotic/external/cc/authz/redfish_entity_trie.h",
"google3/third_party/milotic/external/cc/authz/redfish_entity_trie.cc",
"google3/third_party/milotic/external/cc/authz/redfish_subtree_privileges_trie_node.h",
"google3/third_party/milotic/external/cc/authz/redfish_subtree_privileges_trie_node.cc",
"google3/third_party/milotic/external/cc/authz/redfish_entity_trie_node.h",
"google3/third_party/milotic/external/cc/authz/redfish_entity_trie_node.cc",
"google3/third_party/milotic/external/cc/authz/override.h",
"google3/third_party/milotic/external/cc/authz/override.cc",
"google3/third_party/milotic/external/cc/authz/override_json.h",
"google3/third_party/milotic/external/cc/authz/override_json.cc",
"google3/third_party/milotic/external/cc/authz/resource_uri_override.h",
"google3/third_party/milotic/external/cc/authz/resource_uri_override.cc",
"google3/third_party/milotic/external/cc/authz/subordinate_override.h",
"google3/third_party/milotic/external/cc/authz/subordinate_override.cc",
"google3/third_party/milotic/external/cc/authz/pattern_to_entity_array.h",
"google3/third_party/ecclesia/lib/redfish/authorizer_enums.h",
"google3/third_party/ecclesia/lib/redfish/authorizer_enums.cc",
"google3/third_party/milotic/external/cc/authz/authz_server.h",
"google3/third_party/milotic/external/cc/authz/authz_server.cc",
"google3/third_party/milotic/external/cc/authz/proto/oauth.proto",
"google3/third_party/milotic/external/cc/authz/proto/authorized_entity.proto",
]
_tlbmc_lib = [
# go/keep-sorted start
"google3/platforms/syshealth/collection/feed/forward/client/lib/anycast_user.h",
"google3/platforms/uhm/query/proto/bus_topology.proto",
"google3/platforms/uhm/query/proto/offline_data.proto",
"google3/third_party/ecclesia/lib/apifs/apifs.cc",
"google3/third_party/ecclesia/lib/apifs/apifs.h",
"google3/third_party/ecclesia/lib/file/dir.cc",
"google3/third_party/ecclesia/lib/file/dir.h",
"google3/third_party/ecclesia/lib/file/path.cc",
"google3/third_party/ecclesia/lib/file/path.h",
"google3/third_party/ecclesia/lib/io/ioctl.cc",
"google3/third_party/ecclesia/lib/io/ioctl.h",
"google3/third_party/ecclesia/lib/io/smbus/kernel_dev.cc",
"google3/third_party/ecclesia/lib/io/smbus/kernel_dev.h",
"google3/third_party/ecclesia/lib/io/smbus/smbus.cc",
"google3/third_party/ecclesia/lib/io/smbus/smbus.h",
"google3/third_party/ecclesia/lib/protobuf/parse.h",
"google3/third_party/ecclesia/lib/redfish/transport/grpc_tls_options.cc",
"google3/third_party/ecclesia/lib/redfish/transport/grpc_tls_options.h",
"google3/third_party/ecclesia/lib/thread/thread.cc",
"google3/third_party/ecclesia/lib/thread/thread.h",
"google3/third_party/ecclesia/lib/time/clock.cc",
"google3/third_party/ecclesia/lib/time/clock.h",
"google3/third_party/ecclesia/lib/time/proto.cc",
"google3/third_party/ecclesia/lib/time/proto.h",
"google3/third_party/ecclesia/lib/types/fixed_range_int.h",
"google3/third_party/milotic/external/cc/fast_sanity/definitions/fru_component_model.proto",
"google3/third_party/milotic/external/cc/fast_sanity/definitions/fru_service.proto",
"google3/third_party/milotic/external/cc/fast_sanity/service/fru_service.cc",
"google3/third_party/milotic/external/cc/fast_sanity/service/fru_service.h",
"google3/third_party/milotic/external/cc/hft/adapter/data_source.h",
"google3/third_party/milotic/external/cc/hft/aggregation/telemetry_aggregation.proto",
"google3/third_party/milotic/external/cc/hft/service/hft_capabilities.proto",
"google3/third_party/milotic/external/cc/hft/service/hft_service.proto",
"google3/third_party/milotic/external/cc/hft/types/edge_filtering.proto",
"google3/third_party/milotic/external/cc/hft/types/fru_identifier.proto",
"google3/third_party/milotic/external/cc/hft/types/fru_payload.proto",
"google3/third_party/milotic/external/cc/hft/types/identifier.proto",
"google3/third_party/milotic/external/cc/hft/types/payload.proto",
"google3/third_party/milotic/external/cc/hft/types/sensor_identifier.proto",
"google3/third_party/milotic/external/cc/hft/types/sensor_payload.proto",
"google3/third_party/milotic/external/cc/hft/types/subscription_params.proto",
"google3/third_party/milotic/external/cc/tlbmc/central_config/central_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/central_config/config.cc",
"google3/third_party/milotic/external/cc/tlbmc/central_config/config.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/bulk_sensor_collector_base.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/bulk_sensor_collector_base.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/default_bulk_sensor_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/fake_fru_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/fake_fru_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/fake_gpio_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/fake_gpio_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/fru_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/fru_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/gpio_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/gpio_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/metric_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/metric_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/monitoring_change_base.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/pcie_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/pcie_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/peci_scanner.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/peci_scanner.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/power_control_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/power_control_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/power_fault_log_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/power_fault_log_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/resource_state_manager.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/resource_state_manager.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/sel_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/sel_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/sensor_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/sensor_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/sensor_collector_aggregator.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/sensor_collector_aggregator.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/thermal_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/thermal_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/configs/ad_hoc_fru_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/adc_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/blocklist_parser.cc",
"google3/third_party/milotic/external/cc/tlbmc/configs/blocklist_parser.h",
"google3/third_party/milotic/external/cc/tlbmc/configs/bulk_device_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/entity_common_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/entity_config.cc",
"google3/third_party/milotic/external/cc/tlbmc/configs/entity_config.h",
"google3/third_party/milotic/external/cc/tlbmc/configs/entity_config_json_impl.cc",
"google3/third_party/milotic/external/cc/tlbmc/configs/entity_config_json_impl.h",
"google3/third_party/milotic/external/cc/tlbmc/configs/expression.cc",
"google3/third_party/milotic/external/cc/tlbmc/configs/expression.h",
"google3/third_party/milotic/external/cc/tlbmc/configs/fan_controller_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/fan_pwm_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/fan_tach_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/gpio_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/gpio_fru_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/gpio_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/hal_common_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/hwmon_temp_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/intel_cpu_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/nic_telemetry_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/pcie_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/power_control.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/power_fault_detector_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/power_fault_log_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/proto_config_parser.cc",
"google3/third_party/milotic/external/cc/tlbmc/configs/proto_config_parser.h",
"google3/third_party/milotic/external/cc/tlbmc/configs/psu_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/rate_limiter_config.cc",
"google3/third_party/milotic/external/cc/tlbmc/configs/rate_limiter_config.h",
"google3/third_party/milotic/external/cc/tlbmc/configs/reading_range_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/reading_transform_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/redfish_aggregated_batch_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/redfish_aggregated_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/sel_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/sensor_instance_properties.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/shared_mem_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/software_metrics_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/subscription_config.h",
"google3/third_party/milotic/external/cc/tlbmc/configs/thermal_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/thermal_controller_specification.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/threshold_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/topology_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/usb_fru_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/virtual_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/credentials/credential_manager.h",
"google3/third_party/milotic/external/cc/tlbmc/credentials/credential_manager_impl.cc",
"google3/third_party/milotic/external/cc/tlbmc/credentials/credential_manager_impl.h",
"google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/i2c_walker/i2c_walker_interface.h",
"google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/i2c_walker/uhmm_i2c_walker.cc",
"google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/i2c_walker/uhmm_i2c_walker.h",
"google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/offline_config_parser/offline_config_parser.cc",
"google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/offline_config_parser/offline_config_parser.h",
"google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/offline_config_parser/offline_config_parser_interface.h",
"google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/offline_config_parser/proto_reader.h",
"google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/uhmm/fru_i2c.proto",
"google3/third_party/milotic/external/cc/tlbmc/expression/expression.cc",
"google3/third_party/milotic/external/cc/tlbmc/expression/expression.h",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/bulk_sensor_collector.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/fru_collector.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/gpio_collector.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/pcie_collector.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/power_fault_log_collector.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/sel_collector.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/sensor_collector.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/thermal_collector.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/credentials.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/host_state.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/pacemaker.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/scheduler.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/sensors/adc_sensors.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/sensors/fan_sensors.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/sensors/hwmon_temp_sensors.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/sensors/psu_sensor.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/components/sensors/redfish_aggregated.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/configuration/central_config.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/configuration/entity_config.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/debugging/sensor_debug_guide.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/general/getting_started.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/general/redfish_resource_ownership_model.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/modules/collectors.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/modules/metrics.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/modules/sensors.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/modules/thermal.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/modules/thermal/control_loops.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/modules/thermal/zone_management.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/onboarding_npis/fru_collector_module.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/onboarding_npis/install_module.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/onboarding_npis/metric_collector_module.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/onboarding_npis/overview.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/onboarding_npis/redfish_rate_limiter_module.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/onboarding_npis/sensor_collector_module.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/onboarding_npis/trust_bundle_install_module.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish/certificate_service.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish/chassis.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish/managers.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish/power_subsystem.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish/sensors.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish/thermal_subsystem.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish/update_service.md",
"google3/third_party/milotic/external/cc/tlbmc/hal/fake_fru_scanner_fram.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/fake_fru_scanner_fram.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_adc.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_adc.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_cable.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_cable.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_fram.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_fram.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_gpio.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_gpio.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_i2c.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_i2c.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_usb.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_usb.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/gpio/gpio.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/gpio/gpio.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/gpio/gpio_monitor.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/gpio/gpio_monitor.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/gpio/on_demand_gpio.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/gpio/on_demand_gpio.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/accessor_base.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/interface.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/interface.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/type.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/veeprom.proto",
"google3/third_party/milotic/external/cc/tlbmc/hal/peci/peci_access_impl.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/peci/peci_access_impl.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/peci/peci_access_interface.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/power_fault_detector/power_fault_detector.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/power_fault_detector/power_fault_detector.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/client_interface.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/client_segment.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/demo/shared_mem_cli.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/demo/shared_mem_metrics_client.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/demo/shared_mem_metrics_server.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/demo/shared_mem_sensor_client.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/demo/shared_mem_sensor_server.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/metrics.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/metrics.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/sensors.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/server_interface.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_client_impl.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_client_impl.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_client_segment.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_client_segment.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_server_impl.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_server_impl.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_shm_common.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/hwmon.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/hwmon.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/i2c.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/i2c.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/i3c.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/i3c.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/iio.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/iio.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/peci.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/peci.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/system_registry.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/system_registry_impl.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/system_registry_impl.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/system_registry_mock.h",
"google3/third_party/milotic/external/cc/tlbmc/hft/core/edge_filter.cc",
"google3/third_party/milotic/external/cc/tlbmc/hft/core/edge_filter.h",
"google3/third_party/milotic/external/cc/tlbmc/hft/core/hft_service.cc",
"google3/third_party/milotic/external/cc/tlbmc/hft/core/hft_service.h",
"google3/third_party/milotic/external/cc/tlbmc/hft/core/manager.h",
"google3/third_party/milotic/external/cc/tlbmc/hft/core/manager_fake.h",
"google3/third_party/milotic/external/cc/tlbmc/hft/core/manager_impl.cc",
"google3/third_party/milotic/external/cc/tlbmc/hft/core/manager_impl.h",
"google3/third_party/milotic/external/cc/tlbmc/hft/core/scheduler.h",
"google3/third_party/milotic/external/cc/tlbmc/hft/manager_debug_json.cc",
"google3/third_party/milotic/external/cc/tlbmc/hft/manager_debug_json.h",
"google3/third_party/milotic/external/cc/tlbmc/hft/task_scheduler_adapter.h",
"google3/third_party/milotic/external/cc/tlbmc/host_state/host_state_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/host_state/host_state_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/host_state/power_control.cc",
"google3/third_party/milotic/external/cc/tlbmc/host_state/power_control.h",
"google3/third_party/milotic/external/cc/tlbmc/http/http_client.cc",
"google3/third_party/milotic/external/cc/tlbmc/http/http_client.h",
"google3/third_party/milotic/external/cc/tlbmc/http/http_client_interface.h",
"google3/third_party/milotic/external/cc/tlbmc/meson.build",
"google3/third_party/milotic/external/cc/tlbmc/metrics/bmc_static_metrics.cc",
"google3/third_party/milotic/external/cc/tlbmc/metrics/bmc_static_metrics.h",
"google3/third_party/milotic/external/cc/tlbmc/metrics/software_metrics.cc",
"google3/third_party/milotic/external/cc/tlbmc/metrics/software_metrics.h",
"google3/third_party/milotic/external/cc/tlbmc/pacemaker/pacemaker.cc",
"google3/third_party/milotic/external/cc/tlbmc/pacemaker/pacemaker.h",
"google3/third_party/milotic/external/cc/tlbmc/pacemaker/pacemaker.service",
"google3/third_party/milotic/external/cc/tlbmc/pacemaker/pacemaker_main.cc",
"google3/third_party/milotic/external/cc/tlbmc/rcu/simple_rcu.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/app.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/app.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/black_magic.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/common.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.proto",
"google3/third_party/milotic/external/cc/tlbmc/redfish/expand_query_aggregator.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/expand_query_aggregator.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/query.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/query.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/query_parameters.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/query_parameters.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/request.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/request.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/response.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/response.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/action_managers/file_manager.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/action_managers/file_manager.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_chassis.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_chassis.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_routes.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_routes.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_sensors.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_sensors.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/assembly.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/assembly.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/cable.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/cable.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/certificate_service.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/certificate_service.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/chassis.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/chassis.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/debug.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/debug.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/fan.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/fan.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/manager_certificates.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/manager_certificates.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/managers.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/managers.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/metric.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/metric.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/pcie.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/pcie.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_fault_log.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_fault_log.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_subsystem.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_subsystem.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_supply.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_supply.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_supply_metrics.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_supply_metrics.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/rate_limiter.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/rate_limiter.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/redfish_authorization.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/redfish_authorization.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/service_root.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/service_root.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/system.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/system.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/system_event_log.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/system_event_log.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/task_service.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/task_service.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/thermal_subsystem.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/thermal_subsystem.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tlbmc_metrics.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tlbmc_metrics.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tlbmc_root.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tlbmc_root.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tpuwizard/tpuwizard.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tpuwizard/tpuwizard.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/update_service.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/update_service.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routing.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routing.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/url.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/url.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/verb.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/verb.h",
"google3/third_party/milotic/external/cc/tlbmc/resource/fru.proto",
"google3/third_party/milotic/external/cc/tlbmc/resource/memory.proto",
"google3/third_party/milotic/external/cc/tlbmc/resource/power_fault_log_entry.proto",
"google3/third_party/milotic/external/cc/tlbmc/resource/processor.proto",
"google3/third_party/milotic/external/cc/tlbmc/resource/reset_type.cc",
"google3/third_party/milotic/external/cc/tlbmc/resource/reset_type.h",
"google3/third_party/milotic/external/cc/tlbmc/resource/resource.proto",
"google3/third_party/milotic/external/cc/tlbmc/resource/sensor.proto",
"google3/third_party/milotic/external/cc/tlbmc/resource/software_metrics.proto",
"google3/third_party/milotic/external/cc/tlbmc/resource/status.proto",
"google3/third_party/milotic/external/cc/tlbmc/resource/syslog_config_utils.cc",
"google3/third_party/milotic/external/cc/tlbmc/resource/syslog_config_utils.h",
"google3/third_party/milotic/external/cc/tlbmc/scheduler/scheduler.cc",
"google3/third_party/milotic/external/cc/tlbmc/scheduler/scheduler.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/adc_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/adc_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/amd_cpu_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/amd_cpu_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/fan_controller.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/fan_controller.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/fan_pwm.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/fan_pwm.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/fan_tach.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/fan_tach.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/gpio_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/gpio_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_based_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_based_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_input_device.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_input_device.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_temp_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_temp_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/intel_cpu_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/intel_cpu_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/ixc_hwmon_based_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/ixc_hwmon_based_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/nic_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/nic_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/peci_hwmon_based_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/peci_hwmon_based_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/polling_base_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/polling_base_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/psu_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/psu_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/redfish_aggregated_batch.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/redfish_aggregated_batch.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/redfish_aggregated_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/redfish_aggregated_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/shared_mem_based_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/shared_mem_based_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/sync_polling_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/sync_polling_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/virtual_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/virtual_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/store/factory.cc",
"google3/third_party/milotic/external/cc/tlbmc/store/factory.h",
"google3/third_party/milotic/external/cc/tlbmc/store/octeon10_evk_store.cc",
"google3/third_party/milotic/external/cc/tlbmc/store/octeon10_evk_store.h",
"google3/third_party/milotic/external/cc/tlbmc/store/store.h",
"google3/third_party/milotic/external/cc/tlbmc/store/store_hft_adapter.cc",
"google3/third_party/milotic/external/cc/tlbmc/store/store_hft_adapter.h",
"google3/third_party/milotic/external/cc/tlbmc/store/store_impl.cc",
"google3/third_party/milotic/external/cc/tlbmc/store/store_impl.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/dff.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/dff.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/eat.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/eat.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/first_order_adrc.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/first_order_adrc.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/pid.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/pid.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/second_order_adrc.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/second_order_adrc.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/stepwise.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/stepwise.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/utils/nonlinear_tracking_differentiator.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/utils/nonlinear_tracking_differentiator.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/controller.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/dff_controller.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/dff_controller.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/eat_controller.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/eat_controller.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/fan_pid_controller.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/fan_pid_controller.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/first_order_adrc_controller.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/first_order_adrc_controller.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/optimizer_logger.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/pid/pid_optimizer.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/pid/ziegler_nichols/differentiated_ziegler_nichols.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/pid/ziegler_nichols/differentiated_ziegler_nichols.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/pid/ziegler_nichols/ziegler_nichols.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/pid/ziegler_nichols/ziegler_nichols.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/pid_controller.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/pid_controller.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/second_order_adrc_controller.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/second_order_adrc_controller.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/stepwise_controller.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller/stepwise_controller.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller_info/controller_info.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/controller_info/controller_info.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/debug_mode.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/failsafe_logger.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/failsafe_logger.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/fan_info/fan_info.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/fan_info/fan_info.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/sensor_info/sensor_info.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/sensor_info/sensor_info.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/thermal_control_utils.h",
"google3/third_party/milotic/external/cc/tlbmc/thermal/zone_manager.cc",
"google3/third_party/milotic/external/cc/tlbmc/thermal/zone_manager.h",
"google3/third_party/milotic/external/cc/tlbmc/time/time.cc",
"google3/third_party/milotic/external/cc/tlbmc/time/time.h",
"google3/third_party/milotic/external/cc/tlbmc/trace/trace.proto",
"google3/third_party/milotic/external/cc/tlbmc/trace/tracer.cc",
"google3/third_party/milotic/external/cc/tlbmc/trace/tracer.h",
"google3/third_party/milotic/external/cc/tlbmc/utils/command_executor.h",
"google3/third_party/milotic/external/cc/tlbmc/utils/fram_utils.cc",
"google3/third_party/milotic/external/cc/tlbmc/utils/fram_utils.h",
"google3/third_party/milotic/external/cc/tlbmc/utils/fru_reader.cc",
"google3/third_party/milotic/external/cc/tlbmc/utils/fru_reader.h",
"google3/third_party/milotic/external/cc/tlbmc/utils/fru_utils.cc",
"google3/third_party/milotic/external/cc/tlbmc/utils/fru_utils.h",
"google3/third_party/milotic/external/cc/tlbmc/utils/inotify_watcher.cc",
"google3/third_party/milotic/external/cc/tlbmc/utils/inotify_watcher.h",
"google3/third_party/milotic/external/cc/tlbmc/utils/shell_command_executor.h",
"google3/third_party/milotic/external/cc/true_hitless/true_hitless_metrics.proto",
"google3/third_party/milotic/external/cc/true_hitless/true_hitless_metrics_parser.cc",
"google3/third_party/milotic/external/cc/true_hitless/true_hitless_metrics_parser.h",
"google3/third_party/openbmc_libpeci/linux/peci-ioctl.h",
# go/keep-sorted end
]
_install_files = [
"google3/third_party/milotic/external/cc/bloom_install/activation-check.service",
"google3/third_party/milotic/external/cc/bloom_install/activation-check.timer",
"google3/third_party/milotic/external/cc/bloom_install/install-service.service",
"google3/third_party/milotic/external/cc/bloom_install/collect-debug-log.service",
"google3/third_party/milotic/external/cc/bloom_install/collect_debug_log.sh",
"google3/third_party/milotic/external/cc/bloom_install/installer_main.cc",
"google3/third_party/milotic/external/cc/bloom_install/installer.cc",
"google3/third_party/milotic/external/cc/bloom_install/installer.h",
"google3/third_party/milotic/external/cc/bloom_install/meson.build",
"google3/third_party/milotic/external/cc/bloom_install/verify_bundle.sh",
]
_gob_tlbmc_files = [
# go/keep-sorted start
"tlbmc/ad_hoc_fru_config.proto",
"tlbmc/adapter/data_source.h",
"tlbmc/adc_sensor_config.proto",
"tlbmc/bulk_device_config.proto",
"tlbmc/central_config.proto",
"tlbmc/central_config/config.cc",
"tlbmc/central_config/config.h",
"tlbmc/collector/bulk_sensor_collector_base.cc",
"tlbmc/collector/bulk_sensor_collector_base.h",
"tlbmc/collector/collector.h",
"tlbmc/collector/default_bulk_sensor_collector.cc",
"tlbmc/collector/fake_fru_collector.cc",
"tlbmc/collector/fake_fru_collector.h",
"tlbmc/collector/fake_gpio_collector.cc",
"tlbmc/collector/fake_gpio_collector.h",
"tlbmc/collector/fru_collector.cc",
"tlbmc/collector/fru_collector.h",
"tlbmc/collector/gpio_collector.cc",
"tlbmc/collector/gpio_collector.h",
"tlbmc/collector/metric_collector.cc",
"tlbmc/collector/metric_collector.h",
"tlbmc/collector/monitoring_change_base.h",
"tlbmc/collector/pcie_collector.cc",
"tlbmc/collector/pcie_collector.h",
"tlbmc/collector/peci_scanner.cc",
"tlbmc/collector/peci_scanner.h",
"tlbmc/collector/power_control_collector.cc",
"tlbmc/collector/power_control_collector.h",
"tlbmc/collector/power_fault_log_collector.cc",
"tlbmc/collector/power_fault_log_collector.h",
"tlbmc/collector/resource_state_manager.cc",
"tlbmc/collector/resource_state_manager.h",
"tlbmc/collector/sensor_collector.cc",
"tlbmc/collector/sensor_collector.h",
"tlbmc/collector/sensor_collector_aggregator.cc",
"tlbmc/collector/sensor_collector_aggregator.h",
"tlbmc/configs/blocklist_parser.cc",
"tlbmc/configs/blocklist_parser.h",
"tlbmc/configs/entity_config.cc",
"tlbmc/configs/entity_config.h",
"tlbmc/configs/entity_config_json_impl.cc",
"tlbmc/configs/entity_config_json_impl.h",
"tlbmc/configs/expression.cc",
"tlbmc/configs/expression.h",
"tlbmc/configs/proto_config_parser.cc",
"tlbmc/configs/proto_config_parser.h",
"tlbmc/configs/subscription_config.h",
"tlbmc/credentials/credential_manager.h",
"tlbmc/credentials/credential_manager_impl.cc",
"tlbmc/credentials/credential_manager_impl.h",
"tlbmc/deterministic_bmc/i2c_walker/i2c_walker_interface.h",
"tlbmc/deterministic_bmc/i2c_walker/uhmm_i2c_walker.cc",
"tlbmc/deterministic_bmc/i2c_walker/uhmm_i2c_walker.h",
"tlbmc/deterministic_bmc/offline_config_parser/offline_config_parser.cc",
"tlbmc/deterministic_bmc/offline_config_parser/offline_config_parser.h",
"tlbmc/deterministic_bmc/offline_config_parser/offline_config_parser_interface.h",
"tlbmc/deterministic_bmc/offline_config_parser/proto_reader.h",
"tlbmc/edge_filtering.proto",
"tlbmc/entity_common_config.proto",
"tlbmc/expression/expression.cc",
"tlbmc/expression/expression.h",
"tlbmc/fan_controller_config.proto",
"tlbmc/fan_pwm_config.proto",
"tlbmc/fan_tach_config.proto",
"tlbmc/fru.proto",
"tlbmc/fru_component_model.proto",
"tlbmc/fru_identifier.proto",
"tlbmc/fru_payload.proto",
"tlbmc/fru_service.proto",
"tlbmc/g3doc/debug/sensor_debug_guide.md",
"tlbmc/g3doc/general/redfish_resource_ownership_model.md",
"tlbmc/gpio_config.proto",
"tlbmc/gpio_fru_config.proto",
"tlbmc/gpio_sensor_config.proto",
"tlbmc/hal/fake_fru_scanner_fram.cc",
"tlbmc/hal/fake_fru_scanner_fram.h",
"tlbmc/hal/fru_scanner.h",
"tlbmc/hal/fru_scanner_adc.cc",
"tlbmc/hal/fru_scanner_adc.h",
"tlbmc/hal/fru_scanner_cable.cc",
"tlbmc/hal/fru_scanner_cable.h",
"tlbmc/hal/fru_scanner_fram.cc",
"tlbmc/hal/fru_scanner_fram.h",
"tlbmc/hal/fru_scanner_gpio.cc",
"tlbmc/hal/fru_scanner_gpio.h",
"tlbmc/hal/fru_scanner_i2c.cc",
"tlbmc/hal/fru_scanner_i2c.h",
"tlbmc/hal/fru_scanner_usb.cc",
"tlbmc/hal/fru_scanner_usb.h",
"tlbmc/hal/gpio/gpio.cc",
"tlbmc/hal/gpio/gpio.h",
"tlbmc/hal/gpio/gpio_monitor.cc",
"tlbmc/hal/gpio/gpio_monitor.h",
"tlbmc/hal/gpio/on_demand_gpio.cc",
"tlbmc/hal/gpio/on_demand_gpio.h",
"tlbmc/hal/nic_veeprom/accessor_base.h",
"tlbmc/hal/nic_veeprom/interface.cc",
"tlbmc/hal/nic_veeprom/interface.h",
"tlbmc/hal/nic_veeprom/type.h",
"tlbmc/hal/peci/peci_access_impl.cc",
"tlbmc/hal/peci/peci_access_impl.h",
"tlbmc/hal/peci/peci_access_interface.h",
"tlbmc/hal/power_fault_detector/power_fault_detector.cc",
"tlbmc/hal/power_fault_detector/power_fault_detector.h",
"tlbmc/hal/shared_mem/client_interface.h",
"tlbmc/hal/shared_mem/client_segment.h",
"tlbmc/hal/shared_mem/demo/shared_mem_cli.cc",
"tlbmc/hal/shared_mem/demo/shared_mem_sensor_client.cc",
"tlbmc/hal/shared_mem/demo/shared_mem_sensor_server.cc",
"tlbmc/hal/shared_mem/metrics.cc",
"tlbmc/hal/shared_mem/sensors.h",
"tlbmc/hal/shared_mem/server_interface.h",
"tlbmc/hal/shared_mem/static_client_impl.cc",
"tlbmc/hal/shared_mem/static_client_impl.h",
"tlbmc/hal/shared_mem/static_client_segment.cc",
"tlbmc/hal/shared_mem/static_client_segment.h",
"tlbmc/hal/shared_mem/static_server_impl.cc",
"tlbmc/hal/shared_mem/static_server_impl.h",
"tlbmc/hal/shared_mem/static_shm_common.h",
"tlbmc/hal/sysfs/hwmon.cc",
"tlbmc/hal/sysfs/hwmon.h",
"tlbmc/hal/sysfs/i2c.cc",
"tlbmc/hal/sysfs/i2c.h",
"tlbmc/hal/sysfs/i3c.cc",
"tlbmc/hal/sysfs/i3c.h",
"tlbmc/hal/sysfs/iio.cc",
"tlbmc/hal/sysfs/iio.h",
"tlbmc/hal/sysfs/peci.cc",
"tlbmc/hal/sysfs/peci.h",
"tlbmc/hal_common_config.proto",
"tlbmc/hft/core/edge_filter.cc",
"tlbmc/hft/core/edge_filter.h",
"tlbmc/hft/core/hft_service.cc",
"tlbmc/hft/core/hft_service.h",
"tlbmc/hft/core/manager.h",
"tlbmc/hft/core/manager_fake.h",
"tlbmc/hft/core/manager_impl.cc",
"tlbmc/hft/core/manager_impl.h",
"tlbmc/hft/core/scheduler.h",
"tlbmc/hft/manager_debug_json.cc",
"tlbmc/hft/manager_debug_json.h",
"tlbmc/hft/task_scheduler_adapter.h",
"tlbmc/hft_capabilities.proto",
"tlbmc/hft_service.proto",
"tlbmc/http/http_client.cc",
"tlbmc/http/http_client.h",
"tlbmc/http/http_client_interface.h",
"tlbmc/hwmon_temp_sensor_config.proto",
"tlbmc/identifier.proto",
"tlbmc/intel_cpu_sensor_config.proto",
"tlbmc/memory.proto",
"tlbmc/meson.build",
"tlbmc/metrics/bmc_static_metrics.cc",
"tlbmc/metrics/bmc_static_metrics.h",
"tlbmc/nic_telemetry_config.proto",
"tlbmc/pacemaker/pacemaker.cc",
"tlbmc/pacemaker/pacemaker.h",
"tlbmc/pacemaker/pacemaker.service",
"tlbmc/pacemaker/pacemaker_main.cc",
"tlbmc/payload.proto",
"tlbmc/pcie_config.proto",
"tlbmc/power_control.proto",
"tlbmc/processor.proto",
"tlbmc/psu_sensor_config.proto",
"tlbmc/rcu/simple_rcu.h",
"tlbmc/reading_range_config.proto",
"tlbmc/reading_transform_config.proto",
"tlbmc/redfish/app.cc",
"tlbmc/redfish/app.h",
"tlbmc/redfish/black_magic.h",
"tlbmc/redfish/common.h",
"tlbmc/redfish/data/stable_id.cc",
"tlbmc/redfish/data/stable_id.h",
"tlbmc/redfish/expand_query_aggregator.cc",
"tlbmc/redfish/expand_query_aggregator.h",
"tlbmc/redfish/query.cc",
"tlbmc/redfish/query.h",
"tlbmc/redfish/query_parameters.cc",
"tlbmc/redfish/query_parameters.h",
"tlbmc/redfish/request.cc",
"tlbmc/redfish/request.h",
"tlbmc/redfish/response.cc",
"tlbmc/redfish/response.h",
"tlbmc/redfish/routes/action_managers/file_manager.cc",
"tlbmc/redfish/routes/action_managers/file_manager.h",
"tlbmc/redfish/routes/all_chassis.cc",
"tlbmc/redfish/routes/all_chassis.h",
"tlbmc/redfish/routes/all_routes.cc",
"tlbmc/redfish/routes/all_routes.h",
"tlbmc/redfish/routes/all_sensors.cc",
"tlbmc/redfish/routes/all_sensors.h",
"tlbmc/redfish/routes/assembly.cc",
"tlbmc/redfish/routes/assembly.h",
"tlbmc/redfish/routes/cable.cc",
"tlbmc/redfish/routes/cable.h",
"tlbmc/redfish/routes/certificate_service.cc",
"tlbmc/redfish/routes/certificate_service.h",
"tlbmc/redfish/routes/chassis.cc",
"tlbmc/redfish/routes/chassis.h",
"tlbmc/redfish/routes/debug.cc",
"tlbmc/redfish/routes/debug.h",
"tlbmc/redfish/routes/fan.cc",
"tlbmc/redfish/routes/fan.h",
"tlbmc/redfish/routes/manager_certificates.cc",
"tlbmc/redfish/routes/manager_certificates.h",
"tlbmc/redfish/routes/managers.cc",
"tlbmc/redfish/routes/managers.h",
"tlbmc/redfish/routes/metric.cc",
"tlbmc/redfish/routes/metric.h",
"tlbmc/redfish/routes/pcie.cc",
"tlbmc/redfish/routes/pcie.h",
"tlbmc/redfish/routes/power_subsystem.cc",
"tlbmc/redfish/routes/power_subsystem.h",
"tlbmc/redfish/routes/power_supply.cc",
"tlbmc/redfish/routes/power_supply.h",
"tlbmc/redfish/routes/power_supply_metrics.cc",
"tlbmc/redfish/routes/power_supply_metrics.h",
"tlbmc/redfish/routes/rate_limiter.cc",
"tlbmc/redfish/routes/rate_limiter.h",
"tlbmc/redfish/routes/sensor.cc",
"tlbmc/redfish/routes/sensor.h",
"tlbmc/redfish/routes/service_root.cc",
"tlbmc/redfish/routes/service_root.h",
"tlbmc/redfish/routes/system_event_log.cc",
"tlbmc/redfish/routes/system_event_log.h",
"tlbmc/redfish/routes/task_service.cc",
"tlbmc/redfish/routes/task_service.h",
"tlbmc/redfish/routes/thermal_subsystem.cc",
"tlbmc/redfish/routes/thermal_subsystem.h",
"tlbmc/redfish/routes/tlbmc_metrics.cc",
"tlbmc/redfish/routes/tlbmc_metrics.h",
"tlbmc/redfish/routes/tlbmc_root.cc",
"tlbmc/redfish/routes/tlbmc_root.h",
"tlbmc/redfish/routes/tpuwizard/tpuwizard.cc",
"tlbmc/redfish/routes/tpuwizard/tpuwizard.h",
"tlbmc/redfish/routes/update_service.cc",
"tlbmc/redfish/routes/update_service.h",
"tlbmc/redfish/routing.cc",
"tlbmc/redfish/routing.h",
"tlbmc/redfish/url.cc",
"tlbmc/redfish/url.h",
"tlbmc/redfish/verb.cc",
"tlbmc/redfish/verb.h",
"tlbmc/redfish_aggregated_batch_config.proto",
"tlbmc/redfish_aggregated_sensor_config.proto",
"tlbmc/resource.proto",
"tlbmc/resource/syslog_config_utils.cc",
"tlbmc/resource/syslog_config_utils.h",
"tlbmc/scheduler/scheduler.cc",
"tlbmc/scheduler/scheduler.h",
"tlbmc/sensor.proto",
"tlbmc/sensor_identifier.proto",
"tlbmc/sensor_instance_properties.proto",
"tlbmc/sensor_payload.proto",
"tlbmc/sensors/adc_sensor.cc",
"tlbmc/sensors/adc_sensor.h",
"tlbmc/sensors/amd_cpu_sensor.cc",
"tlbmc/sensors/amd_cpu_sensor.h",
"tlbmc/sensors/fan_controller.cc",
"tlbmc/sensors/fan_controller.h",
"tlbmc/sensors/fan_pwm.cc",
"tlbmc/sensors/fan_pwm.h",
"tlbmc/sensors/fan_tach.cc",
"tlbmc/sensors/fan_tach.h",
"tlbmc/sensors/gpio_sensor.cc",
"tlbmc/sensors/gpio_sensor.h",
"tlbmc/sensors/hwmon_based_sensor.cc",
"tlbmc/sensors/hwmon_based_sensor.h",
"tlbmc/sensors/hwmon_input_device.cc",
"tlbmc/sensors/hwmon_input_device.h",
"tlbmc/sensors/hwmon_temp_sensor.cc",
"tlbmc/sensors/hwmon_temp_sensor.h",
"tlbmc/sensors/intel_cpu_sensor.cc",
"tlbmc/sensors/intel_cpu_sensor.h",
"tlbmc/sensors/ixc_hwmon_based_sensor.cc",
"tlbmc/sensors/ixc_hwmon_based_sensor.h",
"tlbmc/sensors/nic_sensor.cc",
"tlbmc/sensors/nic_sensor.h",
"tlbmc/sensors/peci_hwmon_based_sensor.cc",
"tlbmc/sensors/peci_hwmon_based_sensor.h",
"tlbmc/sensors/polling_base_sensor.cc",
"tlbmc/sensors/polling_base_sensor.h",
"tlbmc/sensors/psu_sensor.cc",
"tlbmc/sensors/psu_sensor.h",
"tlbmc/sensors/redfish_aggregated_batch.cc",
"tlbmc/sensors/redfish_aggregated_batch.h",
"tlbmc/sensors/redfish_aggregated_sensor.cc",
"tlbmc/sensors/redfish_aggregated_sensor.h",
"tlbmc/sensors/sensor.cc",
"tlbmc/sensors/sensor.h",
"tlbmc/sensors/shared_mem_based_sensor.cc",
"tlbmc/sensors/shared_mem_based_sensor.h",
"tlbmc/sensors/sync_polling_sensor.cc",
"tlbmc/sensors/sync_polling_sensor.h",
"tlbmc/sensors/virtual_sensor.cc",
"tlbmc/sensors/virtual_sensor.h",
"tlbmc/service/fru_service.cc",
"tlbmc/service/fru_service.h",
"tlbmc/service/hft_service.cc",
"tlbmc/service/hft_service.h",
"tlbmc/shared_mem_sensor_config.proto",
"tlbmc/software_metrics.proto",
"tlbmc/software_metrics_config.proto",
"tlbmc/stable_id.proto",
"tlbmc/status.proto",
"tlbmc/store/factory.cc",
"tlbmc/store/factory.h",
"tlbmc/store/store.h",
"tlbmc/store/store_hft_adapter.cc",
"tlbmc/store/store_hft_adapter.h",
"tlbmc/store/store_impl.cc",
"tlbmc/store/store_impl.h",
"tlbmc/subscription_params.proto",
"tlbmc/threshold_config.proto",
"tlbmc/time/time.cc",
"tlbmc/time/time.h",
"tlbmc/topology_config.proto",
"tlbmc/trace.proto",
"tlbmc/trace/tracer.cc",
"tlbmc/trace/tracer.h",
"tlbmc/true_hitless/true_hitless_metrics_parser.cc",
"tlbmc/true_hitless/true_hitless_metrics_parser.h",
"tlbmc/true_hitless_metrics.proto",
"tlbmc/usb_fru_config.proto",
"tlbmc/utils/command_executor.h",
"tlbmc/utils/fram_utils.cc",
"tlbmc/utils/fram_utils.h",
"tlbmc/utils/fru_reader.cc",
"tlbmc/utils/fru_reader.h",
"tlbmc/utils/fru_utils.cc",
"tlbmc/utils/fru_utils.h",
"tlbmc/utils/inotify_watcher.cc",
"tlbmc/utils/inotify_watcher.h",
"tlbmc/utils/shell_command_executor.h",
"tlbmc/veeprom.proto",
"tlbmc/virtual_sensor_config.proto",
# go/keep-sorted end
]
_gob_tlbmc_dest_files = [
# go/keep-sorted start
"google3/third_party/milotic/external/cc/fast_sanity/definitions/fru_component_model.proto",
"google3/third_party/milotic/external/cc/fast_sanity/definitions/fru_service.proto",
"google3/third_party/milotic/external/cc/fast_sanity/service/fru_service.cc",
"google3/third_party/milotic/external/cc/fast_sanity/service/fru_service.h",
"google3/third_party/milotic/external/cc/hft/adapter/data_source.h",
"google3/third_party/milotic/external/cc/hft/service/hft_capabilities.proto",
"google3/third_party/milotic/external/cc/hft/service/hft_service.proto",
"google3/third_party/milotic/external/cc/hft/types/edge_filtering.proto",
"google3/third_party/milotic/external/cc/hft/types/fru_identifier.proto",
"google3/third_party/milotic/external/cc/hft/types/fru_payload.proto",
"google3/third_party/milotic/external/cc/hft/types/identifier.proto",
"google3/third_party/milotic/external/cc/hft/types/payload.proto",
"google3/third_party/milotic/external/cc/hft/types/sensor_identifier.proto",
"google3/third_party/milotic/external/cc/hft/types/sensor_payload.proto",
"google3/third_party/milotic/external/cc/hft/types/subscription_params.proto",
"google3/third_party/milotic/external/cc/tlbmc/central_config/central_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/central_config/config.cc",
"google3/third_party/milotic/external/cc/tlbmc/central_config/config.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/bulk_sensor_collector_base.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/bulk_sensor_collector_base.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/default_bulk_sensor_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/fake_fru_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/fake_fru_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/fake_gpio_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/fake_gpio_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/fru_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/fru_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/gpio_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/gpio_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/metric_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/metric_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/monitoring_change_base.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/pcie_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/pcie_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/peci_scanner.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/peci_scanner.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/power_fault_log_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/power_fault_log_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/resource_state_manager.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/resource_state_manager.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/sensor_collector.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/sensor_collector.h",
"google3/third_party/milotic/external/cc/tlbmc/collector/sensor_collector_aggregator.cc",
"google3/third_party/milotic/external/cc/tlbmc/collector/sensor_collector_aggregator.h",
"google3/third_party/milotic/external/cc/tlbmc/configs/ad_hoc_fru_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/adc_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/blocklist_parser.cc",
"google3/third_party/milotic/external/cc/tlbmc/configs/blocklist_parser.h",
"google3/third_party/milotic/external/cc/tlbmc/configs/bulk_device_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/entity_common_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/entity_config.cc",
"google3/third_party/milotic/external/cc/tlbmc/configs/entity_config.h",
"google3/third_party/milotic/external/cc/tlbmc/configs/entity_config_json_impl.cc",
"google3/third_party/milotic/external/cc/tlbmc/configs/entity_config_json_impl.h",
"google3/third_party/milotic/external/cc/tlbmc/configs/expression.cc",
"google3/third_party/milotic/external/cc/tlbmc/configs/expression.h",
"google3/third_party/milotic/external/cc/tlbmc/configs/fan_controller_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/fan_pwm_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/fan_tach_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/gpio_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/gpio_fru_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/gpio_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/hal_common_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/hwmon_temp_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/intel_cpu_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/nic_telemetry_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/pcie_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/power_control.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/proto_config_parser.cc",
"google3/third_party/milotic/external/cc/tlbmc/configs/proto_config_parser.h",
"google3/third_party/milotic/external/cc/tlbmc/configs/psu_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/reading_range_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/reading_transform_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/redfish_aggregated_batch_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/redfish_aggregated_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/sensor_instance_properties.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/shared_mem_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/software_metrics_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/subscription_config.h",
"google3/third_party/milotic/external/cc/tlbmc/configs/threshold_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/topology_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/usb_fru_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/configs/virtual_sensor_config.proto",
"google3/third_party/milotic/external/cc/tlbmc/credentials/credential_manager.h",
"google3/third_party/milotic/external/cc/tlbmc/credentials/credential_manager_impl.cc",
"google3/third_party/milotic/external/cc/tlbmc/credentials/credential_manager_impl.h",
"google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/i2c_walker/i2c_walker_interface.h",
"google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/i2c_walker/uhmm_i2c_walker.cc",
"google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/i2c_walker/uhmm_i2c_walker.h",
"google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/offline_config_parser/offline_config_parser.cc",
"google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/offline_config_parser/offline_config_parser.h",
"google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/offline_config_parser/offline_config_parser_interface.h",
"google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/offline_config_parser/proto_reader.h",
"google3/third_party/milotic/external/cc/tlbmc/expression/expression.cc",
"google3/third_party/milotic/external/cc/tlbmc/expression/expression.h",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/debug/sensor_debug_guide.md",
"google3/third_party/milotic/external/cc/tlbmc/g3doc/general/redfish_resource_ownership_model.md",
"google3/third_party/milotic/external/cc/tlbmc/hal/fake_fru_scanner_fram.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/fake_fru_scanner_fram.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_adc.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_adc.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_cable.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_cable.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_fram.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_fram.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_gpio.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_gpio.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_i2c.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_i2c.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_usb.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_usb.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/gpio/gpio.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/gpio/gpio.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/gpio/gpio_monitor.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/gpio/gpio_monitor.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/gpio/on_demand_gpio.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/gpio/on_demand_gpio.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/accessor_base.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/interface.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/interface.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/type.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/veeprom.proto",
"google3/third_party/milotic/external/cc/tlbmc/hal/peci/peci_access_impl.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/peci/peci_access_impl.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/peci/peci_access_interface.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/power_fault_detector/power_fault_detector.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/power_fault_detector/power_fault_detector.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/client_interface.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/client_segment.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/demo/shared_mem_cli.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/demo/shared_mem_metrics_client.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/demo/shared_mem_metrics_server.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/demo/shared_mem_sensor_client.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/demo/shared_mem_sensor_server.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/metrics.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/sensors.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/server_interface.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_client_impl.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_client_impl.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_client_segment.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_client_segment.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_server_impl.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_server_impl.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_shm_common.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/hwmon.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/hwmon.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/i2c.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/i2c.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/i3c.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/i3c.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/iio.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/iio.h",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/peci.cc",
"google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/peci.h",
"google3/third_party/milotic/external/cc/tlbmc/hft/hft_service.cc",
"google3/third_party/milotic/external/cc/tlbmc/hft/hft_service.h",
"google3/third_party/milotic/external/cc/tlbmc/hft/manager.h",
"google3/third_party/milotic/external/cc/tlbmc/hft/manager_fake.h",
"google3/third_party/milotic/external/cc/tlbmc/hft/manager_impl.cc",
"google3/third_party/milotic/external/cc/tlbmc/hft/manager_impl.h",
"google3/third_party/milotic/external/cc/tlbmc/http/http_client.cc",
"google3/third_party/milotic/external/cc/tlbmc/http/http_client.h",
"google3/third_party/milotic/external/cc/tlbmc/http/http_client_interface.h",
"google3/third_party/milotic/external/cc/tlbmc/meson.build",
"google3/third_party/milotic/external/cc/tlbmc/metrics/bmc_static_metrics.cc",
"google3/third_party/milotic/external/cc/tlbmc/metrics/bmc_static_metrics.h",
"google3/third_party/milotic/external/cc/tlbmc/pacemaker/pacemaker.cc",
"google3/third_party/milotic/external/cc/tlbmc/pacemaker/pacemaker.h",
"google3/third_party/milotic/external/cc/tlbmc/pacemaker/pacemaker.service",
"google3/third_party/milotic/external/cc/tlbmc/pacemaker/pacemaker_main.cc",
"google3/third_party/milotic/external/cc/tlbmc/rcu/simple_rcu.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/app.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/app.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/black_magic.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/common.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.proto",
"google3/third_party/milotic/external/cc/tlbmc/redfish/expand_query_aggregator.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/expand_query_aggregator.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/query.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/query.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/query_parameters.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/query_parameters.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/request.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/request.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/response.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/response.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/action_managers/file_manager.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/action_managers/file_manager.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_chassis.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_chassis.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_routes.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_routes.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_sensors.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_sensors.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/assembly.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/assembly.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/cable.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/cable.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/certificate_service.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/certificate_service.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/chassis.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/chassis.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/debug.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/debug.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/fan.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/fan.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/manager_certificates.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/manager_certificates.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/managers.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/managers.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/metric.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/metric.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/pcie.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/pcie.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_subsystem.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_subsystem.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_supply.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_supply.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_supply_metrics.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_supply_metrics.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/rate_limiter.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/rate_limiter.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/service_root.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/service_root.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/system_event_log.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/system_event_log.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/task_service.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/task_service.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/thermal_subsystem.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/thermal_subsystem.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tlbmc_metrics.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tlbmc_metrics.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tlbmc_root.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tlbmc_root.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tpuwizard/tpuwizard.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tpuwizard/tpuwizard.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/update_service.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routes/update_service.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routing.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/routing.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/url.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/url.h",
"google3/third_party/milotic/external/cc/tlbmc/redfish/verb.cc",
"google3/third_party/milotic/external/cc/tlbmc/redfish/verb.h",
"google3/third_party/milotic/external/cc/tlbmc/resource/fru.proto",
"google3/third_party/milotic/external/cc/tlbmc/resource/memory.proto",
"google3/third_party/milotic/external/cc/tlbmc/resource/processor.proto",
"google3/third_party/milotic/external/cc/tlbmc/resource/reset_type.cc",
"google3/third_party/milotic/external/cc/tlbmc/resource/reset_type.h",
"google3/third_party/milotic/external/cc/tlbmc/resource/resource.proto",
"google3/third_party/milotic/external/cc/tlbmc/resource/sensor.proto",
"google3/third_party/milotic/external/cc/tlbmc/resource/software_metrics.proto",
"google3/third_party/milotic/external/cc/tlbmc/resource/status.proto",
"google3/third_party/milotic/external/cc/tlbmc/resource/syslog_config_utils.cc",
"google3/third_party/milotic/external/cc/tlbmc/resource/syslog_config_utils.h",
"google3/third_party/milotic/external/cc/tlbmc/scheduler/scheduler.cc",
"google3/third_party/milotic/external/cc/tlbmc/scheduler/scheduler.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/adc_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/adc_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/amd_cpu_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/amd_cpu_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/fan_controller.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/fan_controller.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/fan_pwm.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/fan_pwm.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/fan_tach.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/fan_tach.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/gpio_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/gpio_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_based_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_based_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_input_device.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_input_device.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_temp_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_temp_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/intel_cpu_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/intel_cpu_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/ixc_hwmon_based_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/ixc_hwmon_based_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/nic_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/nic_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/peci_hwmon_based_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/peci_hwmon_based_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/polling_base_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/polling_base_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/psu_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/psu_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/redfish_aggregated_batch.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/redfish_aggregated_batch.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/redfish_aggregated_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/redfish_aggregated_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/shared_mem_based_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/shared_mem_based_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/sync_polling_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/sync_polling_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/sensors/virtual_sensor.cc",
"google3/third_party/milotic/external/cc/tlbmc/sensors/virtual_sensor.h",
"google3/third_party/milotic/external/cc/tlbmc/store/factory.cc",
"google3/third_party/milotic/external/cc/tlbmc/store/factory.h",
"google3/third_party/milotic/external/cc/tlbmc/store/store.h",
"google3/third_party/milotic/external/cc/tlbmc/store/store_hft_adapter.cc",
"google3/third_party/milotic/external/cc/tlbmc/store/store_hft_adapter.h",
"google3/third_party/milotic/external/cc/tlbmc/store/store_impl.cc",
"google3/third_party/milotic/external/cc/tlbmc/store/store_impl.h",
"google3/third_party/milotic/external/cc/tlbmc/time/time.cc",
"google3/third_party/milotic/external/cc/tlbmc/time/time.h",
"google3/third_party/milotic/external/cc/tlbmc/trace/trace.proto",
"google3/third_party/milotic/external/cc/tlbmc/trace/tracer.cc",
"google3/third_party/milotic/external/cc/tlbmc/trace/tracer.h",
"google3/third_party/milotic/external/cc/tlbmc/utils/command_executor.h",
"google3/third_party/milotic/external/cc/tlbmc/utils/fram_utils.cc",
"google3/third_party/milotic/external/cc/tlbmc/utils/fram_utils.h",
"google3/third_party/milotic/external/cc/tlbmc/utils/fru_reader.cc",
"google3/third_party/milotic/external/cc/tlbmc/utils/fru_reader.h",
"google3/third_party/milotic/external/cc/tlbmc/utils/fru_utils.cc",
"google3/third_party/milotic/external/cc/tlbmc/utils/fru_utils.h",
"google3/third_party/milotic/external/cc/tlbmc/utils/inotify_watcher.cc",
"google3/third_party/milotic/external/cc/tlbmc/utils/inotify_watcher.h",
"google3/third_party/milotic/external/cc/tlbmc/utils/shell_command_executor.h",
"google3/third_party/milotic/external/cc/true_hitless/true_hitless_metrics.proto",
"google3/third_party/milotic/external/cc/true_hitless/true_hitless_metrics_parser.cc",
"google3/third_party/milotic/external/cc/true_hitless/true_hitless_metrics_parser.h",
# go/keep-sorted end
]
_milotic_google3_files = _gbmcweb_codebase_lib + _tlbmc_lib + _gbmc_codebase_lib + _redfish_authz_lib + _ecclesia_lib + _install_files
_all_gbmcweb_gob_files = ["g3/**", "test/g3/**", "tlbmc/**", "install/**", "redfish_authorization/**", "http/*.h", "http/*.cc", "proto/**"]
def _replace_all_cc(diffs):
arr = []
for before, after in diffs.items():
arr.append(core.replace(
before = before,
after = after,
paths = glob(_cc_files),
))
return arr
def _replace_all_protos(diffs):
arr = []
for before, after in diffs.items():
arr.append(core.replace(
before = before,
after = after,
paths = glob(_proto_files),
))
return arr
def _move(before, after, paths = None):
kwargs = {
"before": before,
"after": after,
}
if paths:
kwargs["paths"] = paths
return core.move(**kwargs)
# Mappings for internal C++ header include replacements (Google3 include -> GoB include).
_INTERNAL_HEADERS = [
# go/keep-sorted start
("third_party/ecclesia/lib/redfish/authorizer_enums.h", "authorizer_enums.h"),
("third_party/ecclesia/lib/redfish/event/server/event_store.h", "g3/event_store.h"),
("third_party/ecclesia/lib/status/macros.h", "g3/macros.h"),
("third_party/gbmcweb/config/bm_config.h", "bm_config.h"),
("third_party/gbmcweb/config/bmcweb_config.h", "bmcweb_config.h"),
("third_party/gbmcweb/http/app.h", "app.hpp"),
("third_party/gbmcweb/http/app_singleton.h", "app_singleton.hpp"),
("third_party/gbmcweb/http/common.h", "common.hpp"),
("third_party/gbmcweb/http/http_client.h", "http_client.hpp"),
("third_party/gbmcweb/http/http_connection.h", "http_connection.hpp"),
("third_party/gbmcweb/http/http_request.h", "http_request.hpp"),
("third_party/gbmcweb/http/http_response.h", "http_response.hpp"),
("third_party/gbmcweb/http/http_server.h", "http_server.hpp"),
("third_party/gbmcweb/http/logging.h", "logging.hpp"),
("third_party/gbmcweb/http/mutual_tls.h", "mutual_tls.hpp"),
("third_party/gbmcweb/http/parsing.h", "parsing.hpp"),
("third_party/gbmcweb/http/routing.h", "routing.hpp"),
("third_party/gbmcweb/http/verb.h", "verb.hpp"),
("third_party/gbmcweb/include/async_resolve.h", "async_resolve.hpp"),
("third_party/gbmcweb/include/async_resp.h", "async_resp.hpp"),
("third_party/gbmcweb/include/authentication.h", "authentication.hpp"),
("third_party/gbmcweb/include/cors_preflight.h", "cors_preflight.hpp"),
("third_party/gbmcweb/include/forward_unauthorized.h", "forward_unauthorized.hpp"),
("third_party/gbmcweb/include/google/google_service_nvme.h", "google/google_service_nvme.hpp"),
("third_party/gbmcweb/include/google/google_service_root.h", "google/google_service_root.hpp"),
("third_party/gbmcweb/include/hostname_monitor.h", "hostname_monitor.hpp"),
("third_party/gbmcweb/include/http_utility.h", "http_utility.hpp"),
("third_party/gbmcweb/include/human_sort.h", "human_sort.hpp"),
("third_party/gbmcweb/include/image_upload.h", "image_upload.hpp"),
("third_party/gbmcweb/include/json_html_serializer.h", "json_html_serializer.hpp"),
("third_party/gbmcweb/include/managed_store_http.h", "managed_store_http.hpp"),
("third_party/gbmcweb/include/multipart_parser.h", "multipart_parser.hpp"),
("third_party/gbmcweb/include/openbmc_dbus_rest.h", "openbmc_dbus_rest.hpp"),
("third_party/gbmcweb/include/pam_authenticate.h", "pam_authenticate.hpp"),
("third_party/gbmcweb/include/persistent_data.h", "persistent_data.hpp"),
("third_party/gbmcweb/include/random.h", "random.hpp"),
("third_party/gbmcweb/include/request_stats.h", "request_stats.hpp"),
("third_party/gbmcweb/include/request_stats_store_http.h", "request_stats_store_http.hpp"),
("third_party/gbmcweb/include/security_headers.h", "security_headers.hpp"),
("third_party/gbmcweb/include/source_location.h", "source_location.hpp"),
("third_party/gbmcweb/include/ssl_key_handler.h", "ssl_key_handler.hpp"),
("third_party/gbmcweb/include/str_utility.h", "str_utility.hpp"),
("third_party/gbmcweb/include/user_monitor.h", "user_monitor.hpp"),
("third_party/gbmcweb/include/webassets.h", "webassets.hpp"),
("third_party/gbmcweb/include/webroutes.h", "webroutes.hpp"),
("third_party/gbmcweb/include/webserver_main_setup.h", "webserver_main_setup.hpp"),
("third_party/gbmcweb/plugins/macros.h", "macros.hpp"),
("third_party/gbmcweb/redfish_core/include/aggregation_utils.h", "aggregation_utils.hpp"),
("third_party/gbmcweb/redfish_core/include/error_messages.h", "error_messages.hpp"),
("third_party/gbmcweb/redfish_core/include/gzfile.h", "gzfile.hpp"),
("third_party/gbmcweb/redfish_core/include/privileges.h", "privileges.hpp"),
("third_party/gbmcweb/redfish_core/include/query.h", "query.hpp"),
("third_party/gbmcweb/redfish_core/include/redfish.h", "redfish.hpp"),
("third_party/gbmcweb/redfish_core/include/redfish_aggregator.h", "redfish_aggregator.hpp"),
("third_party/gbmcweb/redfish_core/include/registries/base_message_registry.h", "registries/base_message_registry.hpp"),
("third_party/gbmcweb/redfish_core/include/registries/openbmc_message_registry.h", "registries/openbmc_message_registry.hpp"),
("third_party/gbmcweb/redfish_core/include/registries/privilege_registry.h", "registries/privilege_registry.hpp"),
("third_party/gbmcweb/redfish_core/include/registries/task_event_message_registry.h", "registries/task_event_message_registry.hpp"),
("third_party/gbmcweb/redfish_core/include/schemas.h", "schemas.hpp"),
("third_party/gbmcweb/redfish_core/include/task_messages.h", "task_messages.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/boottime.h", "boottime.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/chassis_utils.h", "chassis_utils.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/collection.h", "collection.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/dbus_utils.h", "dbus_utils.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/fan_utils.h", "fan_utils.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/hex_utils.h", "hex_utils.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/ip_utils.h", "ip_utils.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/json_utils.h", "json_utils.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/location_utils.h", "location_utils.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/nvme_metric_utils.h", "nvme_metric_utils.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/stl_utils.h", "stl_utils.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/subprocess_utils.h", "subprocess_utils.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/subprocess_utils_fake.h", "subprocess_utils_fake.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/sw_utils.h", "sw_utils.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/system_utils.h", "system_utils.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/systemd_utils.h", "systemd_utils.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/telemetry_utils.h", "telemetry_utils.hpp"),
("third_party/gbmcweb/redfish_core/include/utils/time_utils.h", "time_utils.hpp"),
("third_party/gbmcweb/redfish_core/lib/aggregation_service.h", "aggregation_service.hpp"),
("third_party/gbmcweb/redfish_core/lib/assembly.h", "assembly.hpp"),
("third_party/gbmcweb/redfish_core/lib/bios.h", "bios.hpp"),
("third_party/gbmcweb/redfish_core/lib/cable.h", "cable.hpp"),
("third_party/gbmcweb/redfish_core/lib/certificate_service.h", "certificate_service.hpp"),
("third_party/gbmcweb/redfish_core/lib/chassis.h", "chassis.hpp"),
("third_party/gbmcweb/redfish_core/lib/component_integrity.h", "component_integrity.hpp"),
("third_party/gbmcweb/redfish_core/lib/control.h", "control.hpp"),
("third_party/gbmcweb/redfish_core/lib/environment_metrics.h", "environment_metrics.hpp"),
("third_party/gbmcweb/redfish_core/lib/external_storer.h", "external_storer.hpp"),
("third_party/gbmcweb/redfish_core/lib/fabric_adapters.h", "fabric_adapters.hpp"),
("third_party/gbmcweb/redfish_core/lib/fan.h", "fan.hpp"),
("third_party/gbmcweb/redfish_core/lib/health.h", "health.hpp"),
("third_party/gbmcweb/redfish_core/lib/led.h", "led.hpp"),
("third_party/gbmcweb/redfish_core/lib/log_services.h", "log_services.hpp"),
("third_party/gbmcweb/redfish_core/lib/manager_diagnostic_data.h", "manager_diagnostic_data.hpp"),
("third_party/gbmcweb/redfish_core/lib/managers.h", "managers.hpp"),
("third_party/gbmcweb/redfish_core/lib/memory.h", "memory.hpp"),
("third_party/gbmcweb/redfish_core/lib/metric_report.h", "metric_report.hpp"),
("third_party/gbmcweb/redfish_core/lib/metric_report_definition.h", "metric_report_definition.hpp"),
("third_party/gbmcweb/redfish_core/lib/network_adapter.h", "network_adapter.hpp"),
("third_party/gbmcweb/redfish_core/lib/network_protocol.h", "network_protocol.hpp"),
("third_party/gbmcweb/redfish_core/lib/nvme_features.h", "redfish-core/lib/nvme_features.hpp"),
("third_party/gbmcweb/redfish_core/lib/other_software_service.h", "other_software_service.hpp"),
("third_party/gbmcweb/redfish_core/lib/pcie.h", "pcie.hpp"),
("third_party/gbmcweb/redfish_core/lib/pcie_slots.h", "pcie_slots.hpp"),
("third_party/gbmcweb/redfish_core/lib/port_metrics.h", "port_metrics.hpp"),
("third_party/gbmcweb/redfish_core/lib/ports.h", "ports.hpp"),
("third_party/gbmcweb/redfish_core/lib/power_subsystem.h", "power_subsystem.hpp"),
("third_party/gbmcweb/redfish_core/lib/power_supply.h", "power_supply.hpp"),
("third_party/gbmcweb/redfish_core/lib/power_supply_metrics.h", "power_supply_metrics.hpp"),
("third_party/gbmcweb/redfish_core/lib/processor.h", "processor.hpp"),
("third_party/gbmcweb/redfish_core/lib/redfish_util.h", "redfish_util.hpp"),
("third_party/gbmcweb/redfish_core/lib/redfish_v1.h", "redfish_v1.hpp"),
("third_party/gbmcweb/redfish_core/lib/sensors.h", "sensors.hpp"),
("third_party/gbmcweb/redfish_core/lib/task.h", "task.hpp"),
("third_party/gbmcweb/redfish_core/lib/telemetry_service.h", "telemetry_service.hpp"),
("third_party/gbmcweb/redfish_core/lib/thermal.h", "thermal.hpp"),
("third_party/gbmcweb/redfish_core/lib/thermal_subsystem.h", "thermal_subsystem.hpp"),
("third_party/gbmcweb/redfish_core/lib/trusted_component.h", "trusted_component.hpp"),
("third_party/gbmcweb/redfish_core/lib/update_service.h", "update_service.hpp"),
("third_party/gbmcweb/test/redfish_core/lib/snapshot_fixture.h", "snapshot_fixture.hpp"),
("third_party/milotic/external/cc/tlbmc/central_config/config.h", "tlbmc/central_config/config.h"),
("third_party/milotic/external/cc/tlbmc/configs/entity_config_json_impl.h", "tlbmc/configs/entity_config_json_impl.h"),
("third_party/milotic/external/cc/tlbmc/configs/topology_config.proto.h", "topology_config.pb.h"),
("third_party/milotic/external/cc/tlbmc/credentials/credential_manager.h", "tlbmc/credentials/credential_manager.h"),
("third_party/milotic/external/cc/tlbmc/credentials/credential_manager_impl.h", "tlbmc/credentials/credential_manager_impl.h"),
("third_party/milotic/external/cc/tlbmc/hal/fru_scanner_i2c.h", "tlbmc/hal/fru_scanner_i2c.h"),
("third_party/milotic/external/cc/tlbmc/hal/sysfs/i2c.h", "tlbmc/hal/sysfs/i2c.h"),
("third_party/milotic/external/cc/tlbmc/hal/system_registry.h", "tlbmc/hal/system_registry.h"),
("third_party/milotic/external/cc/tlbmc/hal/system_registry_impl.h", "tlbmc/hal/system_registry_impl.h"),
("third_party/milotic/external/cc/tlbmc/hal/system_registry_mock.h", "tlbmc/hal/system_registry_mock.h"),
("third_party/milotic/external/cc/tlbmc/redfish/app.h", "tlbmc/redfish/app.h"),
("third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.h", "tlbmc/redfish/data/stable_id.h"),
("third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.proto.h", "stable_id.pb.h"),
("third_party/milotic/external/cc/tlbmc/redfish/routes/all_routes.h", "tlbmc/redfish/routes/all_routes.h"),
("third_party/milotic/external/cc/tlbmc/store/store_impl.h", "tlbmc/store/store_impl.h"),
("third_party/milotic/external/cc/tlbmc/trace/tracer.h", "tlbmc/trace/tracer.h"),
("third_party/milotic/internal/cc/authz/bmcweb_authorizer_singleton.h", "bmcweb_authorizer_singleton.h"),
("third_party/milotic/internal/cc/bmcweb/app_interface.h", "app_interface.h"),
("third_party/milotic/internal/cc/bmcweb/managed_store_clock.h", "managed_store_clock.hpp"),
("third_party/milotic/internal/cc/bmcweb/managed_store_types.h", "managed_store_types.hpp"),
("third_party/milotic/internal/cc/bmcweb/mock_managed_store.h", "test/g3/mock_managed_store.hpp"),
("third_party/milotic/internal/cc/bmcweb/mock_managed_store_test.h", "test/g3/mock_managed_store_test.hpp"),
("third_party/milotic/internal/cc/bmcweb/smart_router.h", "smart_router.h"),
("subscription_backend_impl.hpp", "subscription_backend_impl.hpp"),
('#include "third_party/ecclesia/lib/redfish/event/server/subscription.h"', '#include "subscription.h"'),
('#include "third_party/ecclesia/lib/redfish/event/server/subscription_impl.h"', '#include "subscription_impl.h"'),
('#include "third_party/ecclesia/lib/redfish/event/server/subscription_store_impl.h"', '#include "subscription_store_impl.h"'),
('#include "third_party/gbmcweb/http/utility.h"', '#include "utility.hpp"'),
('#include "third_party/gbmcweb/http/websocket.h"', '#include "websocket.hpp"'),
('#include "third_party/gbmcweb/include/dbus_utility.h"', '#include "dbus_utility.hpp"'),
('#include "third_party/gbmcweb/include/sessions.h"', '#include "sessions.hpp"'),
('#include "third_party/gbmcweb/plugins/interface.h"', '#include "interface.hpp"'),
('#include "third_party/gbmcweb/redfish_core/include/registries.h"', '#include "registries.hpp"'),
('#include "third_party/gbmcweb/redfish_core/include/utils/storage_utils.h"', '#include "storage_utils.hpp"'),
('#include "third_party/gbmcweb/redfish_core/lib/ethernet.h"', '#include "ethernet.hpp"'),
('#include "third_party/gbmcweb/redfish_core/lib/power.h"', '#include "power.hpp"'),
('#include "third_party/gbmcweb/redfish_core/lib/service_root.h"', '#include "service_root.hpp"'),
('#include "third_party/gbmcweb/redfish_core/lib/storage.h"', '#include "storage.hpp"'),
('#include "third_party/gbmcweb/redfish_core/lib/systems.h"', '#include "systems.hpp"'),
('#include "third_party/milotic/internal/cc/bmcweb/managed_store.h"', '#include "managed_store.hpp"'),
('#include "third_party/milotic/internal/cc/bmcweb/server.h"', '#include "server.h"'),
# go/keep-sorted end
]
# copy.bara.sky is g3 origin file only for piper to gob workflow
# copy.bara.sky is excluded from g3 destination file in reverse workflow to avoid any edit from gob
_google3_files_for_origin = glob(
include = [
"google3/third_party/gbmcweb/copy.bara.sky",
] + _all_gbmcweb_google3_files + _milotic_google3_files,
exclude = _excluded_meta_files,
)
_google3_files_for_destination = glob(
include = _all_gbmcweb_google3_files + _milotic_google3_files,
exclude = _excluded_meta_files,
)
_git_files_for_destination = glob(
include = [
"copy.bara.sky",
] + _git_files + _all_gbmcweb_gob_files,
exclude = [".gitignore"],
)
_git_files_for_origin = glob(
include = _git_files + _gob_tlbmc_files,
exclude = [".gitignore"],
)
_allowed_authors = {
"haoooamazing": "Hao Zhou <haoooamazing@google.com>",
"nanzhou": "Nan Zhou <nanzhou@google.com>",
}
########################
# Transformations
########################
_transformations = [
###############################
# common scrubs
###############################
cc_scrub(
strip_tag = "gbmcweb:g3-only-codes\\(([^()]*)\\)",
strip_begin_tag = "g3-only-codes-start",
strip_end_tag = "g3-only-codes-end",
),
cc_scrub(
strip_tag = "ecclesia:google3-only\\(([^()]*)\\)",
strip_begin_tag = "ecclesia:google3-(replace-)?begin\\(([^()]*)\\)",
strip_end_tag = "ecclesia:google3-end",
strip_end_and_replace_tag = "ecclesia:oss-replace-with",
),
proto_scrub(strip_begin_tag = "g3-only-codes-start", strip_end_tag = "g3-only-codes-end"),
proto_scrub(),
doc_scrub(),
###############################
# common headers
###############################
core.replace(
# tranformation for all boost header
before = "third_party/boost/do_not_include_from_google3_only_third_party/boost/boost",
after = "boost",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/json/include/nlohmann/json.hpp\"",
after = "#include <nlohmann/json.hpp>",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/json/include/nlohmann/json_fwd.hpp\"",
after = "#include <nlohmann/json_fwd.hpp>",
paths = glob(_g3_cc_files),
),
core.replace(
# tranformation for all absl header
before = "#include \"third_party/absl",
after = "#include \"absl",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"util/regexp/re2/re2.h\"",
after = "#include \"re2/re2.h\"",
paths = glob(_g3_cc_files),
),
core.replace(
# transformation for all sdbusplus header
before = "#include \"third_party/openbmc_sdbusplus/include/sdbusplus",
after = "#include \"sdbusplus",
paths = glob(_g3_cc_files),
),
core.replace(
# transformation for all grpc header
before = "#include \"third_party/grpc/include/grpcpp",
after = "#include \"grpcpp",
paths = glob(_g3_cc_files),
),
core.replace(
# transformation for all boottime_api header
before = "#include \"third_party/gbmc_boottime_api",
after = "#include \"boottime_api",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"testing/base/public/gunit.h\"",
after = "#include <gtest/gtest.h>",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"testing/base/public/gmock.h\"",
after = "#include <gmock/gmock.h>",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"platforms/gbmc/g3_shared_libs/subprojects/gbmc_settings/gbmc_settings.h",
after = "#include \"gbmc_settings/gbmc_settings.h",
paths = glob(_g3_cc_files),
),
core.transform(
[
core.replace(
before = "#include \"platforms/gbmc/hal/",
after = "#include \"gbmc-hal/",
paths = glob(_g3_cc_files),
),
],
noop_behavior = "IGNORE_NOOP",
),
core.replace(
before = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_trie.h\"",
after = "#include \"redfish_to_uhm_trie.hpp\"",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_trie_node.h\"",
after = "#include \"redfish_to_uhm_trie_node.hpp\"",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_mapping_value.h\"",
after = "#include \"redfish_to_uhm_mapping_value.hpp\"",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/gbmcweb/devpath_plugin/redfish_devpath_injector.h\"",
after = "#include \"redfish_devpath_injector.hpp\"",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/gbmcweb/devpath_plugin/redfish_devpath_injector_interface.h\"",
after = "#include \"redfish_devpath_injector_interface.hpp\"",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_mapping.pb.h\"",
after = "#include \"redfish_to_uhm_mapping.pb.h\"",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/protobuf/${path}\"",
after = "#include \"google/protobuf/${path}\"",
paths = glob(_g3_cc_files),
regex_groups = {
"path": ".*",
},
),
core.replace(
before = "proto2::",
after = "google::protobuf::",
paths = glob(_g3_cc_files),
),
###############################
# Internal headers
###############################
core.transform(
[
core.replace(
before = before,
after = after,
paths = glob(_g3_cc_files),
)
for before, after in _INTERNAL_HEADERS
] + [
core.replace(
# For CRYPTO_memcmp only
before = "<openssl/mem.h>",
after = "<openssl/crypto.h>",
paths = glob(
include = [
"google3/third_party/gbmcweb/http/utility.cc",
],
),
),
core.replace(
before = """#include "third_party/openssl/boringssl/src/include/openssl/base.h"
#include "third_party/openssl/boringssl/src/include/openssl/digest.h"
""",
after = "#include <openssl/evp.h>",
paths = glob(
include = [
"google3/third_party/gbmcweb/include/google/google_service_root.h",
],
),
multiline = True,
),
core.replace(
# all generated enum headers in redfish-core/include/generated/enums/*
before = "third_party/gbmcweb/redfish_core/include/generated/enums/${file}.h",
after = "generated/enums/${file}.hpp",
paths = glob(_g3_cc_files),
regex_groups = {
"file": ".*",
},
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/utils/json_utils.h",
after = "json_utils.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/utils/chassis_utils.h",
after = "chassis_utils.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/utils/collection.h",
after = "collection.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/utils/location_utils.h",
after = "location_utils.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/gbmcweb/redfish_core/include/utils/storage_utils.h\"",
after = "#include \"storage_utils.hpp\"",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/utils/sw_utils.h",
after = "sw_utils.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/utils/system_utils.h",
after = "system_utils.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/utils/systemd_utils.h",
after = "systemd_utils.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/utils/subprocess_utils.h",
after = "subprocess_utils.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/utils/subprocess_utils_fake.h",
after = "subprocess_utils_fake.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/utils/time_utils.h",
after = "time_utils.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/utils/boottime.h",
after = "boottime.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/utils/stl_utils.h",
after = "stl_utils.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/include/multipart_parser.h",
after = "multipart_parser.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/gbmcweb/plugins/interface.h",
after = "#include \"interface.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/plugins/macros.h",
after = "macros.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/chassis.h",
after = "chassis.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/assembly.h",
after = "assembly.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/health.h",
after = "health.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/led.h",
after = "led.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/redfish_util.h",
after = "redfish_util.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/utils/fan_utils.h",
after = "fan_utils.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/utils/telemetry_utils.h",
after = "telemetry_utils.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/metric_report.h",
after = "metric_report.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/external_storer.h",
after = "external_storer.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/gbmcweb/redfish_core/lib/ethernet.h",
after = "#include \"ethernet.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/log_services.h",
after = "log_services.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/gzfile.h",
after = "gzfile.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/task.h",
after = "task.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/task_messages.h",
after = "task_messages.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/sensors.h",
after = "sensors.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/pcie.h",
after = "pcie.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/ports.h",
after = "ports.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/power_supply.h",
after = "power_supply.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/schemas.h",
after = "schemas.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/utils/nvme_metric_utils.h",
after = "nvme_metric_utils.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/component_integrity.h",
after = "component_integrity.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/processor.h",
after = "processor.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/other_software_service.h",
after = "other_software_service.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/test/redfish_core/lib/snapshot_fixture.h",
after = "snapshot_fixture.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/include/webassets.h",
after = "webassets.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/include/managed_store_http.h",
after = "managed_store_http.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/include/request_stats_store_http.h",
after = "request_stats_store_http.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/credentials/credential_manager.h",
after = "tlbmc/credentials/credential_manager.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/ecclesia/lib/redfish/event/server/event_store.h",
after = "g3/event_store.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/ecclesia/lib/redfish/event/server/subscription.h",
after = "#include \"subscription.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/ecclesia/lib/redfish/event/server/subscription_impl.h",
after = "#include \"subscription_impl.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/ecclesia/lib/redfish/event/server/subscription_store_impl.h",
after = "#include \"subscription_store_impl.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/ecclesia/lib/status/macros.h",
after = "g3/macros.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/central_config/config.h",
after = "tlbmc/central_config/config.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/configs/entity_config_json_impl.h",
after = "tlbmc/configs/entity_config_json_impl.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/hal/fru_scanner_i2c.h",
after = "tlbmc/hal/fru_scanner_i2c.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/credentials/credential_manager.h",
after = "tlbmc/credentials/credential_manager.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/hal/sysfs/i2c.h",
after = "tlbmc/hal/sysfs/i2c.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/hal/system_registry.h",
after = "tlbmc/hal/system_registry.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/hal/system_registry_impl.h",
after = "tlbmc/hal/system_registry_impl.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/hal/system_registry_mock.h",
after = "tlbmc/hal/system_registry_mock.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/redfish/app.h",
after = "tlbmc/redfish/app.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/redfish/routes/all_routes.h",
after = "tlbmc/redfish/routes/all_routes.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/store/store_impl.h",
after = "tlbmc/store/store_impl.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/trace/tracer.h",
after = "tlbmc/trace/tracer.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/configs/topology_config.proto.h",
after = "topology_config.pb.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.h",
after = "tlbmc/redfish/data/stable_id.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.proto.h",
after = "stable_id.pb.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/include/cors_preflight.h",
after = "cors_preflight.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/include/webserver_main_setup.h",
after = "webserver_main_setup.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/include/hostname_monitor.h",
after = "hostname_monitor.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/include/image_upload.h",
after = "image_upload.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/include/redfish.h",
after = "redfish.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "subscription_backend_impl.hpp",
after = "subscription_backend_impl.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/include/user_monitor.h",
after = "user_monitor.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/milotic/internal/cc/bmcweb/server.h",
after = "#include \"server.h",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/aggregation_service.h",
after = "aggregation_service.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/bios.h",
after = "bios.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/cable.h",
after = "cable.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/certificate_service.h",
after = "certificate_service.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/control.h",
after = "control.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/environment_metrics.h",
after = "environment_metrics.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/fabric_adapters.h",
after = "fabric_adapters.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/fan.h",
after = "fan.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/manager_diagnostic_data.h",
after = "manager_diagnostic_data.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/managers.h",
after = "managers.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/memory.h",
after = "memory.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/metric_report_definition.h",
after = "metric_report_definition.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/network_adapter.h",
after = "network_adapter.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/network_protocol.h",
after = "network_protocol.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/nvme_features.h",
after = "redfish-core/lib/nvme_features.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/pcie_slots.h",
after = "pcie_slots.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/port_metrics.h",
after = "port_metrics.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/gbmcweb/redfish_core/lib/power.h\"",
after = "#include \"power.hpp\"",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/power_subsystem.h",
after = "power_subsystem.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/power_supply_metrics.h",
after = "power_supply_metrics.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/redfish_v1.h",
after = "redfish_v1.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/gbmcweb/redfish_core/lib/service_root.h",
after = "#include \"service_root.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/gbmcweb/redfish_core/lib/storage.h\"",
after = "#include \"storage.hpp\"",
paths = glob(_g3_cc_files),
),
core.replace(
before = "#include \"third_party/gbmcweb/redfish_core/lib/systems.h\"",
after = "#include \"systems.hpp\"",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/telemetry_service.h",
after = "telemetry_service.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/thermal.h",
after = "thermal.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/thermal_subsystem.h",
after = "thermal_subsystem.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/trusted_component.h",
after = "trusted_component.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/redfish_core/lib/update_service.h",
after = "update_service.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/include/google/google_service_nvme.h",
after = "google/google_service_nvme.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
before = "third_party/gbmcweb/include/google/google_service_root.h",
after = "google/google_service_root.hpp",
paths = glob(_g3_cc_files),
),
core.replace(
# replace for third_party/gbmcweb/scripts/update_schemas.py
before = "from google3.third_party.gbmcweb.scripts.generate_schema_collections import generate_top_collections",
after = "from generate_schema_collections import generate_top_collections",
paths = glob(["google3/third_party/gbmcweb/scripts/update_schemas.py"]),
),
core.replace(
# replace for third_party/gbmcweb/scripts/update_schemas.py
before = "import google3.third_party.gbmcweb.scripts.generate_schema_enums as generate_schema_enums",
after = "import generate_schema_enums",
paths = glob(["google3/third_party/gbmcweb/scripts/update_schemas.py"]),
),
],
noop_behavior = "IGNORE_NOOP",
),
###############################
# move
###############################
# Operations are in sequence.
] + [
core.move(
before = "google3/third_party/gbmcweb/" + g3_file,
after = git_file,
)
for g3_file, git_file in _FILE_MAPPINGS
if g3_file != "redfish_core/include/generated/enums/**"
] + [
core.transform(
transformations = [
core.move(
before = "google3/third_party/gbmcweb/redfish_core/include/generated/enums/${file}.h",
after = "redfish-core/include/generated/enums/${file}.hpp",
regex_groups = {"file": ".*"},
),
],
reversal = [
core.move(
before = "redfish-core/include/generated/enums/${file}.hpp",
after = "google3/third_party/gbmcweb/redfish_core/include/generated/enums/${file}.h",
regex_groups = {"file": ".*"},
),
],
),
] + [
########################
# Unidirectional files from G3 -> GoB
########################
core.move(
before = "google3/third_party/gbmcweb/copy.bara.sky",
after = "copy.bara.sky",
),
########################
# Check for leaks after last transform
########################
core.replace(
before = "subscription_backend_impl.hpp",
after = "subscription_backend_impl.hpp",
),
core.replace(
before = "subscription_backend_impl.cpp",
after = "subscription_backend_impl.cpp",
),
core.replace(
before = '#include "third_party/milotic/internal/cc/authz/private_pattern_to_entity_array.h"',
after = "#include <redfish_authorization/private_pattern_to_entity_array.h>",
paths = glob(_cc_files),
),
core.replace(
before = "#include \"third_party/milotic/internal/cc/bmcweb/fake_error_messages.h\"",
after = "#include \"redfish-core/include/error_messages.hpp\"",
paths = glob(include = _cc_files),
),
] + _replace_all_cc(dict({
###############################
# third_party/openssl headers
###############################
"third_party/openssl/base.h": "zatar/g3_misc.h",
"third_party/openssl": "openssl",
###############################
# common headers
###############################
"third_party/ecclesia/lib/redfish/transport/grpc_tls_options.h": "tlbmc/grpc_tls_options.h",
"third_party/ecclesia/lib/redfish/transport/": "zatar/",
###############################
# others
###############################
"third_party/milotic/internal/cc/redfish/": "zatar/",
"third_party/grpc/include/": "",
"logs/proto/security/prodid/core/machine_identity.proto.h": "gmi/machine_identity.pb.h",
"third_party/milotic/external/cc/authz/proto/oauth.proto.h": "oauth.pb.h",
"third_party/milotic/external/cc/authz/proto/oauth.grpc.pb.h": "oauth.grpc.pb.h",
"third_party/milotic/external/cc/authz/proto/authorized_entity.proto.h": "authorized_entity.pb.h",
"third_party/milotic/external/cc/authz/": "",
"third_party/milotic/internal/cc/bmcweb/": "",
"third_party/milotic/internal/cc/authz/": "",
"\"third_party/json/src/json.hpp\"": "<nlohmann/json.hpp>",
"google/protobuf/duration.proto.h": "google/protobuf/duration.pb.h",
"google/protobuf/timestamp.proto.h": "google/protobuf/timestamp.pb.h",
"google/protobuf/any.proto.h": "google/protobuf/any.pb.h",
"third_party/ecclesia/lib/redfish/proto/redfish_v1.proto.h": "redfish_v1.pb.h",
"third_party/ecclesia/lib/redfish/proto/redfish_v1.grpc.pb.h": "redfish_v1.grpc.pb.h",
"third_party/ecclesia/lib/redfish/proto/": "",
"platforms/uhm/node_entities/proto/offline_node_entities.proto.h": "one/offline_node_entities.pb.h",
"platforms/uhm/node_entities/proto/resolved_entities.proto.h": "one/resolved_entities.pb.h",
"platforms/uhm/node_entities/proto/network_interfaces.proto.h": "one/network_interfaces.pb.h",
"net/model/unm/proto/node_entities_api.proto.h": "one/node_entities_api.pb.h",
"third_party/jwt-cpp/jwt.h": "jwt-cpp/jwt.h",
"third_party/jwt-cpp/traits/nlohmann-json/defaults.h": "jwt-cpp/traits/nlohmann-json/defaults.h",
"production/msv/node_entities/public/offline_node_entities.h": "one/public_offline_node_entities.h",
"third_party/milotic/internal/build/grpc/grpc_headers.h": "g3/grpc_headers.h",
"third_party/libusb/libusb1/libusb.h": "libusb-1.0/libusb.h",
"#include \"third_party/re2/re2.h\"": "#include \"re2/re2.h\"",
"#include \"third_party/liburing/src/include/liburing.h\"": "#include \"liburing.h\"",
"#include \"third_party/milotic/external/cc/fast_sanity/service/": "#include \"tlbmc/service/",
"#include \"third_party/milotic/external/cc/fast_sanity/definitions/": "#include \"",
"#include \"third_party/milotic/external/cc/tlbmc/": "#include \"tlbmc/",
"#include \"third_party/milotic/external/cc/hft/": "#include \"tlbmc/",
"#include \"third_party/milotic/external/cc/true_hitless/": "#include \"tlbmc/true_hitless/",
###################################
# specific to absil::MutexLock
##################################
# TODO: b/493631986 - Remove this once cl/885169818 is updated and ecclesia update the MutexLock usage
"absl::MutexLock lock(&": "absl::MutexLock lock(",
###################################
# specific to bloom_install
##################################
"#include \"third_party/milotic/external/cc/bloom_install/": "#include \"install/",
###########################
# specific to _cert_gen_lib
###########################
"third_party/milotic/internal/cc/authn/": "zatar/",
###########################
# specific to _tlbmc_lib
###########################
"tlbmc/trace/trace.proto.h": "trace.pb.h",
"tlbmc/configs/ad_hoc_fru_config.proto.h": "ad_hoc_fru_config.pb.h",
"tlbmc/configs/entity_common_config.proto.h": "entity_common_config.pb.h",
"tlbmc/configs/hal_common_config.proto.h": "hal_common_config.pb.h",
"tlbmc/configs/gpio_config.proto.h": "gpio_config.pb.h",
"tlbmc/configs/gpio_fru_config.proto.h": "gpio_fru_config.pb.h",
"tlbmc/configs/usb_fru_config.proto.h": "usb_fru_config.pb.h",
"tlbmc/configs/gpio_sensor_config.proto.h": "gpio_sensor_config.pb.h",
"tlbmc/configs/thermal_config.proto.h": "thermal_config.pb.h",
"tlbmc/configs/thermal_controller_specification.proto.h": "thermal_controller_specification.pb.h",
"tlbmc/types/payload.proto.h": "payload.pb.h",
"tlbmc/types/sensor_payload.proto.h": "sensor_payload.pb.h",
"tlbmc/types/subscription_params.proto.h": "subscription_params.pb.h",
"tlbmc/service/hft_service.grpc.pb.h": "hft_service.grpc.pb.h",
"tlbmc/types/edge_filtering.proto.h": "edge_filtering.pb.h",
"tlbmc/types/fru_identifier.proto.h": "fru_identifier.pb.h",
"tlbmc/types/fru_payload.proto.h": "fru_payload.pb.h",
"tlbmc/types/sensor_identifier.proto.h": "sensor_identifier.pb.h",
"tlbmc/types/identifier.proto.h": "identifier.pb.h",
"tlbmc/resource/resource.proto.h": "resource.pb.h",
"tlbmc/resource/status.proto.h": "status.pb.h",
"fru_service.proto.h": "fru_service.pb.h",
"fru_component_model.proto.h": "fru_component_model.pb.h",
"tlbmc/service/hft_capabilities.proto.h": "hft_capabilities.pb.h",
"tlbmc/service/hft_service.proto.h": "hft_service.pb.h",
"tlbmc/central_config/central_config.proto.h": "central_config.pb.h",
"tlbmc/resource/sensor.proto.h": "sensor.pb.h",
"tlbmc/resource/software_metrics.proto.h": "software_metrics.pb.h",
"tlbmc/configs/adc_sensor_config.proto.h": "adc_sensor_config.pb.h",
"tlbmc/configs/bulk_device_config.proto.h": "bulk_device_config.pb.h",
"tlbmc/configs/hwmon_temp_sensor_config.proto.h": "hwmon_temp_sensor_config.pb.h",
"tlbmc/configs/fan_pwm_config.proto.h": "fan_pwm_config.pb.h",
"tlbmc/configs/shared_mem_sensor_config.proto.h": "shared_mem_sensor_config.pb.h",
"tlbmc/configs/fan_tach_config.proto.h": "fan_tach_config.pb.h",
"tlbmc/configs/fan_controller_config.proto.h": "fan_controller_config.pb.h",
"tlbmc/resource/fru.proto.h": "fru.pb.h",
"tlbmc/resource/memory.proto.h": "memory.pb.h",
"tlbmc/resource/processor.proto.h": "processor.pb.h",
"tlbmc/resource/power_fault_log_entry.proto.h": "power_fault_log_entry.pb.h",
"tlbmc/configs/reading_range_config.proto.h": "reading_range_config.pb.h",
"tlbmc/configs/reading_transform_config.proto.h": "reading_transform_config.pb.h",
"tlbmc/configs/threshold_config.proto.h": "threshold_config.pb.h",
"tlbmc/configs/power_control.proto.h": "power_control.pb.h",
"tlbmc/configs/power_fault_detector_config.proto.h": "power_fault_detector_config.pb.h",
"tlbmc/configs/power_fault_log_config.proto.h": "power_fault_log_config.pb.h",
"tlbmc/configs/psu_sensor_config.proto.h": "psu_sensor_config.pb.h",
"tlbmc/configs/intel_cpu_sensor_config.proto.h": "intel_cpu_sensor_config.pb.h",
"tlbmc/configs/redfish_aggregated_sensor_config.proto.h": "redfish_aggregated_sensor_config.pb.h",
"tlbmc/configs/redfish_aggregated_batch_config.proto.h": "redfish_aggregated_batch_config.pb.h",
"tlbmc/configs/sensor_instance_properties.proto.h": "sensor_instance_properties.pb.h",
"tlbmc/configs/nic_telemetry_config.proto.h": "nic_telemetry_config.pb.h",
"tlbmc/hal/nic_veeprom/veeprom.proto.h": "veeprom.pb.h",
"tlbmc/configs/sel_config.proto.h": "sel_config.pb.h",
"tlbmc/configs/software_metrics_config.proto.h": "software_metrics_config.pb.h",
"tlbmc/configs/virtual_sensor_config.proto.h": "virtual_sensor_config.pb.h",
"tlbmc/deterministic_bmc/uhmm/fru_i2c.proto.h": "fru_i2c.pb.h",
"#include \"platforms/uhm/query/proto/bus_topology.proto.h\"": "#include \"bus_topology.pb.h\"",
"#include \"platforms/uhm/query/proto/offline_data.proto.h\"": "#include \"offline_data.pb.h\"",
"#include \"platforms/syshealth/collection/feed/forward/client/lib/anycast_user.h\"": "#include \"tlbmc/anycast_user.h\"",
"#include \"platforms/gbmc/g3_shared_libs/subprojects/owner_certificate/owner_verification_cert_configuration.proto.h\"": "#include \"owner_certificate/owner_verification_cert_configuration.pb.h\"",
"third_party/ecclesia/lib/": "",
"third_party/openbmc_libpeci/peci.h": "peci.h",
"third_party/openbmc_libpeci/linux/peci-ioctl.h": "hal/peci/linux/peci-ioctl.h",
"#include \"tlbmc/true_hitless/true_hitless_metrics.proto.h\"": "#include \"tlbmc/true_hitless_metrics.pb.h\"",
"platforms/gbmc/hal/": "gbmc-hal/",
"platforms/gbmc/g3_shared_libs/subprojects/gbmc_settings/bios_settings.proto.h": "gbmc_settings/bios_settings.pb.h",
"platforms/gbmc/g3_shared_libs/subprojects/gbmc_settings/gbmc_settings.proto.h": "gbmc_settings/gbmc_settings.pb.h",
"third_party/gbmc_sel_framework/": "",
"tlbmc/configs/pcie_config.proto.h": "pcie_config.pb.h",
})) + _replace_all_protos(
dict(
{
"import \"third_party/milotic/external/cc/tlbmc/resource/": "import \"",
"import \"third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/": "import \"",
"import \"third_party/milotic/external/cc/tlbmc/configs/": "import \"",
"import \"third_party/milotic/external/cc/tlbmc/redfish/data/": "import \"",
"import \"third_party/milotic/external/cc/fast_sanity/definitions/": "import \"",
"import \"third_party/milotic/external/cc/hft/types/": "import \"",
"import \"third_party/milotic/external/cc/hft/service/": "import \"",
"import \"third_party/milotic/external/cc/hft/aggregation/": "import \"",
},
),
) + [
###############################
# move
###############################
_move("google3/platforms/syshealth/collection/feed/forward/client/lib/anycast_user.h", "tlbmc/anycast_user.h"),
_move("google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/veeprom.proto", "tlbmc/veeprom.proto"),
_move("google3/third_party/milotic/external/cc/true_hitless/true_hitless_metrics.proto", "tlbmc/true_hitless_metrics.proto"),
_move("google3/third_party/ecclesia/lib/redfish/transport/grpc_tls_options.h", "tlbmc/grpc_tls_options.h"),
_move("google3/third_party/ecclesia/lib/redfish/transport/grpc_tls_options.cc", "tlbmc/grpc_tls_options.cc"),
_move("google3/third_party/ecclesia/lib/redfish/event/server/", "g3/", paths = glob(_cc_files)),
_move("google3/third_party/ecclesia/lib/redfish/proto/", "redfish_authorization/", paths = glob(_proto_files)),
_move("google3/third_party/ecclesia/lib/redfish/proto/", "redfish_authorization/", paths = glob(_cc_files)),
_move("google3/third_party/ecclesia/lib/protobuf/", "tlbmc/protobuf/", paths = glob(_cc_files)),
_move("google3/third_party/ecclesia/lib/redfish/", "redfish_authorization/", paths = glob(_cc_files)),
_move("google3/subscription_backend_impl.hpp", "g3/subscription_backend_impl.hpp"),
_move("google3/subscription_backend_impl.cpp", "g3/subscription_backend_impl.cpp"),
_move("google3/third_party/milotic/internal/cc/redfish/", "redfish_authorization/", paths = glob(_cc_files)),
_move("google3/third_party/milotic/internal/cc/redfish/", "redfish_authorization/", paths = glob(["meson.build", "authz_server.service.in"])),
_move("google3/third_party/milotic/external/cc/authz", "redfish_authorization/", paths = glob(_cc_files)),
_move("google3/third_party/milotic/external/cc/authz/proto", "redfish_authorization/", paths = glob(_proto_files)),
_move("google3/third_party/milotic/internal/cc/authz", "redfish_authorization/", paths = glob(_cc_files)),
_move("google3/third_party/ecclesia/lib/status/macros.h", "g3/macros.h"),
_move("google3/third_party/milotic/internal/build/grpc/grpc_headers.h", "g3/grpc_headers.h"),
_move("google3/third_party/milotic/internal/cc/bmcweb/managed_store.h", "g3/managed_store.hpp"),
_move("google3/third_party/milotic/internal/cc/bmcweb/managed_store.cc", "g3/managed_store.cpp"),
_move("google3/third_party/milotic/internal/cc/bmcweb/managed_store_clock.h", "g3/managed_store_clock.hpp"),
_move("google3/third_party/milotic/internal/cc/bmcweb/managed_store_types.cc", "g3/managed_store_types.cpp"),
_move("google3/third_party/milotic/internal/cc/bmcweb/managed_store_types.h", "g3/managed_store_types.hpp"),
_move("google3/third_party/milotic/internal/cc/bmcweb/mock_managed_store.h", "test/g3/mock_managed_store.hpp"),
_move("google3/third_party/milotic/internal/cc/bmcweb/mock_managed_store_test.h", "test/g3/mock_managed_store_test.hpp"),
_move("google3/third_party/milotic/internal/cc/bmcweb/mock_managed_store_test.cc", "test/g3/mock_managed_store_test.cpp"),
_move("google3/third_party/milotic/internal/cc/bmcweb/smart_router.h", "http/smart_router.h"),
_move("google3/third_party/milotic/internal/cc/bmcweb/smart_router.cc", "http/smart_router.cc"),
_move("google3/third_party/milotic/internal/cc/bmcweb/app_interface.h", "http/app_interface.h"),
_move("google3/third_party/milotic/internal/cc/bmcweb/router_interface.h", "http/router_interface.h"),
_move("google3/third_party/milotic/external/cc/tlbmc/configs/", "tlbmc/", paths = glob(_proto_files)),
_move("google3/third_party/milotic/external/cc/tlbmc/trace/", "tlbmc/", paths = glob(_proto_files)),
_move("google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/uhmm/fru_i2c.proto", "tlbmc/fru_i2c.proto"),
_move("google3/platforms/uhm/query/proto/bus_topology.proto", "tlbmc/bus_topology.proto"),
_move("google3/platforms/uhm/query/proto/offline_data.proto", "tlbmc/offline_data.proto"),
_move("google3/third_party/milotic/external/cc/tlbmc/resource/", "tlbmc/", paths = glob(_proto_files)),
_move("google3/third_party/milotic/external/cc/tlbmc/resource/", "tlbmc/", paths = glob(_proto_files)),
_move("google3/third_party/milotic/external/cc/fast_sanity/service/", "tlbmc/service/"),
_move("google3/third_party/milotic/external/cc/tlbmc/central_config/", "tlbmc/", paths = glob(_proto_files)),
_move("google3/third_party/milotic/external/cc/fast_sanity/definitions/", "tlbmc/", paths = glob(_proto_files)),
_move("google3/third_party/milotic/external/cc/hft/types/", "tlbmc/", paths = glob(_proto_files)),
_move("google3/third_party/milotic/external/cc/hft/service/", "tlbmc/", paths = glob(_proto_files)),
_move("google3/third_party/milotic/external/cc/hft/aggregation/", "tlbmc/", paths = glob(_proto_files)),
_move("google3/third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.proto", "tlbmc/stable_id.proto"),
_move("google3/third_party/milotic/internal/cc/bmcweb", "g3/", paths = glob(_cc_files)),
_move("google3/third_party/milotic/external/cc/tlbmc", "tlbmc/"),
_move("google3/third_party/milotic/external/cc/hft", "tlbmc/"),
_move("google3/third_party/milotic/external/cc/true_hitless/", "tlbmc/true_hitless/"),
_move("google3/third_party/ecclesia/lib/thread/", "tlbmc/thread/"),
_move("google3/third_party/ecclesia/lib/time/", "tlbmc/time/"),
_move("google3/third_party/ecclesia/lib/apifs/", "tlbmc/apifs/"),
_move("google3/third_party/ecclesia/lib/file/", "tlbmc/file/"),
_move("google3/third_party/ecclesia/lib/io/", "tlbmc/io/"),
_move("google3/third_party/ecclesia/lib/types/", "tlbmc/types/"),
_move("google3/third_party/milotic/external/cc/bloom_install/", "install/"),
_move("google3/third_party/openbmc_libpeci/linux/", "tlbmc/hal/peci/linux/"),
leakr.check(),
]
###################################################################################################
# Reverse transformations for gbmcweb gob to g3
###################################################################################################
_reverse_transformations = [
metadata.save_author(),
original_author_to_googler,
###############################
# common headers
###############################
# Operations are in sequence.
core.replace(
before = "#include \"boost",
after = "#include \"third_party/boost/do_not_include_from_google3_only_third_party/boost/boost",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include <nlohmann/json.hpp>",
after = "#include \"third_party/json/include/nlohmann/json.hpp\"",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include <nlohmann/json_fwd.hpp>",
after = "#include \"third_party/json/include/nlohmann/json_fwd.hpp\"",
paths = glob(_gob_cc_files),
),
core.replace(
# tranformation for all absl header
before = "#include \"absl",
after = "#include \"third_party/absl",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"re2/re2.h\"",
after = "#include \"util/regexp/re2/re2.h\"",
paths = glob(_gob_cc_files),
),
core.replace(
# transformation for all sdbusplus header
before = "#include \"sdbusplus",
after = "#include \"third_party/openbmc_sdbusplus/include/sdbusplus",
paths = glob(_gob_cc_files),
),
core.replace(
# transformation for all grpc header
before = "#include \"grpcpp",
after = "#include \"third_party/grpc/include/grpcpp",
paths = glob(_gob_cc_files),
),
core.replace(
# transformation for all boottime_api header
before = "#include \"boottime_api",
after = "#include \"third_party/gbmc_boottime_api",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include <gtest/gtest.h>",
after = "#include \"testing/base/public/gunit.h\"",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include <gmock/gmock.h>",
after = "#include \"testing/base/public/gmock.h\"",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"gbmc_settings/gbmc_settings.h",
after = "#include \"platforms/gbmc/g3_shared_libs/subprojects/gbmc_settings/gbmc_settings.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"gbmc-hal/",
after = "#include \"platforms/gbmc/hal/",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"redfish_to_uhm_trie.hpp\"",
after = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_trie.h\"",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"redfish_to_uhm_trie_node.hpp\"",
after = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_trie_node.h\"",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"redfish_to_uhm_mapping_value.hpp\"",
after = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_mapping_value.h\"",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"redfish_devpath_injector.hpp\"",
after = "#include \"third_party/gbmcweb/devpath_plugin/redfish_devpath_injector.h\"",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"redfish_devpath_injector_interface.hpp\"",
after = "#include \"third_party/gbmcweb/devpath_plugin/redfish_devpath_injector_interface.h\"",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"redfish_to_uhm_mapping.pb.h\"",
after = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_mapping.pb.h\"",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"google/protobuf/${path}\"",
after = "#include \"third_party/protobuf/${path}\"",
paths = glob(_gob_cc_files),
regex_groups = {
"path": ".*",
},
),
core.replace(
before = "google::protobuf::",
after = "proto2::",
paths = glob(_gob_cc_files),
),
###############################
# Internal headers
###############################
] + [
core.replace(
before = after,
after = before,
paths = glob(_gob_cc_files),
)
for before, after in _INTERNAL_HEADERS
] + [
core.replace(
# For CRYPTO_memcmp only
before = "<openssl/crypto.h>",
after = "<openssl/mem.h>",
paths = glob(
include = ["http/utility.cpp"],
),
),
core.replace(
before = "#include <openssl/evp.h>",
after = """#include "third_party/openssl/boringssl/src/include/openssl/base.h"
#include "third_party/openssl/boringssl/src/include/openssl/digest.h"
""",
paths = glob(
include = ["include/google/google_service_root.hpp"],
),
multiline = True,
),
core.replace(
# all generated enum headers in redfish-core/include/generated/enums/*
before = "generated/enums/${file}.hpp",
after = "third_party/gbmcweb/redfish_core/include/generated/enums/${file}.h",
paths = glob(_gob_cc_files),
regex_groups = {
"file": ".*",
},
),
core.replace(
before = "json_utils.hpp",
after = "third_party/gbmcweb/redfish_core/include/utils/json_utils.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "chassis_utils.hpp",
after = "third_party/gbmcweb/redfish_core/include/utils/chassis_utils.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "collection.hpp",
after = "third_party/gbmcweb/redfish_core/include/utils/collection.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "location_utils.hpp",
after = "third_party/gbmcweb/redfish_core/include/utils/location_utils.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"storage_utils.hpp\"",
after = "#include \"third_party/gbmcweb/redfish_core/include/utils/storage_utils.h\"",
paths = glob(_gob_cc_files),
),
core.replace(
before = "sw_utils.hpp",
after = "third_party/gbmcweb/redfish_core/include/utils/sw_utils.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "system_utils.hpp",
after = "third_party/gbmcweb/redfish_core/include/utils/system_utils.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "systemd_utils.hpp",
after = "third_party/gbmcweb/redfish_core/include/utils/systemd_utils.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "subprocess_utils.hpp",
after = "third_party/gbmcweb/redfish_core/include/utils/subprocess_utils.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "subprocess_utils_fake.hpp",
after = "third_party/gbmcweb/redfish_core/include/utils/subprocess_utils_fake.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "time_utils.hpp",
after = "third_party/gbmcweb/redfish_core/include/utils/time_utils.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "boottime.hpp",
after = "third_party/gbmcweb/redfish_core/include/utils/boottime.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "stl_utils.hpp",
after = "third_party/gbmcweb/redfish_core/include/utils/stl_utils.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "multipart_parser.hpp",
after = "third_party/gbmcweb/include/multipart_parser.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"interface.hpp",
after = "#include \"third_party/gbmcweb/plugins/interface.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "macros.hpp",
after = "third_party/gbmcweb/plugins/macros.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "chassis.hpp",
after = "third_party/gbmcweb/redfish_core/lib/chassis.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "assembly.hpp",
after = "third_party/gbmcweb/redfish_core/lib/assembly.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "health.hpp",
after = "third_party/gbmcweb/redfish_core/lib/health.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "led.hpp",
after = "third_party/gbmcweb/redfish_core/lib/led.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "redfish_util.hpp",
after = "third_party/gbmcweb/redfish_core/lib/redfish_util.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "fan_utils.hpp",
after = "third_party/gbmcweb/redfish_core/include/utils/fan_utils.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "telemetry_utils.hpp",
after = "third_party/gbmcweb/redfish_core/include/utils/telemetry_utils.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "metric_report.hpp",
after = "third_party/gbmcweb/redfish_core/lib/metric_report.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "external_storer.hpp",
after = "third_party/gbmcweb/redfish_core/lib/external_storer.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"ethernet.hpp",
after = "#include \"third_party/gbmcweb/redfish_core/lib/ethernet.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "log_services.hpp",
after = "third_party/gbmcweb/redfish_core/lib/log_services.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "gzfile.hpp",
after = "third_party/gbmcweb/redfish_core/include/gzfile.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "task.hpp",
after = "third_party/gbmcweb/redfish_core/lib/task.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "task_messages.hpp",
after = "third_party/gbmcweb/redfish_core/include/task_messages.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "sensors.hpp",
after = "third_party/gbmcweb/redfish_core/lib/sensors.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "pcie.hpp",
after = "third_party/gbmcweb/redfish_core/lib/pcie.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "ports.hpp",
after = "third_party/gbmcweb/redfish_core/lib/ports.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "power_supply.hpp",
after = "third_party/gbmcweb/redfish_core/lib/power_supply.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "schemas.hpp",
after = "third_party/gbmcweb/redfish_core/include/schemas.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "nvme_metric_utils.hpp",
after = "third_party/gbmcweb/redfish_core/include/utils/nvme_metric_utils.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "component_integrity.hpp",
after = "third_party/gbmcweb/redfish_core/lib/component_integrity.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "processor.hpp",
after = "third_party/gbmcweb/redfish_core/lib/processor.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "other_software_service.hpp",
after = "third_party/gbmcweb/redfish_core/lib/other_software_service.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "webassets.hpp",
after = "third_party/gbmcweb/include/webassets.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "managed_store_http.hpp",
after = "third_party/gbmcweb/include/managed_store_http.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "request_stats_store_http.hpp",
after = "third_party/gbmcweb/include/request_stats_store_http.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "g3/event_store.h",
after = "third_party/ecclesia/lib/redfish/event/server/event_store.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"subscription.h",
after = "#include \"third_party/ecclesia/lib/redfish/event/server/subscription.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"subscription_impl.h",
after = "#include \"third_party/ecclesia/lib/redfish/event/server/subscription_impl.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"subscription_store_impl.h",
after = "#include \"third_party/ecclesia/lib/redfish/event/server/subscription_store_impl.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "tlbmc/central_config/config.h",
after = "third_party/milotic/external/cc/tlbmc/central_config/config.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "tlbmc/configs/entity_config_json_impl.h",
after = "third_party/milotic/external/cc/tlbmc/configs/entity_config_json_impl.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "tlbmc/hal/fru_scanner_i2c.h",
after = "third_party/milotic/external/cc/tlbmc/hal/fru_scanner_i2c.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "tlbmc/credentials/credential_manager.h",
after = "third_party/milotic/external/cc/tlbmc/credentials/credential_manager.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "tlbmc/hal/sysfs/i2c.h",
after = "third_party/milotic/external/cc/tlbmc/hal/sysfs/i2c.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"tlbmc/hal/system_registry.h",
after = "#include \"third_party/milotic/external/cc/tlbmc/hal/system_registry.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "tlbmc/hal/system_registry_impl.h",
after = "third_party/milotic/external/cc/tlbmc/hal/system_registry_impl.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "tlbmc/hal/system_registry_mock.h",
after = "third_party/milotic/external/cc/tlbmc/hal/system_registry_mock.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "tlbmc/redfish/app.h",
after = "third_party/milotic/external/cc/tlbmc/redfish/app.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "tlbmc/redfish/routes/all_routes.h",
after = "third_party/milotic/external/cc/tlbmc/redfish/routes/all_routes.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "tlbmc/store/store_impl.h",
after = "third_party/milotic/external/cc/tlbmc/store/store_impl.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "tlbmc/trace/tracer.h",
after = "third_party/milotic/external/cc/tlbmc/trace/tracer.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "topology_config.pb.h",
after = "third_party/milotic/external/cc/tlbmc/configs/topology_config.proto.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "tlbmc/redfish/data/stable_id.h",
after = "third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "stable_id.pb.h",
after = "third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.proto.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "cors_preflight.hpp",
after = "third_party/gbmcweb/include/cors_preflight.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "webserver_main_setup.hpp",
after = "third_party/gbmcweb/include/webserver_main_setup.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "hostname_monitor.hpp",
after = "third_party/gbmcweb/include/hostname_monitor.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "image_upload.hpp",
after = "third_party/gbmcweb/include/image_upload.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "redfish.hpp",
after = "third_party/gbmcweb/redfish_core/include/redfish.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "subscription_backend_impl.hpp",
after = "subscription_backend_impl.hpp",
paths = glob(_gob_cc_files),
),
core.replace(
before = "user_monitor.hpp",
after = "third_party/gbmcweb/include/user_monitor.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"server.h",
after = "#include \"third_party/milotic/internal/cc/bmcweb/server.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "aggregation_service.hpp",
after = "third_party/gbmcweb/redfish_core/lib/aggregation_service.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "bios.hpp",
after = "third_party/gbmcweb/redfish_core/lib/bios.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "cable.hpp",
after = "third_party/gbmcweb/redfish_core/lib/cable.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "certificate_service.hpp",
after = "third_party/gbmcweb/redfish_core/lib/certificate_service.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "control.hpp",
after = "third_party/gbmcweb/redfish_core/lib/control.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "environment_metrics.hpp",
after = "third_party/gbmcweb/redfish_core/lib/environment_metrics.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "fabric_adapters.hpp",
after = "third_party/gbmcweb/redfish_core/lib/fabric_adapters.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "fan.hpp",
after = "third_party/gbmcweb/redfish_core/lib/fan.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "manager_diagnostic_data.hpp",
after = "third_party/gbmcweb/redfish_core/lib/manager_diagnostic_data.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "managers.hpp",
after = "third_party/gbmcweb/redfish_core/lib/managers.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "memory.hpp",
after = "third_party/gbmcweb/redfish_core/lib/memory.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "metric_report_definition.hpp",
after = "third_party/gbmcweb/redfish_core/lib/metric_report_definition.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "network_adapter.hpp",
after = "third_party/gbmcweb/redfish_core/lib/network_adapter.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "network_protocol.hpp",
after = "third_party/gbmcweb/redfish_core/lib/network_protocol.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "redfish-core/lib/nvme_features.hpp",
after = "third_party/gbmcweb/redfish_core/lib/nvme_features.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "pcie_slots.hpp",
after = "third_party/gbmcweb/redfish_core/lib/pcie_slots.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "port_metrics.hpp",
after = "third_party/gbmcweb/redfish_core/lib/port_metrics.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"power.hpp\"",
after = "#include \"third_party/gbmcweb/redfish_core/lib/power.h\"",
paths = glob(_gob_cc_files),
),
core.replace(
before = "power_subsystem.hpp",
after = "third_party/gbmcweb/redfish_core/lib/power_subsystem.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "power_supply_metrics.hpp",
after = "third_party/gbmcweb/redfish_core/lib/power_supply_metrics.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "redfish_v1.hpp",
after = "third_party/gbmcweb/redfish_core/lib/redfish_v1.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"service_root.hpp",
after = "#include \"third_party/gbmcweb/redfish_core/lib/service_root.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"storage.hpp\"",
after = "#include \"third_party/gbmcweb/redfish_core/lib/storage.h\"",
paths = glob(_gob_cc_files),
),
core.replace(
before = "#include \"systems.hpp\"",
after = "#include \"third_party/gbmcweb/redfish_core/lib/systems.h\"",
paths = glob(_gob_cc_files),
),
core.replace(
before = "telemetry_service.hpp",
after = "third_party/gbmcweb/redfish_core/lib/telemetry_service.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "thermal.hpp",
after = "third_party/gbmcweb/redfish_core/lib/thermal.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "thermal_subsystem.hpp",
after = "third_party/gbmcweb/redfish_core/lib/thermal_subsystem.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "trusted_component.hpp",
after = "third_party/gbmcweb/redfish_core/lib/trusted_component.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "update_service.hpp",
after = "third_party/gbmcweb/redfish_core/lib/update_service.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "google/google_service_nvme.hpp",
after = "third_party/gbmcweb/include/google/google_service_nvme.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "google/google_service_root.hpp",
after = "third_party/gbmcweb/include/google/google_service_root.h",
paths = glob(_gob_cc_files),
),
core.replace(
before = "snapshot_fixture.hpp",
after = "third_party/gbmcweb/test/redfish_core/lib/snapshot_fixture.h",
paths = glob(_gob_cc_files),
),
core.replace(
# replace for scripts/update_schemas.py
before = "from generate_schema_collections import generate_top_collections",
after = "from google3.third_party.gbmcweb.scripts.generate_schema_collections import generate_top_collections",
paths = glob(["scripts/update_schemas.py"]),
),
core.replace(
# replace for scripts/update_schemas.py
before = "import generate_schema_enums",
after = "import google3.third_party.gbmcweb.scripts.generate_schema_enums as generate_schema_enums",
paths = glob(["scripts/update_schemas.py"]),
),
###############################
# move
###############################
# Operations are in sequence.
] + [
core.move(
before = git_file,
after = "google3/third_party/gbmcweb/" + g3_file,
)
for g3_file, git_file in _FILE_MAPPINGS
if g3_file != "redfish_core/include/generated/enums/**"
] + [
core.transform(
transformations = [
core.move(
before = "redfish-core/include/generated/enums/${file}.hpp",
after = "google3/third_party/gbmcweb/redfish_core/include/generated/enums/${file}.h",
regex_groups = {"file": ".*"},
),
],
reversal = [
core.move(
before = "google3/third_party/gbmcweb/redfish_core/include/generated/enums/${file}.h",
after = "redfish-core/include/generated/enums/${file}.hpp",
regex_groups = {"file": ".*"},
),
],
),
] + [
########################
# Check for leaks after last transform
########################
core.replace(
before = "#include \"re2/re2.h\"",
after = "#include \"third_party/re2/re2.h\"",
paths = ["tlbmc/hal/fru_scanner_i2c.cc"],
),
] + _replace_all_cc(dict({
# gbmcweb headers
"#include \"app.hpp\"": "#include \"third_party/gbmcweb/http/app.h\"",
"#include \"app_interface.h\"": "#include \"third_party/milotic/internal/cc/bmcweb/app_interface.h\"",
"#include \"async_resp.hpp\"": "#include \"third_party/gbmcweb/include/async_resp.h\"",
"#include \"bmcweb_config.h\"": "#include \"third_party/gbmcweb/config/bmcweb_config.h\"",
"#include \"http_request.hpp\"": "#include \"third_party/gbmcweb/http/http_request.h\"",
"#include \"http_response.hpp\"": "#include \"third_party/gbmcweb/http/http_response.h\"",
"#include \"server.h\"": "#include \"third_party/milotic/internal/cc/bmcweb/server.h\"",
"#include \"smart_router.h\"": "#include \"third_party/milotic/internal/cc/bmcweb/smart_router.h\"",
# authz headers
"bmcweb_authorizer_singleton.h": "third_party/milotic/internal/cc/authz/bmcweb_authorizer_singleton.h",
"json_utils.h": "third_party/milotic/external/cc/authz/json_utils.h",
"pattern_to_entity_array.h": "third_party/milotic/external/cc/authz/pattern_to_entity_array.h",
# Google protobuf headers
"google/protobuf/duration.pb.h": "google/protobuf/duration.proto.h",
"google/protobuf/io": "third_party/protobuf/io",
"google/protobuf/json/": "third_party/protobuf/json/",
"google/protobuf/repeated_ptr_field.h": "third_party/protobuf/repeated_ptr_field.h",
"google/protobuf/text_format.h": "third_party/protobuf/text_format.h",
"google/protobuf/descriptor.h": "third_party/protobuf/descriptor.h",
"google/protobuf/message.h": "third_party/protobuf/message.h",
"google/protobuf/timestamp.pb.h": "google/protobuf/timestamp.proto.h",
"google/protobuf/any.pb.h": "google/protobuf/any.proto.h",
"google/protobuf/util/": "third_party/protobuf/util/",
# Common libraries
"#include \"absl/": "#include \"third_party/absl/",
"#include \"apifs/": "#include \"third_party/ecclesia/lib/apifs/",
"#include \"boost/": "#include \"third_party/boost/do_not_include_from_google3_only_third_party/boost/boost/",
"gbmc-hal": "platforms/gbmc/hal",
"::google::protobuf::": "::proto2::",
"#include \"grpcpp/": "#include \"third_party/grpc/include/grpcpp/",
"#include \"io/": "#include \"third_party/ecclesia/lib/io/",
"#include \"nlohmann/json.hpp\"": "#include \"third_party/json/include/nlohmann/json.hpp\"",
"#include \"nlohmann/json_fwd.hpp\"": "#include \"third_party/json/include/nlohmann/json_fwd.hpp\"",
"#include \"openssl/": "#include \"third_party/openssl/",
"#include \"time/": "#include \"third_party/ecclesia/lib/time/",
"#include \"thread/": "#include \"third_party/ecclesia/lib/thread/",
"#include \"zatar/bmcweb_cert_provider.h\"": "#include \"third_party/milotic/internal/cc/redfish/bmcweb_cert_provider.h\"",
"#include \"zatar/g3_misc.h\"": "#include \"third_party/openssl/base.h\"",
"#include \"zatar/x509_certificate.h\"": "#include \"third_party/ecclesia/lib/redfish/transport/x509_certificate.h\"",
"#include \"zatar/": "#include \"third_party/milotic/internal/cc/authn/",
# We copy files from many different places into tlbmc, use the directory to determine where
# they come from
"tlbmc/adapter/": "third_party/milotic/external/cc/hft/adapter/",
"tlbmc/central_config/": "third_party/milotic/external/cc/tlbmc/central_config/",
"tlbmc/collector/": "third_party/milotic/external/cc/tlbmc/collector/",
"tlbmc/configs/": "third_party/milotic/external/cc/tlbmc/configs/",
"tlbmc/credentials/": "third_party/milotic/external/cc/tlbmc/credentials/",
"tlbmc/deterministic_bmc/": "third_party/milotic/external/cc/tlbmc/deterministic_bmc/",
"tlbmc/expression/": "third_party/milotic/external/cc/tlbmc/expression/",
"tlbmc/hal/": "third_party/milotic/external/cc/tlbmc/hal/",
"tlbmc/host_state/": "third_party/milotic/external/cc/tlbmc/host_state/",
"tlbmc/http/": "third_party/milotic/external/cc/tlbmc/http/",
"tlbmc/metrics/": "third_party/milotic/external/cc/tlbmc/metrics/",
"tlbmc/pacemaker/": "third_party/milotic/external/cc/tlbmc/pacemaker/",
"#include \"tlbmc/redfish/": "#include \"third_party/milotic/external/cc/tlbmc/redfish/",
"tlbmc/rcu/": "third_party/milotic/external/cc/tlbmc/rcu/",
"tlbmc/scheduler/": "third_party/milotic/external/cc/tlbmc/scheduler/",
"tlbmc/sensors/": "third_party/milotic/external/cc/tlbmc/sensors/",
"tlbmc/service/fru_service.h": "third_party/milotic/external/cc/fast_sanity/service/fru_service.h",
"tlbmc/hft/": "third_party/milotic/external/cc/tlbmc/hft/",
"tlbmc/store/": "third_party/milotic/external/cc/tlbmc/store/",
"tlbmc/thermal/": "third_party/milotic/external/cc/tlbmc/thermal/",
"tlbmc/time/time.h": "third_party/milotic/external/cc/tlbmc/time/time.h",
"tlbmc/trace/": "third_party/milotic/external/cc/tlbmc/trace/",
"tlbmc/true_hitless/": "third_party/milotic/external/cc/true_hitless/",
"tlbmc/utils/": "third_party/milotic/external/cc/tlbmc/utils/",
# and a few headers in the base directory
"gbmc_sel_defs.h": "third_party/gbmc_sel_framework/gbmc_sel_defs.h",
"gbmc_sel_pub.h": "third_party/gbmc_sel_framework/gbmc_sel_pub.h",
# protobuf compiled headers
"ad_hoc_fru_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/ad_hoc_fru_config.proto.h",
"bulk_device_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/bulk_device_config.proto.h",
"central_config.pb.h": "third_party/milotic/external/cc/tlbmc/central_config/central_config.proto.h",
"entity_common_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/entity_common_config.proto.h",
"fan_controller_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/fan_controller_config.proto.h",
"fan_pwm_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/fan_pwm_config.proto.h",
"fan_tach_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/fan_tach_config.proto.h",
"fru.pb.h": "third_party/milotic/external/cc/tlbmc/resource/fru.proto.h",
"memory.pb.h": "third_party/milotic/external/cc/tlbmc/resource/memory.proto.h",
"processor.pb.h": "third_party/milotic/external/cc/tlbmc/resource/processor.proto.h",
"fru_component_model.pb.h": "third_party/milotic/external/cc/fast_sanity/definitions/fru_component_model.proto.h",
"fru_service.pb.h": "third_party/milotic/external/cc/fast_sanity/definitions/fru_service.proto.h",
"fru_service.grpc.pb.h": "third_party/milotic/external/cc/fast_sanity/definitions/fru_service.grpc.pb.h",
"gpio_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/gpio_config.proto.h",
"gpio_fru_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/gpio_fru_config.proto.h",
"usb_fru_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/usb_fru_config.proto.h",
"gpio_sensor_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/gpio_sensor_config.proto.h",
"hal_common_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/hal_common_config.proto.h",
"hft_capabilities.pb.h": "third_party/milotic/external/cc/hft/service/hft_capabilities.proto.h",
"hft_service.pb.h": "third_party/milotic/external/cc/hft/service/hft_service.proto.h",
"hft_service.grpc.pb.h": "third_party/milotic/external/cc/hft/service/hft_service.grpc.pb.h",
"adc_sensor_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/adc_sensor_config.proto.h",
"hwmon_temp_sensor_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/hwmon_temp_sensor_config.proto.h",
"sensor_identifier.pb.h": "third_party/milotic/external/cc/hft/types/sensor_identifier.proto.h",
"edge_filtering.pb.h": "third_party/milotic/external/cc/hft/types/edge_filtering.proto.h",
"fru_identifier.pb.h": "third_party/milotic/external/cc/hft/types/fru_identifier.proto.h",
"identifier.pb.h": "third_party/milotic/external/cc/hft/types/identifier.proto.h",
"fru_payload.pb.h": "third_party/milotic/external/cc/hft/types/fru_payload.proto.h",
"intel_cpu_sensor_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/intel_cpu_sensor_config.proto.h",
"nic_telemetry_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/nic_telemetry_config.proto.h",
"one/offline_node_entities.pb.h": "platforms/uhm/node_entities/proto/offline_node_entities.proto.h",
"sensor_payload.pb.h": "third_party/milotic/external/cc/hft/types/sensor_payload.proto.h",
"payload.pb.h": "third_party/milotic/external/cc/hft/types/payload.proto.h",
"power_control.pb.h": "third_party/milotic/external/cc/tlbmc/configs/power_control.proto.h",
"psu_sensor_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/psu_sensor_config.proto.h",
"reading_range_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/reading_range_config.proto.h",
"reading_transform_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/reading_transform_config.proto.h",
"redfish_aggregated_sensor_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/redfish_aggregated_sensor_config.proto.h",
"redfish_aggregated_batch_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/redfish_aggregated_batch_config.proto.h",
"redfish_v1.pb.h": "third_party/ecclesia/lib/redfish/proto/redfish_v1.proto.h",
"resource.pb.h": "third_party/milotic/external/cc/tlbmc/resource/resource.proto.h",
"status.pb.h": "third_party/milotic/external/cc/tlbmc/resource/status.proto.h",
"sensor.pb.h": "third_party/milotic/external/cc/tlbmc/resource/sensor.proto.h",
"sensor_instance_properties.pb.h": "third_party/milotic/external/cc/tlbmc/configs/sensor_instance_properties.proto.h",
"shared_mem_sensor_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/shared_mem_sensor_config.proto.h",
"software_metrics.pb.h": "third_party/milotic/external/cc/tlbmc/resource/software_metrics.proto.h",
"software_metrics_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/software_metrics_config.proto.h",
"stable_id.pb.h": "third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.proto.h",
"subscription_params.pb.h": "third_party/milotic/external/cc/hft/types/subscription_params.proto.h",
"telemetry_aggregation.pb.h": "third_party/milotic/external/cc/hft/aggregation/telemetry_aggregation.proto.h",
"thermal_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/thermal_config.proto.h",
"threshold_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/threshold_config.proto.h",
"tlbmc/true_hitless_metrics.pb.h": "third_party/milotic/external/cc/true_hitless/true_hitless_metrics.proto.h",
"topology_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/topology_config.proto.h",
"trace.pb.h": "third_party/milotic/external/cc/tlbmc/trace/trace.proto.h",
"veeprom.pb.h": "third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/veeprom.proto.h",
"virtual_sensor_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/virtual_sensor_config.proto.h",
"bus_topology.pb.h": "platforms/uhm/query/proto/bus_topology.proto.h",
"offline_data.pb.h": "platforms/uhm/query/proto/offline_data.proto.h",
"power_fault_log_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/power_fault_log_config.proto.h",
"power_fault_log_entry.pb.h": "third_party/milotic/external/cc/tlbmc/resource/power_fault_log_entry.proto.h",
"sel_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/sel_config.proto.h",
"owner_certificate/owner_verification_cert_configuration.pb.h": "platforms/gbmc/g3_shared_libs/subprojects/owner_certificate/owner_verification_cert_configuration.proto.h",
"fru_i2c.pb.h": "third_party/milotic/external/cc/tlbmc/deterministic_bmc/uhmm/fru_i2c.proto.h",
"power_fault_detector_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/power_fault_detector_config.proto.h",
"pcie_config.pb.h": "third_party/milotic/external/cc/tlbmc/configs/pcie_config.proto.h",
# other various headers
"#include \"g3/macros.h\"": "#include \"third_party/ecclesia/lib/status/macros.h\"",
"g3/grpc_headers.h": "third_party/milotic/internal/build/grpc/grpc_headers.h",
"#include \"hal/peci/linux/peci-ioctl.h\"": "#include \"third_party/openbmc_libpeci/linux/peci-ioctl.h\"",
"#include \"liburing.h\"": "#include \"third_party/liburing/src/include/liburing.h\"",
"#include \"one/public_offline_node_entities.h\"": "#include \"production/msv/node_entities/public/offline_node_entities.h\"",
"#include \"peci.h\"": "#include \"third_party/openbmc_libpeci/peci.h\"",
"#include \"redfish-core/include/error_messages.hpp\"": "#include \"third_party/milotic/internal/cc/bmcweb/fake_error_messages.h\"",
"#include \"re2/re2.h\"": "#include \"util/regexp/re2/re2.h\"",
"#include \"router_interface.h\"": "#include \"third_party/milotic/internal/cc/bmcweb/router_interface.h\"",
})) + _replace_all_protos(
# replacements for proto files
dict({
"import \"entity_common_config.proto\"": "import \"third_party/milotic/external/cc/tlbmc/configs/entity_common_config.proto\"",
"import \"fru_component_model.proto\"": "import \"third_party/milotic/external/cc/fast_sanity/definitions/fru_component_model.proto\"",
"import \"hal_common_config.proto\"": "import \"third_party/milotic/external/cc/tlbmc/configs/hal_common_config.proto\"",
"import \"edge_filtering.proto\"": "import \"third_party/milotic/external/cc/hft/types/edge_filtering.proto\"",
"import \"fru_identifier.proto\"": "import \"third_party/milotic/external/cc/hft/types/fru_identifier.proto\"",
"import \"fru_payload.proto\"": "import \"third_party/milotic/external/cc/hft/types/fru_payload.proto\"",
"import \"hft_capabilities.proto\"": "import \"third_party/milotic/external/cc/hft/service/hft_capabilities.proto\"",
"import \"identifier.proto\"": "import \"third_party/milotic/external/cc/hft/types/identifier.proto\"",
"import \"payload.proto\"": "import \"third_party/milotic/external/cc/hft/types/payload.proto\"",
"import \"reading_range_config.proto\"": "import \"third_party/milotic/external/cc/tlbmc/configs/reading_range_config.proto\"",
"import \"reading_transform_config.proto\"": "import \"third_party/milotic/external/cc/tlbmc/configs/reading_transform_config.proto\"",
"import \"resource.proto\"": "import \"third_party/milotic/external/cc/tlbmc/resource/resource.proto\"",
"import \"status.proto\"": "import \"third_party/milotic/external/cc/tlbmc/resource/status.proto\"",
"import \"sensor.proto\"": "import \"third_party/milotic/external/cc/tlbmc/resource/sensor.proto\"",
"import \"fru.proto\"": "import \"third_party/milotic/external/cc/tlbmc/resource/fru.proto\"",
"import \"memory.proto\"": "import \"third_party/milotic/external/cc/tlbmc/resource/memory.proto\"",
"import \"processor.proto\"": "import \"third_party/milotic/external/cc/tlbmc/resource/processor.proto\"",
"import \"sensor_identifier.proto\"": "import \"third_party/milotic/external/cc/hft/types/sensor_identifier.proto\"",
"import \"sensor_instance_properties.proto\"": "import \"third_party/milotic/external/cc/tlbmc/configs/sensor_instance_properties.proto\"",
"import \"sensor_payload.proto\"": "import \"third_party/milotic/external/cc/hft/types/sensor_payload.proto\"",
"import \"software_metrics_config.proto\"": "import \"third_party/milotic/external/cc/tlbmc/configs/software_metrics_config.proto\"",
"import \"subscription_params.proto\"": "import \"third_party/milotic/external/cc/hft/types/subscription_params.proto\"",
"import \"threshold_config.proto\"": "import \"third_party/milotic/external/cc/tlbmc/configs/threshold_config.proto\"",
"import \"topology_config.proto\"": "import \"third_party/milotic/external/cc/tlbmc/configs/topology_config.proto\"",
"import \"veeprom.proto\"": "import \"third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/veeprom.proto\"",
"import \"telemetry_aggregation.proto\"": "import \"third_party/milotic/external/cc/hft/aggregation/telemetry_aggregation.proto\"",
"import \"redfish_aggregated_sensor_config.proto\"": "import \"third_party/milotic/external/cc/tlbmc/configs/redfish_aggregated_sensor_config.proto\"",
"import \"stable_id.proto\"": "import \"third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.proto\"",
}),
) + [
# move files to their correct places in google3. Some of these we can do based on directory,
# but others require a file-specific move.
_move("tlbmc/adapter/", "google3/third_party/milotic/external/cc/hft/adapter/"),
_move("tlbmc/central_config/", "google3/third_party/milotic/external/cc/tlbmc/central_config/"),
_move("tlbmc/collector/", "google3/third_party/milotic/external/cc/tlbmc/collector/"),
_move("tlbmc/configs/", "google3/third_party/milotic/external/cc/tlbmc/configs/"),
_move("tlbmc/credentials/", "google3/third_party/milotic/external/cc/tlbmc/credentials/"),
_move("tlbmc/deterministic_bmc/", "google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/"),
_move("tlbmc/expression/", "google3/third_party/milotic/external/cc/tlbmc/expression/"),
_move("tlbmc/g3doc/", "google3/third_party/milotic/external/cc/tlbmc/g3doc/"),
_move("tlbmc/hal/", "google3/third_party/milotic/external/cc/tlbmc/hal/"),
_move("tlbmc/metrics/", "google3/third_party/milotic/external/cc/tlbmc/metrics/"),
_move("tlbmc/pacemaker/", "google3/third_party/milotic/external/cc/tlbmc/pacemaker/"),
_move("tlbmc/rcu/", "google3/third_party/milotic/external/cc/tlbmc/rcu/"),
_move("tlbmc/redfish/", "google3/third_party/milotic/external/cc/tlbmc/redfish/"),
_move("tlbmc/scheduler/", "google3/third_party/milotic/external/cc/tlbmc/scheduler/"),
_move("tlbmc/sensors/", "google3/third_party/milotic/external/cc/tlbmc/sensors/"),
_move("tlbmc/http/", "google3/third_party/milotic/external/cc/tlbmc/http/"),
_move("tlbmc/service/fru_service.cc", "google3/third_party/milotic/external/cc/fast_sanity/service/fru_service.cc"),
_move("tlbmc/hft/", "google3/third_party/milotic/external/cc/tlbmc/hft/"),
_move("tlbmc/store/", "google3/third_party/milotic/external/cc/tlbmc/store/"),
_move("tlbmc/service/fru_service.h", "google3/third_party/milotic/external/cc/fast_sanity/service/fru_service.h"),
_move("tlbmc/time/", "google3/third_party/milotic/external/cc/tlbmc/time/"),
_move("tlbmc/trace/", "google3/third_party/milotic/external/cc/tlbmc/trace/"),
_move("tlbmc/true_hitless/", "google3/third_party/milotic/external/cc/true_hitless/"),
_move("tlbmc/utils/", "google3/third_party/milotic/external/cc/tlbmc/utils/"),
# meson.build
_move("tlbmc/meson.build", "google3/third_party/milotic/external/cc/tlbmc/meson.build"),
# move protos. All of these are in the base directory so require a file-specific move
_move("tlbmc/stable_id.proto", "google3/third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.proto"),
_move("tlbmc/trace.proto", "google3/third_party/milotic/external/cc/tlbmc/trace/trace.proto"),
_move("tlbmc/ad_hoc_fru_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/ad_hoc_fru_config.proto"),
_move("tlbmc/entity_common_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/entity_common_config.proto"),
_move("tlbmc/hal_common_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/hal_common_config.proto"),
_move("tlbmc/gpio_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/gpio_config.proto"),
_move("tlbmc/gpio_fru_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/gpio_fru_config.proto"),
_move("tlbmc/usb_fru_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/usb_fru_config.proto"),
_move("tlbmc/payload.proto", "google3/third_party/milotic/external/cc/hft/types/payload.proto"),
_move("tlbmc/sensor_payload.proto", "google3/third_party/milotic/external/cc/hft/types/sensor_payload.proto"),
_move("tlbmc/subscription_params.proto", "google3/third_party/milotic/external/cc/hft/types/subscription_params.proto"),
_move("tlbmc/sensor_identifier.proto", "google3/third_party/milotic/external/cc/hft/types/sensor_identifier.proto"),
_move("tlbmc/edge_filtering.proto", "google3/third_party/milotic/external/cc/hft/types/edge_filtering.proto"),
_move("tlbmc/fru_identifier.proto", "google3/third_party/milotic/external/cc/hft/types/fru_identifier.proto"),
_move("tlbmc/fru_payload.proto", "google3/third_party/milotic/external/cc/hft/types/fru_payload.proto"),
_move("tlbmc/identifier.proto", "google3/third_party/milotic/external/cc/hft/types/identifier.proto"),
_move("tlbmc/resource.proto", "google3/third_party/milotic/external/cc/tlbmc/resource/resource.proto"),
_move("tlbmc/status.proto", "google3/third_party/milotic/external/cc/tlbmc/resource/status.proto"),
_move("tlbmc/fru_service.proto", "google3/third_party/milotic/external/cc/fast_sanity/definitions/fru_service.proto"),
_move("tlbmc/fru_component_model.proto", "google3/third_party/milotic/external/cc/fast_sanity/definitions/fru_component_model.proto"),
_move("tlbmc/hft_capabilities.proto", "google3/third_party/milotic/external/cc/hft/service/hft_capabilities.proto"),
_move("tlbmc/hft_service.proto", "google3/third_party/milotic/external/cc/hft/service/hft_service.proto"),
_move("tlbmc/central_config.proto", "google3/third_party/milotic/external/cc/tlbmc/central_config/central_config.proto"),
_move("tlbmc/sensor.proto", "google3/third_party/milotic/external/cc/tlbmc/resource/sensor.proto"),
_move("tlbmc/software_metrics.proto", "google3/third_party/milotic/external/cc/tlbmc/resource/software_metrics.proto"),
_move("tlbmc/adc_sensor_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/adc_sensor_config.proto"),
_move("tlbmc/bulk_device_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/bulk_device_config.proto"),
_move("tlbmc/gpio_sensor_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/gpio_sensor_config.proto"),
_move("tlbmc/hwmon_temp_sensor_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/hwmon_temp_sensor_config.proto"),
_move("tlbmc/fan_pwm_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/fan_pwm_config.proto"),
_move("tlbmc/shared_mem_sensor_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/shared_mem_sensor_config.proto"),
_move("tlbmc/fan_tach_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/fan_tach_config.proto"),
_move("tlbmc/fan_controller_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/fan_controller_config.proto"),
_move("tlbmc/fru.proto", "google3/third_party/milotic/external/cc/tlbmc/resource/fru.proto"),
_move("tlbmc/processor.proto", "google3/third_party/milotic/external/cc/tlbmc/resource/processor.proto"),
_move("tlbmc/memory.proto", "google3/third_party/milotic/external/cc/tlbmc/resource/memory.proto"),
_move("tlbmc/reading_range_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/reading_range_config.proto"),
_move("tlbmc/reading_transform_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/reading_transform_config.proto"),
_move("tlbmc/threshold_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/threshold_config.proto"),
_move("tlbmc/topology_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/topology_config.proto"),
_move("tlbmc/power_control.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/power_control.proto"),
_move("tlbmc/psu_sensor_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/psu_sensor_config.proto"),
_move("tlbmc/intel_cpu_sensor_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/intel_cpu_sensor_config.proto"),
_move("tlbmc/nic_telemetry_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/nic_telemetry_config.proto"),
_move("tlbmc/veeprom.proto", "google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/veeprom.proto"),
_move("tlbmc/software_metrics_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/software_metrics_config.proto"),
_move("tlbmc/virtual_sensor_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/virtual_sensor_config.proto"),
_move("tlbmc/redfish_aggregated_sensor_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/redfish_aggregated_sensor_config.proto"),
_move("tlbmc/redfish_aggregated_batch_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/redfish_aggregated_batch_config.proto"),
_move("tlbmc/sensor_instance_properties.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/sensor_instance_properties.proto"),
_move("tlbmc/true_hitless_metrics.proto", "google3/third_party/milotic/external/cc/true_hitless/true_hitless_metrics.proto"),
_move("tlbmc/pcie_config.proto", "google3/third_party/milotic/external/cc/tlbmc/configs/pcie_config.proto"),
leakr.check(),
]
########################
# Workflows
########################
piper_sot_to_gerrit(
name_prefix = "gbmcweb",
google3_files = _google3_files_for_origin,
default_author = "gBMC Team <gbmc-core@google.com>",
allowed_authors = _allowed_authors,
contact_email = "gbmc-core+copybara@google.com",
url = "rpc://gbmc/gbmcweb",
branch = "master",
transformations = _transformations,
owner_mdb = "gbmc-git-approvers",
ci_labels = ["Presubmit"],
common_flags = {
# "--ignore-noop": [],
"--read-config-from-change": [],
},
git_files = _git_files_for_destination,
metadata_scrubber = metadata_scrubber,
)
# Workflow for moving changes from gerrit to google3
core.workflow(
name = "gbmcweb_gob_to_piper_reverse_workflow",
origin = git.gerrit_origin(
url = "rpc://gbmc/gbmcweb",
branch = "master",
import_wip_changes = False,
),
origin_files = _git_files_for_origin,
destination = piper.destination(
mode = "AUTO_SUBMIT",
reviewers = [
"haoooamazing@google.com",
"nanzhou@google.com",
],
cc = [
"haoooamazing@google.com",
"${GOOGLER_ORIGINAL_AUTHOR}",
],
),
destination_files = glob(
include = _all_gbmcweb_google3_files + _gob_tlbmc_dest_files,
exclude = _excluded_meta_files,
),
mode = "CHANGE_REQUEST",
# cannot pass through since vendor will not have access to google3
authoring = authoring.pass_thru(
default = "gBMC Team <gbmc-core@google.com>",
),
transformations = _reverse_transformations,
)
# automate reverse workflow
service.migration(
migration_name = "gbmcweb_gob_to_piper_reverse_workflow",
canonical_import_for = [
"google3/third_party/milotic/external/cc/fast_sanity/definitions",
"google3/third_party/milotic/external/cc/fast_sanity/service",
"google3/third_party/milotic/external/cc/hft/adapter",
"google3/third_party/milotic/external/cc/hft/service",
"google3/third_party/milotic/external/cc/hft/types",
"google3/third_party/milotic/external/cc/tlbmc",
"google3/third_party/milotic/external/cc/true_hitless",
],
owner_mdb = "gbmc-git-approvers",
contact_email = "gbmc-core+copybara@google.com",
cns_mdb = "copybara-freebie",
notifications = service.notifications(
on_error = [service.email(address = "gbmc-core+copybara@google.com")],
),
state = "ACTIVE",
)
# feedback from critique to gerrit
critique_findings_to_gerrit(
name = "gbmcweb_piper_sot_findings_to_gerrit",
description = "Post presubmit TAP findings from Critique to the original Gerrit review",
categories = [
"Presubmit:Tests:CheckGbmcwebTap",
"Presubmit:Tests:CheckMilotic",
"Presubmit:Tests:CheckMiloticAsan",
"Presubmit:Tests:CheckMiloticMsan",
"Presubmit:Tests:CheckMiloticTsan",
],
gob_url = "rpc://gbmc/gbmcweb",
label = "Google-Verified",
checker = leakr.check(),
piper_files = _google3_files_for_destination,
)
# automate feedback (critique -> gerrit) for reverse workflow (gob->piper)
service.migration(
migration_name = "gbmcweb_piper_sot_findings_to_gerrit",
owner_mdb = "gbmc-git-approvers",
contact_email = "gbmc-core+copybara@google.com",
cns_mdb = "copybara-freebie",
notifications = service.notifications(
on_error = [service.email(address = "gbmc-core+copybara@google.com")],
),
state = "ACTIVE",
)
#########################################
# Copybara CLI workspace-to-local-folder workflow
#########################################
# Exports files from the current CitC workspace to a local folder,
# Used for:
# - Staging tlbmc changes in g3 into a local folder for bitbake based builds.
# To run from the google3 directory of your CitC client:
# g4d YOUR_CITC_WORKSPACE
# copybara third_party/gbmcweb/copy.bara.sky gbmcweb_workspace_to_local_folder .. \
# --folder-dir /path/to/local/gbmcweb --ignore-noop
#
core.workflow(
name = "gbmcweb_workspace_to_local_folder",
origin = folder.origin(),
origin_files = _google3_files_for_origin,
destination = folder.destination(),
authoring = authoring.overwrite("Googler <noreply@google.com>"),
transformations = _transformations,
destination_files = _git_files_for_destination,
)