8c4bf35267
Initial provider extension implementation. Specify vlan_id using the CLI with admin rights via "net-create --tenant_id <tenant-id> <net-name> --provider:vlan_id <vlan-id>". Also includes provider:vlan_id in reply messages for admins. The extension is supported in the linuxbridge and openvswitch plugins. Partially implements blueprint provider-networks. Change-Id: I2fff64c4247b1a3091c28c7a2cd632afda192c3d
24 lines
768 B
JSON
24 lines
768 B
JSON
{
|
|
"admin_or_owner": [["role:admin"], ["tenant_id:%(tenant_id)s"]],
|
|
"default": [["rule:admin_or_owner"]],
|
|
|
|
"admin_api": [["role:admin"]],
|
|
"extension:provider_network:view": [["rule:admin_api"]],
|
|
"extension:provider_network:set": [["rule:admin_api"]],
|
|
|
|
"create_subnet": [],
|
|
"get_subnet": [["rule:admin_or_owner"]],
|
|
"update_subnet": [["rule:admin_or_owner"]],
|
|
"delete_subnet": [["rule:admin_or_owner"]],
|
|
|
|
"create_network": [],
|
|
"get_network": [["rule:admin_or_owner"]],
|
|
"update_network": [["rule:admin_or_owner"]],
|
|
"delete_network": [["rule:admin_or_owner"]],
|
|
|
|
"create_port": [],
|
|
"get_port": [["rule:admin_or_owner"]],
|
|
"update_port": [["rule:admin_or_owner"]],
|
|
"delete_port": [["rule:admin_or_owner"]]
|
|
}
|