-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refs/pull/29427/head: mgr/rook: Make use of rook-client-python when talking to Rook cmake: Integrate Rook client generation mgr/rook: Automatically generate Rook client interface Add submodule to rook-client-python.git Reviewed-by: Sage Weil <[email protected]> Reviewed-by: Juan Miguel Olmo <[email protected]>
- Loading branch information
Showing
12 changed files
with
202 additions
and
166 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,3 +115,4 @@ ideepika Deepika Upadhyay <[email protected]> | |
p-se Patrick Seidensal <[email protected]> | ||
ronen-fr Ronen Friedman <[email protected]> | ||
yaarith Yaarit Hatuka <[email protected]> | ||
jmolmo Juan Miguel Olmo <[email protected]> |
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
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
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
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
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
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 @@ | ||
rook_client |
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,18 @@ | ||
# if(WITH_MGR_DASHBOARD_FRONTEND AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64|arm|ARM") | ||
|
||
if (WITH_MGR_ROOK_CLIENT) | ||
add_custom_command( | ||
OUTPUT rook_client/__init__.py | ||
COMMAND ./generate_rook_ceph_client.sh | ||
DEPENDS rook_cluster.py | ||
COMMENT "generating mgr/rook/rook_client" | ||
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/src/pybind/mgr/rook") | ||
|
||
add_custom_target(mgr-rook-client | ||
ALL | ||
DEPENDS rook_client/__init__.py | ||
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/src/pybind/mgr/rook" | ||
) | ||
|
||
add_dependencies(ceph-mgr mgr-rook-client) | ||
endif (WITH_MGR_ROOK_CLIENT) |
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,14 @@ | ||
#!/bin/sh | ||
|
||
set -ex | ||
|
||
script_location="$(dirname "$(readlink -f "$0")")" | ||
cd "$script_location" | ||
|
||
rm -rf rook_client | ||
|
||
|
||
cp -r ./rook-client-python/rook_client . | ||
rm -rf rook_client/cassandra | ||
rm -rf rook_client/edgefs | ||
rm -rf rook_client/tests |
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,2 @@ | ||
kubernetes | ||
jsonpatch |
Submodule rook-client-python
added at
0b46d5
Oops, something went wrong.