From cb69032a26621b6dd98e4dbee858219ffae0d962 Mon Sep 17 00:00:00 2001 From: Yong Sheng Gong Date: Sun, 29 Jul 2012 21:16:59 +0800 Subject: [PATCH] Add classmethod decorator to class methods of providervlan ext. Change-Id: If26d75b67c4816de0937f9edaa9f55a5bb2197a2 --- quantum/extensions/providernet.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/quantum/extensions/providernet.py b/quantum/extensions/providernet.py index 6ed2c295da..fff8a707fc 100644 --- a/quantum/extensions/providernet.py +++ b/quantum/extensions/providernet.py @@ -44,18 +44,23 @@ class Providernet(object): will also include provider attributes. """ + @classmethod def get_name(cls): return "Provider Network" + @classmethod def get_alias(cls): return "provider" + @classmethod def get_description(cls): return "Expose mapping of virtual networks to VLANs and flat networks" + @classmethod def get_namespace(cls): return "http://docs.openstack.org/ext/provider/api/v1.0" + @classmethod def get_updated(cls): return "2012-07-23T10:00:00-00:00"