Installing the package
Once you have virtual environment installed, clone this repository and move into the root
directory of the project.
Now, crate a virtual environment.
virtualenv --always-copy -p python3 venv
activate virtual environment -
Linux/MacOS
Windows
venv\Scripts\activate.bat
Once the virtual environment is active, run the following command -
Once the installation is finished, check out all the available options with -
This should give an output like below -
(venv) C:\Users\user.name\folder\dnac-pnp>dnac_pnp --help
Usage: dnac_pnp [OPTIONS] COMMAND [ARGS]...
Mission control module
Options:
--debug Turns on DEBUG mode. [default: False]
--version Show the version and exit.
--help Show this message and exit.
Commands:
acclaim-devices Add and claim single or multiple devices.
add-sites Add one or more sites.
delete-devices Delete single or multiple devices.
pkg-info Shows package information.
show Shows DNA center component information.
To see the individual options for any of the commands use --help
flag after the command.
(venv) C:\Users\user.name\folder\dnac-pnp>dnac_pnp acclaim-in-bulk --help
To use this package without any errors/bugs please always activate the virtual environment first
To deactivate virtual environment use -