rspeclint fails on valid(?) rspec

0 views
Skip to first unread message

Niky Riga

unread,
Feb 29, 2012, 11:09:09 AM2/29/12
to protoge...@googlegroups.com
Hi,

As I am creating rspecs for the tutorial at gec13, I tried
to pass the protogeni rspecs through rspeclint
but it fails with the following error :

Line 12: Failed validation with root at element: Schemas
validity error : Element
'{http://www.geni.net/resources/rspec/3}install', attribute
'file_type': The attribute 'file_type' is not allowed.
: rspec

I checked with flack and it produces similar rspecs for
installing software through a tar file.
I have also tried submitting the rspec and it works. I
attach the rspec file.

Thanks,
Niky

protogeni_utah_gpousr07.rspec

Jonathon Duerig

unread,
Feb 29, 2012, 1:08:07 PM2/29/12
to protoge...@googlegroups.com
file_type is provided on advertisements to let you know what file types
are supported for installation. They are not part of the request as the
server can determine that on its own.

The reason that the rspec still creates a topology is that our server
intentionally tries to be liberal in what it accepts and if you have a
meaningless (to the server) extra field, it can still proceed.

---
Broad audience or deep message: Pick one.

Matt Strum

unread,
Feb 29, 2012, 1:17:45 PM2/29/12
to protoge...@googlegroups.com
I'll go ahead and remove file_type from Flack requests~

Jonathon Duerig

unread,
Feb 29, 2012, 1:21:37 PM2/29/12
to protoge...@googlegroups.com
Yes.

---
Broad audience or deep message: Pick one.

Reply all
Reply to author
Forward
0 new messages