summaryrefslogtreecommitdiff
path: root/examples/chhostname.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2024-05-27 17:01:59 +0200
committerHelmut Grohne <helmut@subdivi.de>2024-05-27 17:01:59 +0200
commit9b4ff5641a583ca4fa305165e460213d8201b2d9 (patch)
treef51468f184ef95230ae30f0124e094fec44c1a2a /examples/chhostname.py
parent0256e324c7befaf5e3ec43fb5ac7af6aca220225 (diff)
downloadpython-linuxnamespaces-9b4ff5641a583ca4fa305165e460213d8201b2d9.tar.gz
add IDAllocation.reserve method
Allow reserving a particular range instead of allocating a suitable large range of an IDAllocation. This is useful when a directory hierarchy defines the allocation and we merely want to verify it to be assigned.
Diffstat (limited to 'examples/chhostname.py')
0 files changed, 0 insertions, 0 deletions