• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

01org / ciao / 387
66%
master: 66%

Build:
Build:
LAST BUILD BRANCH: topic/config-subnet-bits
DEFAULT BRANCH: master
Ran 23 Nov 2016 07:02PM UTC
Jobs 2
Files 89
Run time 13min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
387

push

travis-ci

tpepper
ciao-controller: add volumes to newInstance/newConfig

The controller's startWorkload creates an instance with a config,
where the config is articulated based on the struct payloads.Start,
which includes an array of payloads StorageResource type objects.
Each storage.BlockDevice in the array of instance volumes coming into
startWorkload() for instance creation needs mapped to a similar object in
the Start yaml for the instance config.  This is slightly complicated
by controller having a 3rd similar data types.StorageResources and
the need for controller to track existing volumes in the similar-ish
BlockData struct and volume-to-instance mappings with the similar-ish
StorageAttachments struct.

For the most part, existing code passes an empty volumes array into
newConfig.  From the compute API, a startWorkload() -> newInstance() ->
newConfig() should result in a set of StorageResources in the Start yaml
payload, with some variations including having the controller create the
volume.  Others will have ciao-launcher create a volume.  In either case,
ciao-launcher would take the appropriate steps to attach the volume to the
instance of the workload, whether VM, container or bare metal.

Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>

12039 of 18774 relevant lines covered (64.13%)

1.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 387.1 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 23 Nov 2016 07:16PM UTC 0
64.13
Travis Job 387.1
2 387.2 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 23 Nov 2016 07:02PM UTC 0
64.12
Travis Job 387.2
Source Files on build 387
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #387
  • 436d3719 on github
  • Prev Build on storage (#385)
  • Next Build on storage (#390)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc