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

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

Build:
Build:
LAST BUILD BRANCH: topic/config-subnet-bits
DEFAULT BRANCH: master
Ran 23 Nov 2016 10:26PM UTC
Jobs 2
Files 89
Run time 2min
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
390

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>

12038 of 18771 relevant lines covered (64.13%)

1.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 390.1 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 23 Nov 2016 10:26PM UTC 0
64.09
Travis Job 390.1
2 390.2 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 23 Nov 2016 10:28PM UTC 0
64.11
Travis Job 390.2
Source Files on build 390
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #390
  • 8ae969ff on github
  • Prev Build on storage (#387)
  • Next Build on storage (#394)
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