Retrieve provisioned and unprovisioned devices
Feature Server enables you to retrieve a list of all devices that are created in Feature Server by running the getColumnFamilyContent.py script. This script is located in the <FS installation path>\python\util folder.
See Python Scripts for information on how to deploy and run the getColumnFamilyContent.py script.
Sample command line
A sample command line to run the script:
java -jar <jython-version>.jar getColumnFamilyContent.py -H localhost -p 9160 -c dm_device -k vendor,model,dn_list -o devices.log -x devices.csv
Note that the script accepts -k and -x only from Feature Server release version 126.96.36.199. The contents of the .csv file must be in the following format:
- ID represents the mac address of the phones.
- Devices containing dn_list value are provisioned phones.
- Devices that do not contain dn_list value are unprovisioned phones.