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

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

Build:
Build:
LAST BUILD BRANCH: topic/config-subnet-bits
DEFAULT BRANCH: master
Ran 28 Nov 2016 11:22PM UTC
Jobs 2
Files 89
Run time 1min
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
394

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>

12040 of 18815 relevant lines covered (63.99%)

1.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 394.1 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 28 Nov 2016 11:22PM UTC 0
63.95
Travis Job 394.1
2 394.2 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 28 Nov 2016 11:24PM UTC 0
63.96
Travis Job 394.2
Source Files on build 394
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #394
  • 7623190e on github
  • Prev Build on storage (#390)
  • Next Build on storage (#397)
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