Manage Data Center

IT Operations manages data centers by creating, deleting, enabling and disabling devicesand aggregated devices

Activities Diagram

Actors

Extends Use Cases

Detail Scenarios

Scenario Create Data Center

IT Operator creates data centers and allows them to add devices and aggregated devices

Scenario CreateDataCenter

Criteria

  • Given - IT Operator has access to the system.
  • When - Operator creates a data center, devices, and aggregated devices
  • Then - IT Operator has access to the system.

Steps

  1. device create –name host1 –file ./templates/device.yaml
  2. device create –name host2 –file ./templates/device.yaml
  3. device create –name host3 –file ./templates/device.yaml
  4. device create –name host4 –file ./templates/device.yaml
  5. device create –name host5 –file ./templates/device.yaml
  6. aggregateddevice create –name ad1
  7. aggregateddevice create –name ad2
  8. aggregateddevice adddevices –name ad1 –items host1,host2
  9. aggregateddevice adddevices –name ad2 –items host3,host4
  10. datacenter create –name dc1
  11. datacenter adddevices –name dc1 –items host1,host2
  12. datacenter adddevices –name dc1 –items ad2
  13. datacenter disable –name dc1
  14. datacenter enable –name dc1

Actors

Scenario Disable Data Center

IT Operations can disable a data center that will disable all of the devices in the data center. This can be used to test business continuity, move data center devices or decomission a data center.

Scenario DisableDataCenter

Criteria

  • Given - IT Operations has created data center with host devices
  • When - IT Operations executes data center disable command
  • Then - IT Operations has created data center with host devices

Steps

  1. device create –name host1 –file ./templates/device.yaml
  2. device create –name host2 –file ./templates/device.yaml
  3. datacenter create –name dc1
  4. datacenter adddevices –name dc1 –items host1,host2
  5. datacenter disable –name dc1

Actors

Scenario Enable Data Center

IT Operations can enable a data center that has been disabled

Scenario EnableDataCenter

Criteria

  • Given - A disabled data center exists
  • When - IT Operations enable the data center
  • Then - A disabled data center exists

Steps

  1. device create –name host1 –file ./templates/device.yaml
  2. device create –name host2 –file ./templates/device.yaml
  3. datacenter create –name dc1
  4. datacenter adddevices –name dc1 –items host1,host2
  5. datacenter disable –name dc1
  6. datacenter enable –name dc1

Actors

Scenario Remove Data Center

IT Operations can remove a Data Center and all of its devices and aggregated devices

Scenario RemoveDataCenter

Criteria

  • Given - IT operations has created several devices and a data center
  • When - IT operations initiates the process to remove a data center
  • Then - IT operations has created several devices and a data center

Steps

  1. device create –name host1 –file ./templates/device.yaml
  2. device create –name host2 –file ./templates/device.yaml
  3. device create –name host3 –file ./templates/device.yaml
  4. device create –name host4 –file ./templates/device.yaml
  5. device create –name host5 –file ./templates/device.yaml
  6. aggregateddevice create –name ad1
  7. aggregateddevice adddevices –name ad2 –items host3,host4
  8. datacenter create –name dc1
  9. datacenter adddevices –name dc1 –items host1,host2
  10. datacenter adddevices –name dc1 –items ad1
  11. datacenter destroy –name dc1

Actors

Scenario Update Data Center

IT Operations updates data center characteristics

Scenario UpdateDataCenter

Criteria

  • Given - IT operations are updating data center characteristics
  • When - a new device is created and added to an aggregated device and then to a data center
  • Then - IT operations are updating data center characteristics

Steps

  1. device create –name host1 –file ./templates/device.yaml
  2. device create –name host2 –file ./templates/device.yaml
  3. device create –name host3 –file ./templates/device.yaml
  4. device create –name host4 –file ./templates/device.yaml
  5. device create –name host5 –file ./templates/device.yaml
  6. aggregateddevice create –name ad1
  7. aggregateddevice adddevices –name ad2 –items host3,host4
  8. datacenter create –name dc1
  9. datacenter adddevices –name dc1 –items host1,host2
  10. datacenter adddevices –name dc1 –items ad1

Actors