<div dir="ltr"><br><br><div class="gmail_quote">On Thu, Sep 1, 2011 at 8:06 AM, Amine Ghrab <span dir="ltr"><<a href="mailto:ghrab.amine@gmail.com" target="_blank">ghrab.amine@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">I wanted just to share step by step how I installed OCCI Server 0.3 on a just installed Ubuntu 10.04: <div><br></div><div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
1.$ sudo gem install uuidtools sinatra</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


2.$ sudo apt-get install ruby1.8-dev</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


3.$ sudo gem install passenger</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


4.$ sudo apt-get install build-essential</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


5.$ sudo apt-get install libcurl4-openssl-dev</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


6.$ sudo apt-get install libssl-dev</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


7.$ sudo apt-get install zlib1g-dev</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


8.$ sudo gem install antlr3</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


<br></blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


9.Rename the folder ogf-occi/lib/OpenNebula to lib/opennebula</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


10.$ cd Desktop/ogf-occi/</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


11.$ /var/lib/gems/1.8/gems/passenger-3.0.8/bin/passenger start</blockquote></blockquote><div><br></div>Regards,</div><div><br></div><div><font color="#888888">Amine</font><div><div></div><div><br><div class="gmail_quote">

On Thu, Sep 1, 2011 at 8:01 AM, Amine Ghrab <span dir="ltr"><<a href="mailto:ghrab.amine@gmail.com" target="_blank">ghrab.amine@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>The output of the log file after the <b>GET</b>, I've noticed that it's the same as the terminal's output where I've started passenger : </div>


