UCSPoolCleanup - bulkDeallocateMacAddresses
UCSPoolCleanup - bulkDeallocateMacAddresses
Description :
This command deallocates all the MAC address specified in the input file.The input file must be in CSV format.
The first line of the CSV file is a header, and must be set to MAC. Each following line contains a MAC address. Example:
MAC
10-00-00-10-00-00
10-00-00-10-00-01
10-10-10-20-02-20
Use the charset argument to specify the encoding used in the CSV file. You can set charset to any of the following encodings. In the list below, the charset value is the value within parentheses. For example, some valid charset values are US-ASCII and UTF-8.
- English (US-ASCII)
- Arabic (ISO-8859-6)
- Arabic (windows-1256)
- Baltic (ISO-8859-13)
- Baltic (ISO-8859-4)
- Baltic (windows-1257)
- Central European (ISO-8859-2)
- Chinese Simplified (x-EUC-CN)
- Chinese Simplified (GB18030)
- Chinese Simplified (GBK)
- Chinese Simplified (x-mswin-936)
- Chinese Traditional (Big5)
- Chinese Traditional (Big5-HKSCS)
- Chinese Traditional (x-EUC-TW)
- Chinese Traditional (MS950-HKSCS)
- Chinese Traditional (x-windows-950)
- Cyrillic (ISO-8859-5)
- Cyrillic (windows-1251)
- Eastern European (windows-1250)
- Greek (ISO-8859-7)
- Greek (windows-1253)
- Hebrew (ISO-8859-8)
- Hebrew (windows-1255)
- Japanese (EUC-JP)
- Japanese (ISO-2022-JP)
- Japanese (Shift_JIS)
- Japanese (windows-31j)
- Korean (EUC-KR)
- Korean (ISO-2022-KR)
- Korean (x-windows-949)
- Russian (KOI8-R)
- South European (ISO-8859-3)
- Thai (TIS-620)
- Turkish (ISO-8859-9)
- Turkish (windows-1254)
- Vietnamese (windows-1258)
- Western (windows-1252)
- Western (ISO-8859-1)
- Western (ISO-8859-15)
- Unicode (UTF-8)
- Unicode (UTF-16)
- Unicode (UTF-16BE)
Unicode (UTF-16LE)
Returns true if the MAC addresses in the file were successfully deallocated, false otherwise.Return type : Boolean
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
localFileDir | String | Directory containing the CSV bulk cleanup file. |
localFileName | String | Name of the CSV bulk cleanup file. |
charset | String | The character set used in the CSV file. Can be UTF-8 or another supported character set. For a full list of available character sets, see the list above. |
Example
The following example deallocates the MAC addresses listed in the file bulkCleanup.csv.
Script
blcli UCSPoolCleanup bulkDeallocateMacAddresses /home/foo_user bulkCleanup.csv UTF-8