Creating the inventory model files

Inventory model files are needed for both SNMP and File-based Technology Packs.

About this task

The following two types of model files are needed:
  • The property model files

    List of properties and its data type for each resource type. These files are placed in /<my_pack>/inventory/model/Property folder.

  • The relationship model files

    List of model files that specify the relationship between resource types. These files are placed in /<my_pack>/inventory/model/Relationship folder.

Procedure

  1. Follow these steps to create the property model (.model) files:
    type cbqosMatch extends snmpPollable{
    	property index String{
    		required = true	
    	}
    property vendor String
    property matchStmtName Stirng
    property classPolicyName String
    property className String
    property classActionType String
    property classDirection Integer
    property classMatchInterface String
    property displayName String
    property shortDisplayName String
    }
  2. Follow these steps to create the relationship model (.model) files:
    relationship contain device ->> cbqosMatch