Manage Infrastructure

Manage Infrastructure is the description

Activities Diagram

Actors

Extends Use Cases

Detail Scenarios

Scenario Add Device

Add Device is the description

Scenario AddDevice

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

  1. device create –name hostad1 –file ./templates/device.yaml
  2. cpl device/disable –name hostad1
  3. cpl device/enable –name hostad1
  4. cpl device/disable –name hostad1

Actors

Scenario Manage Aggregated Devices

Manage Aggregated Devices is the description

Scenario ManageAggregatedDevices

Criteria

  • Given - IT operations uses data/source
  • When - devices are created using template device.yaml
  • Then - IT operations uses data/source

Steps

  1. device create –name hostmad1 –file ./templates/device.yaml
  2. device create –name hostmad2 –file ./templates/device.yaml
  3. device create –name hostmad3 –file ./templates/device.yaml
  4. aggregateddevice create –name admad1
  5. aggregateddevice adddevices –name ad1 –items hostmad1,hostmad2,hostmad3

Actors

Scenario Manage Data Center

Manage Data Center is the description

Scenario ManageDataCenter

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

  1. device create –name hostmdc1 –file ./templates/device.yaml
  2. device create –name hostmdc2 –file ./templates/device.yaml
  3. device create –name hostmdc3 –file ./templates/device.yaml
  4. device create –name hostmdc4 –file ./templates/device.yaml
  5. device create –name hostmdc5 –file ./templates/device.yaml
  6. aggregateddevice create –name admdc1
  7. aggregateddevice create –name admdc2
  8. aggregateddevice adddevices –name admdc1 –items hostmdc1,hostmdc2
  9. aggregateddevice adddevices –name admdc2 –items hostmdc3,hostmdc4
  10. datacenter create –name dcmdc1
  11. datacenter adddevices –name dcmdc1 –items hostmdc1,hostmdc2
  12. datacenter adddevices –name dcmdc1 –items admdc2
  13. datacenter disable –name dcmdc1
  14. datacenter enable –name dcmdc1

Actors

Scenario Remove Device

Remove Device is the description

Scenario RemoveDevice

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

  1. To Be Defined

Actors

Scenario Update Device

Update Device is the description

Scenario UpdateDevice

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

  1. To Be Defined

Actors