* [pve-devel] [PATCH v2 pve-access-control] resource pools: add resource pool cli commands
@ 2021-01-29 7:54 Dylan Whyte
2021-01-29 7:54 ` [pve-devel] [PATCH v2 pve-docs] resource-pools: add section in docs Dylan Whyte
2021-04-22 19:53 ` [pve-devel] applied: [PATCH v2 pve-access-control] resource pools: add resource pool cli commands Thomas Lamprecht
0 siblings, 2 replies; 4+ messages in thread
From: Dylan Whyte @ 2021-01-29 7:54 UTC (permalink / raw)
To: pve-devel
Add commands for creating, modifying, listing, and deleting resource
pools.
Signed-off-by: Dylan Whyte <d.whyte@proxmox.com>
---
v1->v2: remove command aliases
PVE/CLI/pveum.pm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/PVE/CLI/pveum.pm b/PVE/CLI/pveum.pm
index c98ddde..cbbdb7d 100755
--- a/PVE/CLI/pveum.pm
+++ b/PVE/CLI/pveum.pm
@@ -10,6 +10,7 @@ use PVE::API2::Group;
use PVE::API2::Role;
use PVE::API2::ACL;
use PVE::API2::AccessControl;
+use PVE::API2::Pool;
use PVE::API2::Domains;
use PVE::CLIFormatter;
use PVE::CLIHandler;
@@ -145,7 +146,12 @@ our $cmddef = {
delete => [ 'PVE::API2::ACL', 'update_acl', ['path'], { delete => 1 }],
list => [ 'PVE::API2::ACL', 'read_acl', [], {}, $print_api_result, $PVE::RESTHandler::standard_output_options],
},
-
+ pool => {
+ add => [ 'PVE::API2::Pool', 'create_pool', ['poolid'] ],
+ modify => [ 'PVE::API2::Pool', 'update_pool', ['poolid'] ],
+ delete => [ 'PVE::API2::Pool', 'delete_pool', ['poolid'] ],
+ list => [ 'PVE::API2::Pool', 'index', [], {}, $print_api_result, $PVE::RESTHandler::standard_output_options],
+ },
realm => {
add => [ 'PVE::API2::Domains', 'create', ['realm'] ],
modify => [ 'PVE::API2::Domains', 'update', ['realm'] ],
--
2.20.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [pve-devel] [PATCH v2 pve-docs] resource-pools: add section in docs
2021-01-29 7:54 [pve-devel] [PATCH v2 pve-access-control] resource pools: add resource pool cli commands Dylan Whyte
@ 2021-01-29 7:54 ` Dylan Whyte
2021-04-24 17:52 ` [pve-devel] applied: " Thomas Lamprecht
2021-04-22 19:53 ` [pve-devel] applied: [PATCH v2 pve-access-control] resource pools: add resource pool cli commands Thomas Lamprecht
1 sibling, 1 reply; 4+ messages in thread
From: Dylan Whyte @ 2021-01-29 7:54 UTC (permalink / raw)
To: pve-devel
Adds a second-level heading for resource pools and adds creation of pool
to example.
Signed-off-by: Dylan Whyte <d.whyte@proxmox.com>
---
v1->v2: no change
.../screenshot/gui-datacenter-pool-window.png | Bin 0 -> 8591 bytes
pveum.adoc | 40 ++++++++++++------
2 files changed, 26 insertions(+), 14 deletions(-)
create mode 100644 images/screenshot/gui-datacenter-pool-window.png
diff --git a/images/screenshot/gui-datacenter-pool-window.png b/images/screenshot/gui-datacenter-pool-window.png
new file mode 100644
index 0000000000000000000000000000000000000000..60fdaacb4947cb08d6dad8ca7a1abe873c2a2e44
GIT binary patch
literal 8591
zcmbVy1z1#3yY&Dfpp*qTv?z@<(nxogfOK~bT}mpY(v2V;1JYdr(!w~@&>hm<cl-VK
zx%d9x{r>0q?|opHGy9yq_dENncdfPG!v_^5X}o*Tdk_c&PgX`k4FW-92FJ<RcfsFy
zJS;5mcE?gwQ4|8Hh`E1dj0rwdnaZdsLLlC>5J+G!1abkI0@ooB7#jq#X#|1rCqW>@
zPH7FQg5bnm6M1O~$nD>stmgb!(1PP6qvHyJ5EcA=p_!|8?SV!tH(5nVtQ9meTv{%v
z_l}34iO|$o$sG(J2?8jGK+vPW>;6{IYfBJ-kgSBLhUe7wjF0DI<aN*f=^xtE7pDR^
zgx_88=sotr9*Vw`!+acX71yuKj6Mq~9HV3jf3JyFT1_8bqe1;3s9@R=U09`D?fJXD
z^iN{gpSEZxgB8Eax)1NhaNTEr{yf}{s0F^Z;5Csvnd~|=<m<9J@FzMUHZ}(mDMjPm
zOhFxNCHKc&z}(y%v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&X1N0>*&eq(KO`vLXlwgg-nherpT{+YCmKsCGlutAZTFm
z-WbKp`NM12oMF|bitvn{H>ZyblYb)*d5_|m{7WoOc^N+Kjx$u}IbulR<^oP;04410
zyS0xo$gjB6V5d9mbE22DaK<!@w2#qe7#NeAy*LqsRPtEv1z_m06*}_bV`lEYQrBIW
zchX`o7N#ii`i?>1>#}H>P_@6jX8z*|Oy4)UhFVISIHy;hGjV?j!NMw_JXLPIX)Av2
z^^`hT?_WF@aF)E=9C~fhG(Cpx9@dcszcgvBT8P&##1loA=V}9NSe}4d2`m;r#&{fB
z?Wpx1bOvY&Dnp^F`O0fxe0cm5&(Y~=;$QB@swa@gUeNmcki$V7E6e(ziHlkSp_#7A
zAJ+LUF)^{YpC*_Pc5raevEY<d`Gy(P<RhhWj;ewQ6+h-#gZe%0T?|khC&+yaeEFR_
zcZ}Fb-s%fe2N$$2IH{<p1gd?!#mYW`-t^!GyaoSc@WM^<jhmUVn>oL!i#d3MaIkT(
zv#_zVaPVrdv-5NE@^f=Av9a^Bv2_z|4g6mn>>bUlExi8U9cty(oj`}De`nBivvzZZ
ns91ZN+qtTkyNH`RxLMnqyP3Oej38^kMG#p@C5bXIqxb&?USGCX
literal 0
HcmV?d00001
diff --git a/pveum.adoc b/pveum.adoc
index b5eea29..6de3597 100644
--- a/pveum.adoc
+++ b/pveum.adoc
@@ -100,6 +100,20 @@ To use an API token, set the HTTP header 'Authorization' to the displayed value
of the form `PVEAPIToken=USER@REALM!TOKENID=UUID` when making API requests, or
refer to your API client documentation.
+[[pveum_resource_pools]]
+Resource Pools
+--------------
+
+[thumbnail="screenshot/gui-datacenter-pool-window.png"]
+
+A resource pool is a set of virtual machines, containers, and storage
+devices. It is useful for permission handling in cases where certain users
+should have controlled access to a specific set of resources, as it allows for a
+single permission to be applied to a set of elements, rather than having to
+manage this on a per resource basis. Resource pools are often used in tandem
+with groups so that the members of a group have permissions on a set of machines
+and storage.
+
[[pveum_authentication_realms]]
Authentication Realms
---------------------
@@ -707,20 +721,13 @@ Verify the permissions of the user and token:
pveum user permissions joe@pve
pveum user token permissions joe@pve monitoring
-Pools
-~~~~~
-
-An enterprise is usually structured into several smaller departments,
-and it is common that you want to assign resources to them and
-delegate management tasks. A pool is simply a set of virtual machines
-and data stores. You can create pools on the GUI. After that you can
-add resources to the pool (VMs, Storage).
-
-You can also assign permissions to the pool. Those permissions are
-inherited to all pool members.
+Resource Pools
+~~~~~~~~~~~~~~
-Lets assume you have a software development department, so we first
-create a group
+An enterprise is usually structured into several smaller departments, and it is
+common that you want to assign resources and delegate management tasks to each
+of these. Let's assume that you want to set up a pool for a software development
+department. First, create a group
[source,bash]
pveum groupadd developers -comment "Our software developers"
@@ -732,7 +739,12 @@ Now we create a new user which is a member of that group
NOTE: The -password parameter will prompt you for a password
-I assume we already created a pool called ``dev-pool'' on the GUI. So we can now assign permission to that pool:
+Then we create a resource pool for our development department to use
+
+[source,bash]
+ pveum pooladd dev-pool --comment "IT development pool"
+
+Finally, we can assign permissions to that pool
[source,bash]
pveum aclmod /pool/dev-pool/ -group developers -role PVEAdmin
--
2.20.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [pve-devel] applied: [PATCH v2 pve-access-control] resource pools: add resource pool cli commands
2021-01-29 7:54 [pve-devel] [PATCH v2 pve-access-control] resource pools: add resource pool cli commands Dylan Whyte
2021-01-29 7:54 ` [pve-devel] [PATCH v2 pve-docs] resource-pools: add section in docs Dylan Whyte
@ 2021-04-22 19:53 ` Thomas Lamprecht
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Lamprecht @ 2021-04-22 19:53 UTC (permalink / raw)
To: Proxmox VE development discussion, Dylan Whyte
On 29.01.21 08:54, Dylan Whyte wrote:
> Add commands for creating, modifying, listing, and deleting resource
> pools.
>
> Signed-off-by: Dylan Whyte <d.whyte@proxmox.com>
> ---
> v1->v2: remove command aliases
>
> PVE/CLI/pveum.pm | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
* [pve-devel] applied: [PATCH v2 pve-docs] resource-pools: add section in docs
2021-01-29 7:54 ` [pve-devel] [PATCH v2 pve-docs] resource-pools: add section in docs Dylan Whyte
@ 2021-04-24 17:52 ` Thomas Lamprecht
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Lamprecht @ 2021-04-24 17:52 UTC (permalink / raw)
To: Proxmox VE development discussion, Dylan Whyte
On 29.01.21 08:54, Dylan Whyte wrote:
> Adds a second-level heading for resource pools and adds creation of pool
> to example.
>
> Signed-off-by: Dylan Whyte <d.whyte@proxmox.com>
> ---
> v1->v2: no change
>
> .../screenshot/gui-datacenter-pool-window.png | Bin 0 -> 8591 bytes
> pveum.adoc | 40 ++++++++++++------
> 2 files changed, 26 insertions(+), 14 deletions(-)
> create mode 100644 images/screenshot/gui-datacenter-pool-window.png
>
>
applied, thanks!
FYI: I adapted the CLI command examples to use the sub-command groups in a followup.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-04-24 17:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-29 7:54 [pve-devel] [PATCH v2 pve-access-control] resource pools: add resource pool cli commands Dylan Whyte
2021-01-29 7:54 ` [pve-devel] [PATCH v2 pve-docs] resource-pools: add section in docs Dylan Whyte
2021-04-24 17:52 ` [pve-devel] applied: " Thomas Lamprecht
2021-04-22 19:53 ` [pve-devel] applied: [PATCH v2 pve-access-control] resource pools: add resource pool cli commands Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox