Changes between Version 13 and Version 14 of Software/eAM/aInventory
- Timestamp:
- Sep 11, 2014, 5:50:08 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Software/eAM/aInventory
v13 v14 1 [[TOC(Software/eAM/*, depth= 3)]]1 [[TOC(Software/eAM/*, depth=2)]] 2 2 3 3 4 4 == Inventory Aggregate Manager == 5 5 6 6 7 Inventory AM consist of a database with a [http://mytestbed.net/projects/omf/wiki/NewInventoryDesign database schema] that can hold information for arbitrary type of resource and a set of services that are used to manage it 7 8 === Resources and Relationships === 8 ---- 9 10 ''' Resources and Relationships ''' 9 11 10 12 Resources are physical entities in a testbed that are assumed to be named with fully qualified domain name (fqdn) (for resources that can have one) or with arbitrary string (for resources that are not IP addressable)and can have any number of attributes. Resource can be in relation with any other resource with, so far, 2 types of relationships: … … 18 20 To facilitate better classification, inventory services are using string based '''resource type'''. So far, defined resources types are: testbed, node and device (these types are only used by other services). 19 21 20 === Attributes === 22 ''' Attributes ''' 21 23 22 24 Attributes are name-value pairs of strings. Attribute names are prefixed to support globbing. … … 28 30 * INV_ - Attributes gathered by the inventory process 29 31 30 31 32 === Inventory Service Group === 32 ---- 33 34 ''' Inventory Service Group ''' 33 35 34 36 {{{ … … 53 55 }}} 54 56 55 ==== resource_add - Add Resource ==== 57 ''' resource_add - Add Resource ''' 56 58 57 59 {{{ … … 72 74 }}} 73 75 74 ==== resource_delete - Delete Resource ==== 76 ''' resource_delete - Delete Resource ''' 75 77 This method deletes all resource attributes, but does not delete children resources. 76 78 {{{ … … 85 87 }}} 86 88 87 ==== resource_list - List Resources ==== 89 ''' resource_list - List Resources ''' 88 90 89 91 {{{ … … 101 103 }}} 102 104 103 ==== relation_add - Add Relationship Between Resources ==== 105 ''' relation_add - Add Relationship Between Resources ''' 104 106 105 107 {{{ … … 117 119 }}} 118 120 119 ==== attribute_add - Add an attribute ==== 121 ''' attribute_add - Add an attribute ''' 120 122 121 123 {{{ … … 136 138 }}} 137 139 138 ==== attribute_delete - Delete an attribute ==== 140 ''' attribute_delete - Delete an attribute ''' 139 141 140 142 {{{ … … 152 154 }}} 153 155 154 ==== attribute_modify - Modify an attribute value ==== 156 ''' attribute_modify - Modify an attribute value ''' 155 157 156 158 {{{ … … 171 173 }}} 172 174 173 ==== attribute_list - List attributes ==== 175 ''' attribute_list - List attributes ''' 174 176 175 177 {{{ … … 190 192 }}} 191 193 192 ==== attribute_listChildren - List attributes of children ==== 194 ''' attribute_listChildren - List attributes of children ''' 193 195 194 196 {{{ … … 209 211 }}} 210 212 211 === Usage Examples === 213 ---- 214 215 ''' Usage Examples ''' 212 216 213 217 Create testbed, add node to it and add basic attributes … … 249 253 }}} 250 254 251 255 ---- 256 257 ''' Installation and Configuration '''[[BR]] 258 259 The Frisbee AM (tools and services) is packaged in the omf-aggmgr-frisbee-5.4 package. It can be installed form the package repository with 260 261 {{{ 262 apt-get install omf-aggmgr-inventory-5.4 263 }}} 264 265 Instructions on how to add the Orbit software repository to your list of apt-sources can be found here. 266 267 Once installed the service is configured by TODO. 252 268