[Index]

Model: data/BrownField

Brownfield

The Brownfield model can be used in two ways:

On execution of the Brownfield instance, the data is searched for on the hierarchy where the Brownfield object was created. The Brownfield instance will therefore only search locally for objects to move down or up in the hierarchy.

In the simple instance, the Brownfield model instance is created to move search results to a target hierarchy.

A typical example of the advanced use of the Brownfield model would be a customer administrator who needs to move imported Unified CUCM data such as Device Pools, and Calling Search Spaces to a number of sites that belong to the customer.

In this case, the customer administrator would use a Data "driver" data model to store details of the target sites.

Special Brown Field data model with execute method. The execute method will perform a Resource search and move the resources found to the target Hierarchy Node.

Model Details: data/BrownField

Title Description Details
Name * The name of the brown field data model.
  • Field Name: name
  • Type: String
Target Hierarchy Node * Target hierarchy node where the resources will be moved to.
  • Field Name: target_hierarchy
  • Type: String
  • Choices: []
Quick Move Perform a quick move. When Quick Move is enabled the move will be batched into one database update statement. Default: false
  • Field Name: quick_move
  • Type: Boolean
  • Default: false
Saved Search Elements A description of the brown field elements to search for and move.
  • Field Name: saved_search_elements.[n]
  • Type: Array
Element description A description of the brown field elements to search for and move.
  • Field Name: saved_search_elements.[n].description
  • Type: String
Saved Search * The saved search to use.
  • Field Name: saved_search_elements.[n].saved_search
  • Type: String
  • Target: data/SavedSearch
  • Target attr: name
  • Format: uri
Generic Search Elements The brown field elements to search for and move.
  • Field Name: generic_search_elements.[n]
  • Type: Array
Model type The model type to search on.
  • Field Name: generic_search_elements.[n].model_type
  • Type: String
  • Choices: [" "]
Advanced options The advanced search options to use.
  • Field Name: adv_options.[n]
  • Type: Array
Model field The model field to search on.
  • Field Name: generic_search_elements.[n].adv_options.[n].model_field
  • Type: String
  • Choices: [" "]
Condition The condition to use in this search.
  • Field Name: generic_search_elements.[n].adv_options.[n].condition
  • Type: String
  • Choices: ["Contains", "Starts with", "Ends with", "Is exactly"]
Filter text The filter text or macro to use in search.
  • Field Name: generic_search_elements.[n].adv_options.[n].filter_text
  • Type: String
Direct Query Language [IN clause]
  • Field Name: direct_query_language.[n]
  • Type: Array
Model type
  • Field Name: direct_query_language.[n].model_type
  • Type: String
Input macro or dictionary * This input must be in the format of a dictionary where the element names are those of the fieldnames and the values are an array of acceptable values.
  • Field Name: direct_query_language.[n].input_values
  • Type: String
Filter options Search keyword search
  • Field Name: filter_options.[n]
  • Type: Array
Model field
  • Field Name: direct_query_language.[n].filter_options.[n].model_field
  • Type: String
Network Device Filter
  • Field Name: network_device_filter
  • Type: Object
Device type The type of the device, for example CallManager, CUC
  • Field Name: network_device_filter.device_type
  • Type: String
  • Choices: ["CTX", "CUCM", "CUC", "LDAP", "Lync", "ServiceNow", "TMS", "IOS Device", "WebEx", "CUCCE", "CUCCX", "HCMF"]
Device Instance Network Device instance for search limitations
  • Field Name: network_device_filter.device_instance
  • Type: String
  • Choices: [" "]