Changes between Version 7 and Version 8 of FlowVisor/UpgradingTo0.8.17


Ignore:
Timestamp:
01/08/13 11:01:37 (7 years ago)
Author:
Josh Smift
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FlowVisor/UpgradingTo0.8.17

    v7 v8  
    9999Upgrading from an XML version requires you to convert the flat XML configuration file into FV's new database format. (Or you can throw away your current !FlowVisor state, if you're really really sure that you don't care about any of it, but you probably don't want to do that.)
    100100
     101First, find your config.xml file. If you're running a fairly stock build, it will probably be /usr/etc/flowvisor/config.xml, but it might be in /usr/local, or might be called flowvisor-config.xml. Try
     102
     103{{{
     104locate config.xml
     105}}}
     106
     107to see what files with "config.xml" exist on your system. If there's only one, it's probably that one. If there's more than one, you'll need to figure out which one is actually in use; probably the one with the most recent modification time. For now, just be aware that there's more than one, and if things don't work as expected later, that might be why.
     108
    101109Stop the currently running Flowvisor:
    102110
     
    145153sudo -u flowvisor fvconfig generate /dev/null
    146154}}}
     155
     156If your config.xml file isn't now in /etc/flowvisor/config.xml, put a copy there. (This is a little vague, because the details will vary depending on where it was. But the rest of these steps assume that it's there, so it's simpler if you put it there at this point.)
    147157
    148158Convert your config.xml file to a config.json file