Merge "Add classmethod decorator to class methods of providervlan ext."
This commit is contained in:
commit
2759d48acd
@ -44,18 +44,23 @@ class Providernet(object):
|
|||||||
will also include provider attributes.
|
will also include provider attributes.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@classmethod
|
||||||
def get_name(cls):
|
def get_name(cls):
|
||||||
return "Provider Network"
|
return "Provider Network"
|
||||||
|
|
||||||
|
@classmethod
|
||||||
def get_alias(cls):
|
def get_alias(cls):
|
||||||
return "provider"
|
return "provider"
|
||||||
|
|
||||||
|
@classmethod
|
||||||
def get_description(cls):
|
def get_description(cls):
|
||||||
return "Expose mapping of virtual networks to VLANs and flat networks"
|
return "Expose mapping of virtual networks to VLANs and flat networks"
|
||||||
|
|
||||||
|
@classmethod
|
||||||
def get_namespace(cls):
|
def get_namespace(cls):
|
||||||
return "http://docs.openstack.org/ext/provider/api/v1.0"
|
return "http://docs.openstack.org/ext/provider/api/v1.0"
|
||||||
|
|
||||||
|
@classmethod
|
||||||
def get_updated(cls):
|
def get_updated(cls):
|
||||||
return "2012-07-23T10:00:00-00:00"
|
return "2012-07-23T10:00:00-00:00"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user