Skip to main content

Network Devices - Enable External Sync

Summary

This script ensures that the External Sync EDF is checked on the network devices to sync them to manage.

Note: Asset templates need to be properly configured for network devices in the Manage Plugin.

Note: Do not proceed with implementing this script if the consultant does not provide the type of network devices the partner would like to sync. Reach out to the consultant for this information.

User Parameters

NameExampleRequiredDescription
Set_Environment1Need to set to 1 for first-time implementationRunning the script with the user parameter Set_Environment as 1 will import system properties and EDFs needed for the script.

System Properties

NameExampleRequiredDescription
External_Sync_DeviceType'Network SwitchNetwork DevicePrinter

Extra Data Fields

EDF NameLevelTypeDescription
Exclude from Automatic Network Device SyncClientCheckBoxCheck it if you would like to disable a client from the network device's external sync
Exclude from Automatic Network Device SyncLocationCheckBoxCheck it if you would like to disable a location from the network device's external sync
Exclude from Automatic Network Device SyncDeviceCheckBoxCheck it if you would like to disable a device from external sync
Automate enabled External SyncDeviceCheckBoxThe script uses this EDF to store information about devices whose external sync is enabled by the script.

Client-level EDF
Client-level EDF

Location-level EDF
Location-level EDF

Device-level EDF
Device-level EDF

Implementation

  1. Import the script using the ProSync plugin:

  2. Configure the solution as follows:

    • Navigate to Automation → Scripts within the CWA Control Center.
    • Navigate to System Dashboard → Config → Properties
      • Fill in the External_Sync_DeviceType system property as per partner's requirements.
      • Do not proceed with implementing this script if the consultant does not provide the type of network devices the partner wants to sync. Reach out to the consultant for this information.
      • If the partner wants to sync all devices, put "ALL" in the External_Sync_DeviceType system property as shown below:
        Sync all devices
      • If the partner wants to sync particular types of network devices like Router, Network Devices, Printer, fill in the system property as shown below. Separate each type with a pipe (|):
        Particular types
      • If the partner wants to unsync the device that the script synced earlier, put "Disable" in the system property as shown below:
        Unsync device
    • Navigate to System Dashboard → Management → Scheduled Client Scripts
    • If the partner wants to exclude any particular device, location, or client from external sync, select the Exclude from Automatic Network Device Sync EDF respectively on that device, location, or client.
  3. Requirements from Consultants:

    • Ask the partner the type of network devices they would like to sync.
    • Without this information, do not proceed with this script implementation.

Output

  • Script log