/openbmc/phosphor-state-manager/service_files/ |
H A D | xyz.openbmc_project.State.Chassis@.service | 70f36d8efab3e57f941f1e4eddbffdda84879f0f Mon Mar 14 21:25:39 CDT 2022 Potin Lai <potin.lai@quantatw.com> chassis-state-manager: Add multi-chassis support
Add multi-chassis management support, each chassis bus separates by giving a unique chassis id.
Current code only support single chassis, and alway assume bus name is "xyz.openbmc_project.State.Chassis".
This patch allow user to launch chassis-state-manager with a chassis id, and chassis id is added into service bus name for identification.
Because there are many places hardcode with bus name "xyz.openbmc_project.State.Chassis", if chassis id is 0, chassis-state-manager will request both "xyz.openbmc_project.State.Chassis" and "xyz.openbmc_project.State.Chassis0" bus name to meet backwards compatibility.
Tested on Bletchley: root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis0 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis1 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis1 ......
patch dependencies: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-state-manager/+/51465
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I2ce3e9ab2c95a2688143f4e3775da164a5c33c19
|
H A D | meson.build | diff 70f36d8efab3e57f941f1e4eddbffdda84879f0f Mon Mar 14 21:25:39 CDT 2022 Potin Lai <potin.lai@quantatw.com> chassis-state-manager: Add multi-chassis support
Add multi-chassis management support, each chassis bus separates by giving a unique chassis id.
Current code only support single chassis, and alway assume bus name is "xyz.openbmc_project.State.Chassis".
This patch allow user to launch chassis-state-manager with a chassis id, and chassis id is added into service bus name for identification.
Because there are many places hardcode with bus name "xyz.openbmc_project.State.Chassis", if chassis id is 0, chassis-state-manager will request both "xyz.openbmc_project.State.Chassis" and "xyz.openbmc_project.State.Chassis0" bus name to meet backwards compatibility.
Tested on Bletchley: root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis0 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis1 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis1 ......
patch dependencies: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-state-manager/+/51465
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I2ce3e9ab2c95a2688143f4e3775da164a5c33c19
|
/openbmc/phosphor-state-manager/ |
H A D | host_check.hpp | diff 70f36d8efab3e57f941f1e4eddbffdda84879f0f Mon Mar 14 21:25:39 CDT 2022 Potin Lai <potin.lai@quantatw.com> chassis-state-manager: Add multi-chassis support
Add multi-chassis management support, each chassis bus separates by giving a unique chassis id.
Current code only support single chassis, and alway assume bus name is "xyz.openbmc_project.State.Chassis".
This patch allow user to launch chassis-state-manager with a chassis id, and chassis id is added into service bus name for identification.
Because there are many places hardcode with bus name "xyz.openbmc_project.State.Chassis", if chassis id is 0, chassis-state-manager will request both "xyz.openbmc_project.State.Chassis" and "xyz.openbmc_project.State.Chassis0" bus name to meet backwards compatibility.
Tested on Bletchley: root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis0 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis1 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis1 ......
patch dependencies: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-state-manager/+/51465
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I2ce3e9ab2c95a2688143f4e3775da164a5c33c19
|
H A D | host_check.cpp | diff 70f36d8efab3e57f941f1e4eddbffdda84879f0f Mon Mar 14 21:25:39 CDT 2022 Potin Lai <potin.lai@quantatw.com> chassis-state-manager: Add multi-chassis support
Add multi-chassis management support, each chassis bus separates by giving a unique chassis id.
Current code only support single chassis, and alway assume bus name is "xyz.openbmc_project.State.Chassis".
This patch allow user to launch chassis-state-manager with a chassis id, and chassis id is added into service bus name for identification.
Because there are many places hardcode with bus name "xyz.openbmc_project.State.Chassis", if chassis id is 0, chassis-state-manager will request both "xyz.openbmc_project.State.Chassis" and "xyz.openbmc_project.State.Chassis0" bus name to meet backwards compatibility.
Tested on Bletchley: root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis0 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis1 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis1 ......
patch dependencies: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-state-manager/+/51465
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I2ce3e9ab2c95a2688143f4e3775da164a5c33c19
|
H A D | chassis_state_manager_main.cpp | diff 70f36d8efab3e57f941f1e4eddbffdda84879f0f Mon Mar 14 21:25:39 CDT 2022 Potin Lai <potin.lai@quantatw.com> chassis-state-manager: Add multi-chassis support
Add multi-chassis management support, each chassis bus separates by giving a unique chassis id.
Current code only support single chassis, and alway assume bus name is "xyz.openbmc_project.State.Chassis".
This patch allow user to launch chassis-state-manager with a chassis id, and chassis id is added into service bus name for identification.
Because there are many places hardcode with bus name "xyz.openbmc_project.State.Chassis", if chassis id is 0, chassis-state-manager will request both "xyz.openbmc_project.State.Chassis" and "xyz.openbmc_project.State.Chassis0" bus name to meet backwards compatibility.
Tested on Bletchley: root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis0 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis1 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis1 ......
patch dependencies: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-state-manager/+/51465
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I2ce3e9ab2c95a2688143f4e3775da164a5c33c19
|
H A D | chassis_state_manager.hpp | diff 70f36d8efab3e57f941f1e4eddbffdda84879f0f Mon Mar 14 21:25:39 CDT 2022 Potin Lai <potin.lai@quantatw.com> chassis-state-manager: Add multi-chassis support
Add multi-chassis management support, each chassis bus separates by giving a unique chassis id.
Current code only support single chassis, and alway assume bus name is "xyz.openbmc_project.State.Chassis".
This patch allow user to launch chassis-state-manager with a chassis id, and chassis id is added into service bus name for identification.
Because there are many places hardcode with bus name "xyz.openbmc_project.State.Chassis", if chassis id is 0, chassis-state-manager will request both "xyz.openbmc_project.State.Chassis" and "xyz.openbmc_project.State.Chassis0" bus name to meet backwards compatibility.
Tested on Bletchley: root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis0 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis1 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis1 ......
patch dependencies: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-state-manager/+/51465
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I2ce3e9ab2c95a2688143f4e3775da164a5c33c19
|
H A D | meson.build | diff 70f36d8efab3e57f941f1e4eddbffdda84879f0f Mon Mar 14 21:25:39 CDT 2022 Potin Lai <potin.lai@quantatw.com> chassis-state-manager: Add multi-chassis support
Add multi-chassis management support, each chassis bus separates by giving a unique chassis id.
Current code only support single chassis, and alway assume bus name is "xyz.openbmc_project.State.Chassis".
This patch allow user to launch chassis-state-manager with a chassis id, and chassis id is added into service bus name for identification.
Because there are many places hardcode with bus name "xyz.openbmc_project.State.Chassis", if chassis id is 0, chassis-state-manager will request both "xyz.openbmc_project.State.Chassis" and "xyz.openbmc_project.State.Chassis0" bus name to meet backwards compatibility.
Tested on Bletchley: root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis0 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis1 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis1 ......
patch dependencies: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-state-manager/+/51465
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I2ce3e9ab2c95a2688143f4e3775da164a5c33c19
|
H A D | chassis_state_manager.cpp | diff 70f36d8efab3e57f941f1e4eddbffdda84879f0f Mon Mar 14 21:25:39 CDT 2022 Potin Lai <potin.lai@quantatw.com> chassis-state-manager: Add multi-chassis support
Add multi-chassis management support, each chassis bus separates by giving a unique chassis id.
Current code only support single chassis, and alway assume bus name is "xyz.openbmc_project.State.Chassis".
This patch allow user to launch chassis-state-manager with a chassis id, and chassis id is added into service bus name for identification.
Because there are many places hardcode with bus name "xyz.openbmc_project.State.Chassis", if chassis id is 0, chassis-state-manager will request both "xyz.openbmc_project.State.Chassis" and "xyz.openbmc_project.State.Chassis0" bus name to meet backwards compatibility.
Tested on Bletchley: root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis0 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis1 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis1 ......
patch dependencies: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-state-manager/+/51465
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I2ce3e9ab2c95a2688143f4e3775da164a5c33c19
|
H A D | host_state_manager.cpp | diff 70f36d8efab3e57f941f1e4eddbffdda84879f0f Mon Mar 14 21:25:39 CDT 2022 Potin Lai <potin.lai@quantatw.com> chassis-state-manager: Add multi-chassis support
Add multi-chassis management support, each chassis bus separates by giving a unique chassis id.
Current code only support single chassis, and alway assume bus name is "xyz.openbmc_project.State.Chassis".
This patch allow user to launch chassis-state-manager with a chassis id, and chassis id is added into service bus name for identification.
Because there are many places hardcode with bus name "xyz.openbmc_project.State.Chassis", if chassis id is 0, chassis-state-manager will request both "xyz.openbmc_project.State.Chassis" and "xyz.openbmc_project.State.Chassis0" bus name to meet backwards compatibility.
Tested on Bletchley: root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis0 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis0 root@bletchley:~# busctl tree xyz.openbmc_project.State.Chassis1 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/state `-/xyz/openbmc_project/state/chassis1 ......
patch dependencies: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-state-manager/+/51465
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I2ce3e9ab2c95a2688143f4e3775da164a5c33c19
|