Remove network_type slot (Issue 363)
This slot was not used by Ganeti so the same info can be provided via tags. In order not to break configuration data we add a FromDict() method in Network config object that removes the deprecated network_type (if found) and then invoke the parent's method (which does the validation). Signed-off-by:Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Guido Trotter <ultrotter@google.com>
Showing
- doc/hooks.rst 5 additions, 6 deletionsdoc/hooks.rst
- doc/rapi.rst 0 additions, 1 deletiondoc/rapi.rst
- lib/cli.py 0 additions, 5 deletionslib/cli.py
- lib/client/gnt_network.py 5 additions, 8 deletionslib/client/gnt_network.py
- lib/cmdlib.py 1 addition, 18 deletionslib/cmdlib.py
- lib/constants.py 0 additions, 10 deletionslib/constants.py
- lib/hypervisor/hv_kvm.py 2 additions, 4 deletionslib/hypervisor/hv_kvm.py
- lib/objects.py 12 additions, 3 deletionslib/objects.py
- lib/opcodes.py 0 additions, 5 deletionslib/opcodes.py
- lib/query.py 0 additions, 1 deletionlib/query.py
- lib/rapi/client.py 1 addition, 2 deletionslib/rapi/client.py
- lib/rapi/rlib2.py 1 addition, 1 deletionlib/rapi/rlib2.py
- man/ganeti-os-interface.rst 0 additions, 3 deletionsman/ganeti-os-interface.rst
- man/gnt-network.rst 0 additions, 4 deletionsman/gnt-network.rst
- src/Ganeti/Objects.hs 0 additions, 2 deletionssrc/Ganeti/Objects.hs
- src/Ganeti/OpCodes.hs 0 additions, 2 deletionssrc/Ganeti/OpCodes.hs
- src/Ganeti/OpParams.hs 0 additions, 5 deletionssrc/Ganeti/OpParams.hs
- src/Ganeti/Types.hs 0 additions, 9 deletionssrc/Ganeti/Types.hs
- test/hs/Test/Ganeti/Network.hs 0 additions, 2 deletionstest/hs/Test/Ganeti/Network.hs
- test/hs/Test/Ganeti/Objects.hs 2 additions, 11 deletionstest/hs/Test/Ganeti/Objects.hs
Loading
Please register or sign in to comment