Device resource management

Updated at:

The device resource management module includes four parts: device resources, device properties, device models, and image management. You can use device model management to define a variety of devices in a flexible and scalable way.

Procedure

  1. Log on to the Cloud Managed Network console.

  2. 2. Add a device resource

  • In the navigation pane on the left, click Resource Management > Device Resource Management > Device Resources.

  • At the top of the page, select a device model. The platform provides three default models: network devices, servers, and IoT. On the Device Model Management page, you can add properties to existing models or create new ones.

  • Click the Add button above the list. Enter basic device information, such as physical space, IP address, hostname, and serial number (SN). Alternatively, you can configure SNMP auto-discovery to complete the device information.

3. Add a device property

  • In the navigation pane on the left, click Resource Management > Device Resource Management > Device Properties.

  • The platform provides default properties, such as Vendor/Model and Status, for the three built-in device models: network devices, servers, and IoT. Properties with a 'Built-in' status cannot be deleted, but their content can be edited.

  • If a device model requires a new property with an enumerable range, you can add a new device property and then associate it with the device model. Click the Add button above the list and enter the required information in the dialog box that appears.

    • Device Form: Select the form of the device to associate.

    • Identifier: The unique identifier for the property. This is used to select the property when you associate it with a device model.

    • Device property name: Description in Chinese.

    • Format: The format of the property content. Options include Separator or JSON.

    • Content: The content format depends on the selected Format. If you select Separator, use commas to separate the values, for example, `online,offline`. If you select JSON, use it to describe enumerated values with dependencies. For example, if the enumerated values for a model depend on the vendor, the content can be `{"Vendor":["Model1","Model2"]}`.

4. Manage device models

  • In the navigation pane on the left, click Resource Management > Device Resource Management > Device Model Management.

  • Add a device model: Click the Add button above the list and enter the required information in the dialog box that appears. Click Confirm to save the new device model.

    • Name: The name of the device model. This cannot be modified after creation.

    • Primary Key Property: The primary key for the device model, which can be the SN or MAC address.

    • Display Configuration Backups: Specifies whether to display configuration backup information for the device, such as historical configurations and configuration comparisons.

    • Requires Account Configuration: Specifies whether the device requires account credentials for automation, inspection, and monitoring logon.

  • View device model properties: Select a device model and click Details to view a list of its properties.

  • Add a device model property: Click Add in the upper-left corner of the device model properties list. Enter the required information in the dialog box that appears. Click Confirm to save the new device model property.

    • Primary Key: The unique identifier for the property. It must start with an uppercase letter and cannot be modified after creation.

    • Display Text: The descriptive name for the property. This name is displayed for the device.

    • Required: Specifies whether this property is required when you enter device information.

    • Unique: Specifies whether to check for uniqueness when you enter this property's value.

    • Value Format: The data type of the device property. Options include String, Date, Number, and Integer.

    • Value type: For a string device property, the value types are custom, enumeration, and API.

    • Value Association: If the Value Type is Enumeration, associate this property with a separator-type Device Property under the same device model. If the Value Type is API, enter the corresponding URI. For example, for a vendor property with the URI `/openapi/resource/ListDeviceValues?AttributeKeyword=device_model`, the system automatically retrieves the vendor enumeration from the device properties.

    • Visible in Table: Specifies whether to display this property in the device resources table.

    • Placeholder: The placeholder text displayed on the frontend when you configure this property.

    • Search Control: Specifies whether to use this property as a search condition in the device resources interface.

    • Fuzzy Search: Specifies whether to support fuzzy search for this property when you query the device list.