I assume you're using NOX destiny or zaku (these are the two current branches 
of NOX).  These branches now use a meta.json file to describe components.  The 
spanning tree component was written for an older version of NOX that used a 
meta.xml file.

As far as I can remember, the spanning tree component still works fine -- you 
just need to convert the meta file.  The nox-convert-meta.py script (in 
src/scripts) is meant for doing this.  You can run it yourself, but I have 
attached its output here as well. 

So put the meta.json in the spanning tree directory, and modify Makefile.am to 
refer to meta.json instead of meta.xml.  Then run boot.sh, configure, and make 
again... hopefully that'll do it!  (As a shortcut, you could try just putting 
meta.json in the spanning_tree directory in your build tree.  I think that'll 
work too.)

As a sidenote: you mention setting up an STP network, but the spanning tree 
component *does not* implement STP.  It creates a spanning tree entirely 
within the controller and the switches by using OpenFlow.

Hope this helps.

-- Murphy

On Wednesday, June 29, 2011 02:39:44 AM hu.yongsh...@zte.com.cn wrote:
> Hi,
> I'm a beginner of Openflow, and want to setup a STP network based on
> OpenvSwtich and NOX.
> I compile the spanning_tree module by the instruction of
> 'http://www.openflow.org/wk/index.php/Basic_Spanning_Tree#Installation'.
> Compiling success, but when excute command with spanning_tree, there is
> error like
> 
> 00001|nox|ERR:Application 'spanning_tree' description not found
> 
> What's wrong? Anybody met this error, pls give me help. thk
> 
> Best Regards!
> 
> 
> --------------------------------------------------------
> ZTE Information Security Notice: The information contained in this mail is
> solely property of the sender's organization. This mail communication is
> confidential. Recipients named above are obligated to maintain secrecy and
> are not permitted to disclose the contents of this communication to
> others. This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they are
> addressed. If you have received this email in error please notify the
> originator of the message. Any views expressed in this message are those
> of the individual sender. This message has been scanned for viruses and
> Spam by ZTE Anti-Spam system.
{
  "components": [
    {
      "python": "nox.netapps.spanning_tree.spanning_tree", 
      "dependencies": [
        "python", 
        "discovery"
      ], 
      "name": "spanning_tree"
    }
  ]
}
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to