The openstack_dashboard.api.rest.network ModuleΒΆ

API for the network abstraction APIs.

class openstack_dashboard.api.rest.network.SecurityGroups(**kwargs)[source]

Bases: django.views.generic.base.View

API for Network Abstraction

Handles differences between Nova and Neutron.

get(request, *args, **kw)[source]

Get a list of security groups.

The listing result is an object with property “items”. Each item is an image.

Example GET: http://localhost/api/network/securitygroups

url_regex = 'network/securitygroups/$'

Previous topic

The openstack_dashboard.api.rest.json_encoder Module

Next topic

The openstack_dashboard.api.rest.urls Module

Project Source

This Page