<div><br></div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
D, [2011-09-01T07:58:<a href="tel:27.291165%20%231597" value="+21627291165" target="_blank">27.291165 #1597</a>] DEBUG -- : Requested location: /network/</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:58:<a href="tel:27.292056%20%231597" value="+21627292056" target="_blank">27.292056 #1597</a>] DEBUG -- : *  location: storagelink : object: #<OCCI::Core::Kind:0xb6bd1490></blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:58:<a href="tel:27.292145%20%231597" value="+21627292145" target="_blank">27.292145 #1597</a>] DEBUG -- : *  location: networkinterface : object: #<OCCI::Core::Kind:0xb6bd42d0></blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:58:<a href="tel:27.292210%20%231597" value="+21627292210" target="_blank">27.292210 #1597</a>] DEBUG -- : *  location: network : object: #<OCCI::Core::Kind:0xb6bd8718></blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:58:<a href="tel:27.292271%20%231597" value="+21627292271" target="_blank">27.292271 #1597</a>] DEBUG -- : *  location: compute : object: #<OCCI::Core::Kind:0xb6bdfcd4></blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:58:<a href="tel:27.292350%20%231597" value="+21627292350" target="_blank">27.292350 #1597</a>] DEBUG -- : *  location: ipnetworking : object: #<OCCI::Core::Mixin:0xb6bc79a4></blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:58:<a href="tel:27.292413%20%231597" value="+21627292413" target="_blank">27.292413 #1597</a>] DEBUG -- : *  location: storage : object: #<OCCI::Core::Kind:0xb6bdb8f0></blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:58:<a href="tel:27.292955%20%231597" value="+21627292955" target="_blank">27.292955 #1597</a>] DEBUG -- : *  location: link : object: #<OCCI::Core::Kind:0xb6bd45dc></blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:58:<a href="tel:27.293070%20%231597" value="+21627293070" target="_blank">27.293070 #1597</a>] DEBUG -- : *  context: _/hash/</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



I, [2011-09-01T07:58:<a href="tel:27.293210%20%231597" value="+21627293210" target="_blank">27.293210 #1597</a>]  INFO -- : Kind / mixin exact match for location [/network/]: #<OCCI::Core::Kind:0xb6bd8718></blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


D, [2011-09-01T07:58:<a href="tel:27.293708%20%231597" value="+21627293708" target="_blank">27.293708 #1597</a>] DEBUG -- : ### Information on the client ###</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:58:<a href="tel:27.293789%20%231597" value="+21627293789" target="_blank">27.293789 #1597</a>] DEBUG -- : Client IP Adress: 127.0.0.1</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:58:<a href="tel:27.293847%20%231597" value="+21627293847" target="_blank">27.293847 #1597</a>] DEBUG -- : Client User Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/<a href="http://1.2.3.3" target="_blank">1.2.3.3</a> libidn/1.15</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


D, [2011-09-01T07:58:<a href="tel:27.293991%20%231597" value="+21627293991" target="_blank">27.293991 #1597</a>] DEBUG -- : #################################</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:58:<a href="tel:27.294054%20%231597" value="+21627294054" target="_blank">27.294054 #1597</a>] DEBUG -- : Accept type: */*</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:58:<a href="tel:27.294107%20%231597" value="+21627294107" target="_blank">27.294107 #1597</a>] DEBUG -- : Content type: text/plain</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:58:<a href="tel:27.294249%20%231597" value="+21627294249" target="_blank">27.294249 #1597</a>] DEBUG -- : Response headers: Content-Typetext/plainServerOCCI/1.1</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:58:<a href="tel:27.294305%20%231597" value="+21627294305" target="_blank">27.294305 #1597</a>] DEBUG -- : Response body: </blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



127.0.0.1 - - [01/Sep/2011 07:58:27] "GET /network/ " <a href="tel:200%20-%200.0075" value="+21620000075" target="_blank">200 - 0.0075</a></blockquote><div><br></div></blockquote><div><br></div><div>And here is the output after the <b>POST :</b></div>
<div> </div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
D, [2011-09-01T07:41:<a href="tel:23.701360%20%231597" value="+21623701360" target="_blank">23.701360 #1597</a>] DEBUG -- : Requested location: /network/</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:41:<a href="tel:23.701546%20%231597" value="+21623701546" target="_blank">23.701546 #1597</a>] DEBUG -- : HTTP Category string: network;scheme="<a href="http://schemas.ogf.org/occi/infrastructure#" target="_blank">http://schemas.ogf.org/occi/infrastructure#</a>";class="kind";,ipnetwork;scheme="<a href="http://schemas.ogf.org/occi/infrastructure/network#" target="_blank">http://schemas.ogf.org/occi/infrastructure/network#</a>";class="kind";</blockquote>



<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
D, [2011-09-01T07:41:<a href="tel:23.701608%20%231597" value="+21623701608" target="_blank">23.701608 #1597</a>] DEBUG -- : Request Location /network/</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:41:<a href="tel:23.701661%20%231597" value="+21623701661" target="_blank">23.701661 #1597</a>] DEBUG -- : Request query string </blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



W, [2011-09-01T07:41:<a href="tel:23.715220%20%231597" value="+21623715220" target="_blank">23.715220 #1597</a>]  WARN -- : line 1:74 mismatched input "," expecting 'actions'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



W, [2011-09-01T07:41:<a href="tel:23.716706%20%231597" value="+21623716706" target="_blank">23.716706 #1597</a>]  WARN -- : line 0:-1 mismatched input "<EOF>" expecting 'actions'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:41:<a href="tel:23.717456%20%231597" value="+21623717456" target="_blank">23.717456 #1597</a>] DEBUG -- : #<OCCI::Core::Kind:0xb6bd8718 @term="network", @entities=[], @related=[#<OCCI::Core::Kind:0xb6be31e0 @term="resource", @entities=[], @related=[#<OCCI::Core::Kind:0xb6be37f8 @term="entity", @entities=[], @related=[], @actions=[], @title="Entity", @attributes={"occi.core.title"=>#<OCCI::Core::Attribute:0xb6be380c @unique=true, @name="occi.core.title", @mandatory=false, @mutable=true>, "<a href="http://occi.core.id" target="_blank">occi.core.id</a>"=>#<OCCI::Core::Attribute:0xb6be3834 @unique=true, @name="<a href="http://occi.core.id" target="_blank">occi.core.id</a>", @mandatory=true, @mutable=false>}, @entity_type=OCCI::Core::Entity, @scheme="<a href="http://schemas.ogf.org/occi/core#" target="_blank">http://schemas.ogf.org/occi/core#</a>">], @actions=[], @title="Resource", @attributes={"occi.core.summary"=>#<OCCI::Core::Attribute:0xb6be321c @unique=true, @name="occi.core.summary", @mandatory=false, @mutable=true>, "links"=>#<OCCI::Core::Attribute:0xb6be31f4 @unique=false, @name="links", @mandatory=false, @mutable=true>}, @entity_type=OCCI::Core::Resource, @scheme="<a href="http://schemas.ogf.org/occi/core#" target="_blank">http://schemas.ogf.org/occi/core#</a>">], @actions=[#<OCCI::Core::Action:0xb6bd8934 @category=#<OCCI::Core::Category:0xb6bd890c @term="down", @title="Network Action Down", @attributes=[], @scheme="<a href="http://schemas.ogf.org/occi/infrastructure/network/action#" target="_blank">http://schemas.ogf.org/occi/infrastructure/network/action#</a>">>, #<OCCI::Core::Action:0xb6bd88bc @category=#<OCCI::Core::Category:0xb6bd8894 @term="up", @title="Network Action Up", @attributes=[], @scheme="<a href="http://schemas.ogf.org/occi/infrastructure/network/action#" target="_blank">http://schemas.ogf.org/occi/infrastructure/network/action#</a>">>], @title="Network Resource", @attributes={"occi.network.label"=>#<OCCI::Core::Attribute:0xb6bd8754 @unique=true, @name="occi.network.label", @mandatory=false, @mutable=true>, "occi.network.vlan"=>#<OCCI::Core::Attribute:0xb6bd877c @unique=true, @name="occi.network.vlan", @mandatory=false, @mutable=true>, "occi.network.state"=>#<OCCI::Core::Attribute:0xb6bd872c @unique=true, @name="occi.network.state", @mandatory=true, @mutable=false>}, @entity_type=OCCI::Infrastructure::Network, @scheme="<a href="http://schemas.ogf.org/occi/infrastructure#" target="_blank">http://schemas.ogf.org/occi/infrastructure#</a>"></blockquote>



<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
D, [2011-09-01T07:41:<a href="tel:23.718080%20%231597" value="+21623718080" target="_blank">23.718080 #1597</a>] DEBUG -- : Category found: <a href="http://schemas.ogf.org/occi/infrastructure#network" target="_blank">http://schemas.ogf.org/occi/infrastructure#network</a></blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


W, [2011-09-01T07:41:<a href="tel:23.722971%20%231597" value="+21623722971" target="_blank">23.722971 #1597</a>]  WARN -- : line 1:74 mismatched input "," expecting 'actions'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



W, [2011-09-01T07:41:<a href="tel:23.741109%20%231597" value="+21623741109" target="_blank">23.741109 #1597</a>]  WARN -- : line 0:-1 mismatched input "<EOF>" expecting 'actions'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:41:<a href="tel:23.741816%20%231597" value="+21623741816" target="_blank">23.741816 #1597</a>] DEBUG -- : Searching context: </blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



I, [2011-09-01T07:41:<a href="tel:23.741943%20%231597" value="+21623741943" target="_blank">23.741943 #1597</a>]  INFO -- : Creating resource...</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



W, [2011-09-01T07:41:<a href="tel:23.747023%20%231597" value="+21623747023" target="_blank">23.747023 #1597</a>]  WARN -- : line 1:74 mismatched input "," expecting 'actions'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



W, [2011-09-01T07:41:<a href="tel:23.752805%20%231597" value="+21623752805" target="_blank">23.752805 #1597</a>]  WARN -- : line 0:-1 mismatched input "<EOF>" expecting 'actions'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:41:<a href="tel:23.753958%20%231597" value="+21623753958" target="_blank">23.753958 #1597</a>] DEBUG -- : #<OCCI::Core::Kind:0xb6bd8718 @term="network", @entities=[], @related=[#<OCCI::Core::Kind:0xb6be31e0 @term="resource", @entities=[], @related=[#<OCCI::Core::Kind:0xb6be37f8 @term="entity", @entities=[], @related=[], @actions=[], @title="Entity", @attributes={"occi.core.title"=>#<OCCI::Core::Attribute:0xb6be380c @unique=true, @name="occi.core.title", @mandatory=false, @mutable=true>, "<a href="http://occi.core.id" target="_blank">occi.core.id</a>"=>#<OCCI::Core::Attribute:0xb6be3834 @unique=true, @name="<a href="http://occi.core.id" target="_blank">occi.core.id</a>", @mandatory=true, @mutable=false>}, @entity_type=OCCI::Core::Entity, @scheme="<a href="http://schemas.ogf.org/occi/core#" target="_blank">http://schemas.ogf.org/occi/core#</a>">], @actions=[], @title="Resource", @attributes={"occi.core.summary"=>#<OCCI::Core::Attribute:0xb6be321c @unique=true, @name="occi.core.summary", @mandatory=false, @mutable=true>, "links"=>#<OCCI::Core::Attribute:0xb6be31f4 @unique=false, @name="links", @mandatory=false, @mutable=true>}, @entity_type=OCCI::Core::Resource, @scheme="<a href="http://schemas.ogf.org/occi/core#" target="_blank">http://schemas.ogf.org/occi/core#</a>">], @actions=[#<OCCI::Core::Action:0xb6bd8934 @category=#<OCCI::Core::Category:0xb6bd890c @term="down", @title="Network Action Down", @attributes=[], @scheme="<a href="http://schemas.ogf.org/occi/infrastructure/network/action#" target="_blank">http://schemas.ogf.org/occi/infrastructure/network/action#</a>">>, #<OCCI::Core::Action:0xb6bd88bc @category=#<OCCI::Core::Category:0xb6bd8894 @term="up", @title="Network Action Up", @attributes=[], @scheme="<a href="http://schemas.ogf.org/occi/infrastructure/network/action#" target="_blank">http://schemas.ogf.org/occi/infrastructure/network/action#</a>">>], @title="Network Resource", @attributes={"occi.network.label"=>#<OCCI::Core::Attribute:0xb6bd8754 @unique=true, @name="occi.network.label", @mandatory=false, @mutable=true>, "occi.network.vlan"=>#<OCCI::Core::Attribute:0xb6bd877c @unique=true, @name="occi.network.vlan", @mandatory=false, @mutable=true>, "occi.network.state"=>#<OCCI::Core::Attribute:0xb6bd872c @unique=true, @name="occi.network.state", @mandatory=true, @mutable=false>}, @entity_type=OCCI::Infrastructure::Network, @scheme="<a href="http://schemas.ogf.org/occi/infrastructure#" target="_blank">http://schemas.ogf.org/occi/infrastructure#</a>"></blockquote>



<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
D, [2011-09-01T07:41:<a href="tel:23.754334%20%231597" value="+21623754334" target="_blank">23.754334 #1597</a>] DEBUG -- : Category found: <a href="http://schemas.ogf.org/occi/infrastructure#network" target="_blank">http://schemas.ogf.org/occi/infrastructure#network</a></blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


W, [2011-09-01T07:41:<a href="tel:23.759354%20%231597" value="+21623759354" target="_blank">23.759354 #1597</a>]  WARN -- : line 1:74 mismatched input "," expecting 'actions'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



W, [2011-09-01T07:41:<a href="tel:23.760443%20%231597" value="+21623760443" target="_blank">23.760443 #1597</a>]  WARN -- : line 0:-1 mismatched input "<EOF>" expecting 'actions'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:41:<a href="tel:23.760844%20%231597" value="+21623760844" target="_blank">23.760844 #1597</a>] DEBUG -- : #<OCCI::Core::Mixin:0xb6bc79a4 @term="ipnetwork", @entities=[], @related=[], @actions=[], @title="IP Network Mixin", @attributes={"occi.network.allocation"=>#<OCCI::Core::Attribute:0xb6bc79b8 @unique=true, @name="occi.network.allocation", @mandatory=true, @mutable=true>, "occi.network.address"=>#<OCCI::Core::Attribute:0xb6bc7a08 @unique=true, @name="occi.network.address", @mandatory=true, @mutable=true>, "occi.network.gateway"=>#<OCCI::Core::Attribute:0xb6bc79e0 @unique=true, @name="occi.network.gateway", @mandatory=false, @mutable=true>}, @scheme="<a href="http://schemas.ogf.org/occi/infrastructure/network#" target="_blank">http://schemas.ogf.org/occi/infrastructure/network#</a>"></blockquote>



<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
D, [2011-09-01T07:41:<a href="tel:23.761055%20%231597" value="+21623761055" target="_blank">23.761055 #1597</a>] DEBUG -- : Category found: <a href="http://schemas.ogf.org/occi/infrastructure/network#ipnetwork" target="_blank">http://schemas.ogf.org/occi/infrastructure/network#ipnetwork</a></blockquote>


<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
D, [2011-09-01T07:41:<a href="tel:23.762422%20%231597" value="+21623762422" target="_blank">23.762422 #1597</a>] DEBUG -- : OCCI ID: </blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:41:<a href="tel:23.802715%20%231597" value="+21623802715" target="_blank">23.802715 #1597</a>] DEBUG -- : Attributes definitions to check against: occi.network.allocationocci.core.titleocci.core.summaryocci.network.addressocci.core.idocci.network.labelocci.network.vlanocci.network.gatewaylinksocci.network.state</blockquote>



<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
E, [2011-09-01T07:41:<a href="tel:23.804078%20%231597" value="+21623804078" target="_blank">23.804078 #1597</a>] ERROR -- : Mandatory attribute [occi.network.allocation] not set! (RuntimeError)</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



./lib/occi/core/Entity.rb:111:in `check_attributes'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



./lib/occi/core/Entity.rb:109:in `each'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



./lib/occi/core/Entity.rb:109:in `check_attributes'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



./lib/occi/core/Entity.rb:134:in `initialize'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



./lib/occi/core/Resource.rb:54:in `initialize'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



./lib/occi/infrastructure/Network.rb:65:in `initialize'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



./lib/occi/rendering/http/Post.rb:105:in `new'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



./lib/occi/rendering/http/Post.rb:105:in `resource_create'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



./lib/occi/occi-server.rb:260:in `POST *'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1151:in `call'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1151:in `compile!'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `instance_eval'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `route_eval'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:708:in `route!'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:758:in `process_route'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `catch'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `process_route'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:707:in `route!'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `each'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `route!'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:843:in `dispatch!'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `call!'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `instance_eval'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `invoke'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `catch'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `invoke'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `call!'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:629:in `call'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/rack-1.3.2/lib/rack/head.rb:9:in `call'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/rack-1.3.2/lib/rack/commonlogger.rb:20:in `call'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/showexceptions.rb:21:in `call'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/rack-1.3.2/lib/rack/methodoverride.rb:24:in `call'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in `call'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1303:in `synchronize'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in `call'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:205:in `start_request_handler'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:170:in `send'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:170:in `handle_spawn_application'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/utils.rb:479:in `safe_fork'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:165:in `handle_spawn_application'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server.rb:357:in `__send__'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server.rb:180:in `start'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:128:in `start'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/spawn_manager.rb:253:in `spawn_rack_application'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/spawn_manager.rb:246:in `spawn_rack_application'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server.rb:357:in `__send__'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



/home/ena/.passenger/standalone/3.0.8-x86-ruby1.8.7-linux-gcc4.4.3-1002/support/helper-scripts/passenger-spawn-server:99</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:41:<a href="tel:23.804589%20%231597" value="+21623804589" target="_blank">23.804589 #1597</a>] DEBUG -- : ### Information on the client ###</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:41:<a href="tel:23.804690%20%231597" value="+21623804690" target="_blank">23.804690 #1597</a>] DEBUG -- : Client IP Adress: 127.0.0.1</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:41:<a href="tel:23.804746%20%231597" value="+21623804746" target="_blank">23.804746 #1597</a>] DEBUG -- : Client User Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/<a href="http://1.2.3.3" target="_blank">1.2.3.3</a> libidn/1.15</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


D, [2011-09-01T07:41:<a href="tel:23.804836%20%231597" value="+21623804836" target="_blank">23.804836 #1597</a>] DEBUG -- : #################################</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:41:<a href="tel:23.804898%20%231597" value="+21623804898" target="_blank">23.804898 #1597</a>] DEBUG -- : Accept type: */*</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:41:<a href="tel:23.804950%20%231597" value="+21623804950" target="_blank">23.804950 #1597</a>] DEBUG -- : Content type: text/plain</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:41:<a href="tel:23.805169%20%231597" value="+21623805169" target="_blank">23.805169 #1597</a>] DEBUG -- : Response headers: Content-Typetext/plainServerOCCI/1.1</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



D, [2011-09-01T07:41:<a href="tel:23.805263%20%231597" value="+21623805263" target="_blank">23.805263 #1597</a>] DEBUG -- : Response body: </blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



127.0.0.1 - - [01/Sep/2011 07:41:23] "POST /network/ " <a href="tel:400%20-%200.1062" value="+21640001062" target="_blank">400 - 0.1062</a></blockquote></blockquote><div><br></div><div>Regards,</div><div><br></div>
<font color="#888888"><div>Amine</div></font><div><div></div><div>
<br><div class="gmail_quote">On Thu, Sep 1, 2011 at 7:52 AM,  <span dir="ltr"><<a href="mailto:florian.feldhaus@tu-dortmund.de" target="_blank">florian.feldhaus@tu-dortmund.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0, 0, 0);font-size:14px;font-family:Calibri, sans-serif">
<div>Hi Amine,</div>
<div><br>
</div>
<div>you can find the log file of the OCCI server in the log dir (e.g. ogf-occi/log/passenger.3000.log</div>
<div><br>
</div>
<div>Could you send me the output? Then I can check what's wrong.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Florian</div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;border-bottom:medium none;border-left:medium none;padding-bottom:0in;padding-left:0in;padding-right:0in;border-top:#b5c4df 1pt solid;border-right:medium none;padding-top:3pt">



<div>
<span style="font-weight:bold">Von: </span>Amine Ghrab <<a href="mailto:ghrab.amine@gmail.com" target="_blank">ghrab.amine@gmail.com</a>><br>
</div><span style="font-weight:bold">Datum: </span>Thu, 1 Sep 2011 07:48:29 +0100<br>
<span style="font-weight:bold">An: </span>Florian Feldhaus <<a href="mailto:florian.feldhaus@tu-dortmund.de" target="_blank">florian.feldhaus@tu-dortmund.de</a>><br>
<span style="font-weight:bold">Betreff: </span>Re: [one-users] OCCI 3 Requests<br>
</div><div><div></div><div>
<div><br>
</div>
<div dir="ltr">Hi Florian,<br>
<br>
Thanks for the quick answer and sorry for the previous missing mail <img src="cid:gtalk.362@goomoji.gmail" style="margin-top:0px;margin-right:0.2ex;margin-bottom:0px;margin-left:0.2ex;vertical-align:middle" goomoji="gtalk.362"><br>




<br>
In fact, the network is already created using CLI (onevnet) :
<div><br>
</div>
<div>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
oneadmin@ena-desktop:~$ onevnet list</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
  ID USER     GROUP    NAME              TYPE BRIDGE PUB  LEASES</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
   0 oneadmin oneadmin Small network        F    br0  No       0</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
oneadmin@ena-desktop:~$ curl -X GET <a href="http://localhost:3000/network/" target="_blank">http://localhost:3000/network/</a></blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
oneadmin@ena-desktop:~$ curl -v -X GET <a href="http://localhost:3000/network/" target="_blank">http://localhost:3000/network/</a></blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
* About to connect() to localhost port 3000 (#0)</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
*   Trying ::1... Connection refused</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
*   Trying 127.0.0.1... connected</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
* Connected to localhost (127.0.0.1) port 3000 (#0)</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> GET /network/ HTTP/1.1</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> User-Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/<a href="http://1.2.3.3" target="_blank">1.2.3.3</a> libidn/1.15</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> Host: localhost:3000</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> Accept: */*</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> </blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< HTTP/1.1 200 OK</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< Content-Type: text/plain</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< Connection: keep-alive</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< Status: 200</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.8</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< Content-Length: 0</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< Server: OCCI/1.1</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< </blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
* Connection #0 to host localhost left intact</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
* Closing connection #0</blockquote>
<div><br>
</div>
</blockquote>
<div><br>
</div>
<div>For the POST request now, I've tried the following request :</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
oneadmin@ena-desktop:~$ curl -v -X POST --header 'Category:network;scheme="<a href="http://schemas.ogf.org/occi/infrastructure#" target="_blank">http://schemas.ogf.org/occi/infrastructure#</a>";class="kind";,ipnetwork;scheme="<a href="http://schemas.ogf.org/occi/infrastructure/network#" target="_blank">http://schemas.ogf.org/occi/infrastructure/network#</a>";class="kind";'
 --header 'X-OCCI-Attribute:occi.core.title="My Network",<br>
occi.core.summary="A short summary",occi.network.address="<a href="http://192.168.0.0/24" target="_blank">192.168.0.0/24</a>",occi.network.allocation="dynamic",occi.network.vlan=1'
<a href="http://localhost:3000/network/" target="_blank">http://localhost:3000/network/</a><br>
* About to connect() to localhost port 3000 (#0)<br>
*   Trying ::1... Connection refused<br>
*   Trying 127.0.0.1... connected<br>
* Connected to localhost (127.0.0.1) port 3000 (#0)<br>
> POST /network/ HTTP/1.1<br>
> User-Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/<a href="http://1.2.3.3" target="_blank">1.2.3.3</a> libidn/1.15<br>
> Host: localhost:3000<br>
> Accept: */*<br>
> Category:network;scheme="<a href="http://schemas.ogf.org/occi/infrastructure#" target="_blank">http://schemas.ogf.org/occi/infrastructure#</a>";class="kind";,ipnetwork;scheme="<a href="http://schemas.ogf.org/occi/infrastructure/network#" target="_blank">http://schemas.ogf.org/occi/infrastructure/network#</a>";class="kind";<br>




> X-OCCI-Attribute:occi.core.title="My Network",<br>
> occi.core.summary="A short summary",occi.network.address="<a href="http://192.168.0.0/24" target="_blank">192.168.0.0/24</a>",occi.network.allocation="dynamic",occi.network.vlan=1<br>
> <br>
< HTTP/1.1 400 Bad Request<br>
< Content-Type: text/plain<br>
< Connection: keep-alive<br>
< Status: 400<br>
< X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.8<br>
< Content-Length: 0<br>
< Server: OCCI/1.1<br>
< <br>
* Connection #0 to host localhost left intact<br>
* Closing connection #0</blockquote>
<br>
</blockquote>
<div><br>
</div>
But still get the 400 Error.</div>
<div>BTW, is there a way to get more precise information about errors of the OCCI requests rather than HTTP responses codes.</div>
<div>I've seen others facing the same problems, <a href="http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2011-August/006176.html" target="_blank">http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2011-August/006176.html</a></div>




<div><br>
</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Amine.</div>
<div><br>
<div class="gmail_quote">On Thu, Sep 1, 2011 at 7:26 AM, <span dir="ltr"><<a href="mailto:florian.feldhaus@tu-dortmund.de" target="_blank">florian.feldhaus@tu-dortmund.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;color:rgb(0, 0, 0);font-size:14px;font-family:Calibri, sans-serif">
<div>Hi Amine,</div>
<div><br>
</div>
<div>The GET commands you are issuing are returning a HTTP return code 200 OK. It will return nothing, if you didn't successfully create a network, storage or compute object before. Regarding the POST: If you are using OCCI v0.3, then you should use the attribute
 as described here:</div>
<div><a href="http://dev.opennebula.org/projects/ogf-occi/wiki/Occi_03" target="_blank">http://dev.opennebula.org/projects/ogf-occi/wiki/Occi_03</a></div>
<div><br>
</div>
<div>The virtualnetwork mixin was necessary for OpenNebula 2.2 but we decided to not support OpenNebula 2.2 anymore as it is missing some important features (like VLAN) for successfully mapping OCCI attributes. Thus, please use OpenNebula 3.0 together with
 OCCI v0.3 and then creating networks shouldn't be a problem.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Florian</div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;border-bottom:medium none;border-left:medium none;padding-bottom:0in;padding-left:0in;padding-right:0in;border-top:#b5c4df 1pt solid;border-right:medium none;padding-top:3pt">




<span style="font-weight:bold">Von: </span>Amine Ghrab <<a href="mailto:ghrab.amine@gmail.com" target="_blank">ghrab.amine@gmail.com</a>><br>
<span style="font-weight:bold">Datum: </span>Wed, 31 Aug 2011 20:12:13 +0100<br>
<span style="font-weight:bold">An: </span><<a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a>><br>
<span style="font-weight:bold">Betreff: </span>[one-users] OCCI 3 Requests<br>
</div>
<div>
<div></div>
<div>
<div><br>
</div>
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I'm trying to make requests to the occi server using curl command but got no anwers: </div>
<div><br>
</div>
<div>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
oneadmin@ena-desktop:~$ curl -X GET <a href="http://localhost:3000" target="_blank">
http://localhost:3000</a><br>
oneadmin@ena-desktop:~$ curl -X GET <a href="http://localhost:3000/" target="_blank">
http://localhost:3000/</a><br>
oneadmin@ena-desktop:~$ curl -X GET <a href="http://localhost:3000/network/" target="_blank">
http://localhost:3000/network/</a></blockquote>
</div>
<div><br>
</div>
<div>The occi-server logs are : passenger.3000.log</div>
<div><br>
</div>
<div>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
D, [2011-08-31T20:02:33.963033 #1627] DEBUG -- : #################################<br>
D, [2011-08-31T20:02:33.963112 #1627] DEBUG -- : Accept type: */*<br>
D, [2011-08-31T20:02:33.963164 #1627] DEBUG -- : Content type: text/plain<br>
D, [2011-08-31T20:02:33.963481 #1627] DEBUG -- : Response headers: Content-Typetext/plainServerOCCI/1.1<br>
D, [2011-08-31T20:02:33.963535 #1627] DEBUG -- : Response body: <br>
127.0.0.1 - - [31/Aug/2011 20:02:33] "POST /network/ " <a href="tel:400%20-%200.0985" value="+21640000985" target="_blank">400 - 0.0985</a><br>
D, [2011-08-31T20:06:36.532413 #1627] DEBUG -- : Requested location: /network/<br>
D, [2011-08-31T20:06:36.532667 #1627] DEBUG -- : *  location: storagelink : object: #<OCCI::Core::Kind:0xb6d264e4><br>
D, [2011-08-31T20:06:36.532759 #1627] DEBUG -- : *  location: networkinterface : object: #<OCCI::Core::Kind:0xb6d29324><br>
D, [2011-08-31T20:06:36.532820 #1627] DEBUG -- : *  location: network : object: #<OCCI::Core::Kind:0xb6d2d76c><br>
D, [2011-08-31T20:06:36.532905 #1627] DEBUG -- : *  location: compute : object: #<OCCI::Core::Kind:0xb6d34d28><br>
D, [2011-08-31T20:06:36.532976 #1627] DEBUG -- : *  location: ipnetworking : object: #<OCCI::Core::Mixin:0xb6d1c9f8><br>
D, [2011-08-31T20:06:36.533057 #1627] DEBUG -- : *  location: storage : object: #<OCCI::Core::Kind:0xb6d30944><br>
D, [2011-08-31T20:06:36.533136 #1627] DEBUG -- : *  location: link : object: #<OCCI::Core::Kind:0xb6d29630><br>
D, [2011-08-31T20:06:36.533205 #1627] DEBUG -- : *  context: _/hash/<br>
I, [2011-08-31T20:06:36.533333 #1627]  INFO -- : Kind / mixin exact match for location [/network/]: #<OCCI::Core::Kind:0xb6d2d76c><br>
D, [2011-08-31T20:06:36.533420 #1627] DEBUG -- : ### Information on the client ###<br>
D, [2011-08-31T20:06:36.533473 #1627] DEBUG -- : Client IP Adress: 127.0.0.1<br>
D, [2011-08-31T20:06:36.533547 #1627] DEBUG -- : Client User Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/<a href="http://1.2.3.3" target="_blank">1.2.3.3</a> libidn/1.15<br>
D, [2011-08-31T20:06:36.533631 #1627] DEBUG -- : #################################<br>
D, [2011-08-31T20:06:36.533688 #1627] DEBUG -- : Accept type: */*<br>
D, [2011-08-31T20:06:36.533762 #1627] DEBUG -- : Content type: text/plain<br>
D, [2011-08-31T20:06:36.533864 #1627] DEBUG -- : Response headers: Content-Typetext/plainServerOCCI/1.1<br>
D, [2011-08-31T20:06:36.533938 #1627] DEBUG -- : Response body: <br>
127.0.0.1 - - [31/Aug/2011 20:06:36] "GET /network/ " <a href="tel:200%20-%200.0039" value="+21620000039" target="_blank">200 - 0.0039</a></blockquote>
<div><br>
</div>
<div><br>
<br>
<br>
Using the verbose mode I get :</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
oneadmin@ena-desktop:~$ curl -v -X GET <a href="http://localhost:3000/network/" target="_blank">
http://localhost:3000/network/</a></blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
* About to connect() to localhost port 3000 (#0)</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
*   Trying ::1... Connection refused</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
*   Trying 127.0.0.1... connected</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
* Connected to localhost (127.0.0.1) port 3000 (#0)</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> GET /network/ HTTP/1.1</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> User-Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/<a href="http://1.2.3.3" target="_blank">1.2.3.3</a> libidn/1.15</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> Host: localhost:3000</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> Accept: */*</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> </blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< HTTP/1.1 200 OK</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< Content-Type: text/plain</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< Connection: keep-alive</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< Status: 200</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.8</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< Content-Length: 0</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< Server: OCCI/1.1</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< </blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
* Connection #0 to host localhost left intact</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
* Closing connection #0</blockquote>
<div><br>
</div>
</blockquote>
<div><br>
</div>
<div>POST Request also failed :</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
oneadmin@ena-desktop:~$ curl -v -X POST --header 'Category: network;scheme="<a href="http://schemas.ogf.org/occi/infrastructure#" target="_blank">http://schemas.ogf.org/occi/infrastructure#</a>";class="kind";,virtualnetwork; scheme="<a href="http://schemas.opennebula.org/occi/infrastructure#" target="_blank">http://schemas.opennebula.org/occi/infrastructure#</a>";class="mixin";'
 --header 'X-OCCI-Attribute: occi.core.title="My Network",occi.core.summary="A short summary", opennebula.network.size=256, opennebula.network.address="192.168.0.0",opennebula.network.bridge=virbr0,opennebula.network.public=YES,opennebula.network.type=RANGED'
<a href="http://localhost:3000/network/" target="_blank">http://localhost:3000/network/</a></blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
* About to connect() to localhost port 3000 (#0)</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
*   Trying ::1... Connection refused</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
*   Trying 127.0.0.1... connected</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
* Connected to localhost (127.0.0.1) port 3000 (#0)</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> POST /network/ HTTP/1.1</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> User-Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/<a href="http://1.2.3.3" target="_blank">1.2.3.3</a> libidn/1.15</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> Host: localhost:3000</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> Accept: */*</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> Category: network;scheme="<a href="http://schemas.ogf.org/occi/infrastructure#" target="_blank">http://schemas.ogf.org/occi/infrastructure#</a>";class="kind";,virtualnetwork; scheme="<a href="http://schemas.opennebula.org/occi/infrastructure#" target="_blank">http://schemas.opennebula.org/occi/infrastructure#</a>";class="mixin";</blockquote>




<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> X-OCCI-Attribute: occi.core.title="My Network",occi.core.summary="A short summary", opennebula.network.size=256, opennebula.network.address="192.168.0.0",opennebula.network.bridge=virbr0,opennebula.network.public=YES,opennebula.network.type=RANGED</blockquote>




<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
> </blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< HTTP/1.1 400 Bad Request</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< Content-Type: text/plain</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< Connection: keep-alive</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< Status: 400</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.8</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< Content-Length: 0</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< Server: OCCI/1.1</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
< </blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
* Connection #0 to host localhost left intact</blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
* Closing connection #0</blockquote>
<div><br>
</div>
<div>Any suggestions on how to make successful HTTP request ?</div>
</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Amine</div>
</div>
</div>
</div>
_______________________________________________ Users mailing list <a href="mailto:Users@lists.opennebula.org" target="_blank">
Users@lists.opennebula.org</a> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a> </span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></span>
</div>

</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>