ironic.api.controllers.v1.volume module¶
-
class
ironic.api.controllers.v1.volume.
Volume
(**kw)[source]¶ Bases:
ironic.api.controllers.base.APIBase
API representation of a volume root.
This class exists as a root class for the volume connectors and volume targets controllers.
-
connectors
¶ Links to the volume connectors resource
-
created_at
¶ Complex type attribute definition.
Example:
class MyComplexType(wsme.types.Base): optionalvalue = int mandatoryvalue = wsattr(int, mandatory=True) named_value = wsattr(int, name='named.value')
After inspection, the non-wsattr attributes will be replaced, and the above class will be equivalent to:
class MyComplexType(wsme.types.Base): optionalvalue = wsattr(int) mandatoryvalue = wsattr(int, mandatory=True)
-
links
¶ A list containing a self link and associated volume links
-
targets
¶ Links to the volume targets resource
-
updated_at
¶ Complex type attribute definition.
Example:
class MyComplexType(wsme.types.Base): optionalvalue = int mandatoryvalue = wsattr(int, mandatory=True) named_value = wsattr(int, name='named.value')
After inspection, the non-wsattr attributes will be replaced, and the above class will be equivalent to:
class MyComplexType(wsme.types.Base): optionalvalue = wsattr(int) mandatoryvalue = wsattr(int, mandatory=True)
-