HomeFreeBSD

Implement the dynamic add (-A) and removal (-R) of ippool pools

Description

Implement the dynamic add (-A) and removal (-R) of ippool pools
from the command line. Prior to this the functionality was mostly there
however since the pool type (-t) was not recognized by the -A and -R
command options -- not recognized by getopt(). Additionally the code to
implement the dynamic add and removal of pools didn't work.

When dynamically adding (-A) a pool a type (-t) to specify if the pool
is a tree or hash pool must be specified. When dynamically removing (-R)
a pool, omitting -t will cause a search-and-destroy which will remove
both types of pools matching the name given (-m).

PR: 218433
MFC after: 1 week

Details

Provenance
cyAuthored on
Parents
rS352785: The no resolve (OPT_NORESOLVE) does nothing. Additionally, it (-R)
Branches
Unknown
Tags
Unknown