Allows manual reset of deallocate_at for admins
Done through PUT to /ip_addresses with "reset_allocation_time": true in the body. A few modifications were done to base_tests to support the admin context. Had to prevent admin_roles from being loaded on context. Removed the DEFAULT_ROUTE thing for great justice! Non-admin access will raise HTTPForbidden. Created _create_patch for the extra patching love. RM6300
This commit is contained in:
@@ -31,7 +31,6 @@ from quark import utils
|
||||
CONF = cfg.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
STRATEGY = network_strategy.STRATEGY
|
||||
DEFAULT_ROUTE = netaddr.IPNetwork("0.0.0.0/0")
|
||||
|
||||
quark_view_opts = [
|
||||
cfg.BoolOpt('show_allocation_pools',
|
||||
|
||||
Reference in New Issue
Block a user