Update all device objects

You can update all device objects in AppViz with the current information from AFA. This includes all network objects, service objects, and network applications for every device in AFA. You can do this manually or schedule updates to occur periodically.

Additionally, you can review the results of the last update. For details, see Edit device objects.

Note: Only device objects without a change status are affected by AppViz device object updates. Objects that are in change process, pending deletion, pending creation or rejected are not affected by an update.

Note: You can optionally update device objects from the CLI. For details, see Update all device objects from (CLI).

Update all device objects (GUI)

Do the following:

  1. In the toolbar, click your username.

    A drop-down list appears.

  2. In the drop-down list, select Administration.

    The Administration page appears in the workspace.

  3. Click the Objects Update tab.

    The Objects Update tab appears.

  4. To configure the behavior of the update, do the following:
    1. In the Update Device Objects area, click Manage.

      The Device Objects Update Settings page appears.

    2. Under Update settings, select one of the following options:
      • Do not update objects which were modified inside AppViz. Choose this option if you do not want the changes users have made to device objects in AppViz to be overwritten with the update.

        This is the default behavior.

      • Always update all objects. Choose this option if you want all device objects in AppViz to be updated to the current definition in AFA.
    3. Under Update Affected Applications settings, select one of the following options:
      • Update the affected applications automatically. Choose this option if you want all applications containing flow with device objects to be updated with the new device object values.

        This is the default behavior.

        This option will automatically create a change request in FireFlow to modify any traffic affected by the object update.

      • Do not update the affected applications automatically. Choose this option if you do not want to automatically update any applications containing device objects whose values have been updated.

        If you select this option, the revision of the object in use for the affected applications is designated as outdated. When this is the case, appears in the upper right corner of the object's page. Additionally, appears on the object's icon in any application flows or projects using the outdated revision. After running the import, AppViz provides the option to update outdated definitions for all an object's applications. For more details, see Business applications.

    4. Click Save Changes.

      A confirmation message appears at the top of the workspace.

      Note: Regardless of the configuration, objects that are in change process or rejected will not be updated.

  5. In the Update Device Objects area, do one of the following:
    • To manually update device objects, do the following:
      1. Click Update Now.

        The Update Device Objects dialog box appears.

      2. Click OK.

        The device objects are updated.

    • To schedule automatic updates, do the following:
      1. Click Edit.

        The Schedule Update of Device Objects dialog box appears.

      2. Complete the fields using the information in Scheduled update of device object fields.
      3. Click Save Changes.

        The automatic updates are scheduled.

Scheduled update of device object fields

In this field...

Do this...

Enable scheduler for updating server and service definitions from the devices

Check this check box to enable scheduling updates.

Period

In the drop-down menu, select either Daily or Weekly as the period for the updates.

Time

Using the two drop-down menus, specify the time of day on the 24 hour clock for the updates.

Back to top

Update all device objects from (CLI)

You can update all device objects in AppViz with the current information from AFA from the CLI. This includes network objects, service objects, and network applications for every device in AFA. You can update every object or specify to update only a specific type of object (for example, only service objects).

To update device objects from the CLI:

  1. Open a terminal.
  2. To update the list of AFA devices and every object from each device, enter the following command:

    BusinessFlow-CLI.sh -t import_afa_objects

  3. To update the list of AFA devices, enter the following command:

    BusinessFlow-CLI.sh -t import_afa_devices

    Note: If you run the network object, service object, or network application object update listed below without updating the list of devices, only the objects from devices included in AppViz's existing AFA device list will be imported. If a new device was added to AFA since the last device list update, the new device's objects will not be imported.

  4. To update network objects, enter the following command:

    BusinessFlow-CLI.sh -t import_afa_hosts

  5. To update service objects, enter the following command:

    BusinessFlow-CLI.sh -t import_afa_services

  6. To update network applications, enter the following command:

    BusinessFlow-CLI.sh -t import_afa_applications

Back to top