-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
delta-agc032a: revise files to run redfish and ptest
- Loading branch information
Showing
8 changed files
with
72 additions
and
750 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 22 additions & 1 deletion
23
meta-delta/meta-agc032a/recipes-agc032a/aggregate-sensor/libaggregate-sensor_0.1.bbappend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
PTEST_ENABLED="0" | ||
# Copyright 2014-present Facebook. All Rights Reserved. | ||
# | ||
# This program file is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License as published by the | ||
# Free Software Foundation; version 2 of the License. | ||
# | ||
# This program is distributed in the hope that it will be useful, but WITHOUT | ||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
# for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program in a file named COPYING; if not, write to the | ||
# Free Software Foundation, Inc., | ||
# 51 Franklin Street, Fifth Floor, | ||
# Boston, MA 02110-1301 USA | ||
|
||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
|
||
SRC_URI += "file://aggregate-sensor-conf.json \ | ||
" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
meta-delta/meta-agc032a/recipes-utils/rest-api/files/board_setup_routes.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#!/usr/bin/env python | ||
# | ||
# Copyright 2014-present Facebook. All Rights Reserved. | ||
# | ||
# This program file is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License as published by the | ||
# Free Software Foundation; version 2 of the License. | ||
# | ||
# This program is distributed in the hope that it will be useful, but WITHOUT | ||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
# for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program in a file named COPYING; if not, write to the | ||
# Free Software Foundation, Inc., | ||
# 51 Franklin Street, Fifth Floor, | ||
# Boston, MA 02110-1301 USA | ||
# | ||
|
||
import os | ||
|
||
from aiohttp.web import Application | ||
from compute_rest_shim import RestShim | ||
from node_bios import ( | ||
get_node_bios, | ||
get_node_bios_boot_order_trunk, | ||
get_node_bios_postcode_trunk, | ||
get_node_bios_plat_info_trunk, | ||
get_node_bios_boot_mode, | ||
get_node_bios_clear_cmos, | ||
get_node_bios_force_boot_setup, | ||
get_node_bios_boot_order, | ||
) | ||
from node_bmc import get_node_bmc | ||
from node_config import get_node_config | ||
from node_fans import get_node_fans | ||
from node_fruid import get_node_fruid | ||
from node_logs import get_node_logs | ||
from node_mezz import get_node_mezz | ||
from node_sensors import get_node_sensors | ||
from node_server import get_node_server | ||
from node_spb import get_node_spb | ||
from rest_pal_legacy import pal_is_fru_prsnt, pal_get_num_slots | ||
|
||
# Initialize Platform specific Resource Tree | ||
def setup_board_routes(app: Application, write_enabled: bool): | ||
pass |
111 changes: 0 additions & 111 deletions
111
meta-delta/meta-agc032a/recipes-utils/rest-api/files/plat_tree.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.