[nox-dev] meta.xml converts to meta.json
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 wang jian on Wednesday , Ocotober 26, 2011?xml version=1.0 encoding=UTF-8? components:components xmlns:components=http://www.noxrepo.org/components.xsd; component namemobilevms/name dependency namepython/name /dependency dependency namepyrouting/name /dependency dependency namepyauthenticator/name /dependency pythonnox.netapps.mobilevms.mobilevms/python /component component namebasicrouting/name dependency namepyrouting/name /dependency dependency nameauthenticator/name /dependency dependency namebroadcast_resolve/name /dependency pythonnox.netapps.mobilevms.basicrouting/python /component /components:components ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] meta.xml converts to meta.json
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