安全组(Openstack Neutron API)
权限 |
对应API接口 |
授权项(Action) |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
查询安全组 |
GET /v2.0/security-groups |
vpc:securityGroups:get |
√ |
× |
查询安全组详情 |
GET /v2.0/security-groups/{security_group_id} |
vpc:securityGroups:get |
√ |
× |
创建安全组 |
POST /v2.0/security-groups |
vpc:securityGroups:create |
√ |
× |
更新安全组 |
PUT /v2.0/security-groups/{security_group_id} |
vpc:securityGroups:update |
√ |
× |
删除安全组 |
DELETE /v2.0/security-groups/{security_group_id} |
vpc:securityGroups:delete |
√ |
× |
查询安全组规则 |
GET /v2.0/security-group-rules |
vpc:securityGroupRules:get |
√ |
× |
查询安全组规则详情 |
GET /v2.0/security-group-rules/{rules_security_groups_id} |
vpc:securityGroupRules:get |
√ |
× |
创建安全组规则 |
POST /v2.0/security-group-rules |
vpc:securityGroupRules:create |
√ |
× |
删除安全组规则 |
DELETE /v2.0/security-group-rules/{rules_security_groups_id} |
vpc:securityGroupRules:delete |
√ |
× |