Manage Infrastructure
Manage Infrastructure is the description
Actors
Extends Use Cases
Detail Scenarios
Scenario Add Device
Add Device is the description
Criteria
- Given - IT Operations uses data/source
- When - device/create is actioned with parameters: name - hostad1, file - ./templates/device.yaml
- Then - IT Operations uses data/source
Steps
- device create –name hostad1 –file ./templates/device.yaml
- cpl device/disable –name hostad1
- cpl device/enable –name hostad1
- cpl device/disable –name hostad1
Actors
Scenario Manage Aggregated Devices
Manage Aggregated Devices is the description
Criteria
- Given - IT operations uses data/source
- When - devices are created using template device.yaml
- Then - IT operations uses data/source
Steps
- device create –name hostmad1 –file ./templates/device.yaml
- device create –name hostmad2 –file ./templates/device.yaml
- device create –name hostmad3 –file ./templates/device.yaml
- aggregateddevice create –name admad1
- aggregateddevice adddevices –name ad1 –items hostmad1,hostmad2,hostmad3
Actors
Scenario Manage Data Center
Manage Data Center is the description
Criteria
- Given - IT Operations uses a method for managing data sources
- When - various actions are executed to create and modify devices in the data center
- Then - IT Operations uses a method for managing data sources
Steps
- device create –name hostmdc1 –file ./templates/device.yaml
- device create –name hostmdc2 –file ./templates/device.yaml
- device create –name hostmdc3 –file ./templates/device.yaml
- device create –name hostmdc4 –file ./templates/device.yaml
- device create –name hostmdc5 –file ./templates/device.yaml
- aggregateddevice create –name admdc1
- aggregateddevice create –name admdc2
- aggregateddevice adddevices –name admdc1 –items hostmdc1,hostmdc2
- aggregateddevice adddevices –name admdc2 –items hostmdc3,hostmdc4
- datacenter create –name dcmdc1
- datacenter adddevices –name dcmdc1 –items hostmdc1,hostmdc2
- datacenter adddevices –name dcmdc1 –items admdc2
- datacenter disable –name dcmdc1
- datacenter enable –name dcmdc1
Actors
Scenario Remove Device
Remove Device is the description
Criteria
- Given - IT Operations has access to the device management system
- When - A device needs to be removed from the system
- Then - IT Operations has access to the device management system
Steps
- To Be Defined
Actors
Scenario Update Device
Update Device is the description
Criteria
- Given - IT Operations has access to the device database
- When - The IT operations attempts to update a device
- Then - IT Operations has access to the device database
Steps
- To Be Defined