site_node::verify_folder_name (public)
site_node::verify_folder_name -parent_node_id parent_node_id \ [ -current_node_id current_node_id ] \ [ -instance_name instance_name ] [ -folder folder ]
Defined in packages/acs-tcl/tcl/site-nodes-procs.tcl
Verifies that the given folder name is valid for a folder under the given parent_node_id. If current_node_id is supplied, it's assumed that we're renaming an existing node, not creating a new one. If folder name is not supplied, we'll generate one from the instance name, which must then be supplied.
- Switches:
- -parent_node_id (required)
- -current_node_id (optional)
- -instance_name (optional)
- -folder (optional)
- Returns:
- folder name, or empty string if the supplied folder name wasn't acceptable.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- site_node_verify_folder_name