To use it, you just do something like:
python nox-convert-meta.py meta.xml > meta.json

But here's the result:
{
  "components": [
    {
      "python": "nox.netapps.mobilevms.mobilevms", 
      "dependencies": [
        "python", 
        "pyrouting", 
        "pyauthenticator"
      ], 
      "name": "mobilevms"
    }, 
    {
      "python": "nox.netapps.mobilevms.basicrouting", 
      "dependencies": [
        "pyrouting", 
        "authenticator", 
        "broadcast_resolve"
      ], 
      "name": "basicrouting"
    }
  ]
}

Just paste that into a meta.json file and hopefully you're good to go.

-- Murphy

On Oct 25, 2011, at 11:09 PM, 王健 wrote:

> hello,everyone. I am a new comer of openflow, now i want to use the mobilevms 
> app, but my branch of NOX is destiny, i need to convert the meta.xml to 
> meta.json, because the old version of NOX uses meta.xml to describe the 
> compenents, but the NOX destiny uses meta.json to describe the compenents. i 
> also konw that the nox-convert-meta.py script(in src/scripts) is meant for 
> doing this, but i do not konw how to use it , anyone who can help me,thank 
> you very much. It is better to show the output of the meta.json for 
> mobilevms.The attachment is meta.xml file for mobilevms. Look forward to hear 
> form you~
>  best  wishes
>                                &nb sp;                                        
>        wang jian
>                                                                    on 
> Wednesday , Ocotober 26, 2011
> 
> 
> <meta.xml>_______________________________________________
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to