Blueprint xenapi-provider-firewall and Bug #915403.
1. Provides dom0 IPtables driver to implement the Provider firewall rules.
2. Existing libvirt code has been refactored to reduce the amount of duplicated code to a minimum
3. The three provider apis in ec2/admin.py file are now fixed the following way:
a. remove_external_address_block returned 'OK' on removing blocks which didn't exist. This is now fixed.
b. block_external_addresses raised exception earlier on duplicate network blocks. Now the exception is logged and failed status message is returned.
c. all the three provider apis now logs for invalid and improper inputs and return uniform (a dictionary ) and proper status messages for all cases.
4. appropriate unit tests added to cover the same
Reviewed: https:/ /review. openstack. org/3207 github. com/openstack/ nova/commit/ fe1c97ff4c36d1c c2642d9a485f828 74e4b3bda2
Committed: http://
Submitter: Jenkins
Branch: master
commit fe1c97ff4c36d1c c2642d9a485f828 74e4b3bda2
Author: Deepak Garg <email address hidden>
Date: Fri Jan 13 16:03:45 2012 +0530
Blueprint xenapi- provider- firewall and Bug #915403.
1. Provides dom0 IPtables driver to implement the Provider firewall rules. external_ address_ block returned 'OK' on removing blocks which didn't exist. This is now fixed. addresses raised exception earlier on duplicate network blocks. Now the exception is logged and failed status message is returned.
2. Existing libvirt code has been refactored to reduce the amount of duplicated code to a minimum
3. The three provider apis in ec2/admin.py file are now fixed the following way:
a. remove_
b. block_external_
c. all the three provider apis now logs for invalid and improper inputs and return uniform (a dictionary ) and proper status messages for all cases.
4. appropriate unit tests added to cover the same
Change-Id: I27d83186f85042 3a6268947aed0c9 a349d8f8d65