X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Fomf%2Fomf6_resource.py;h=c88d049c19751b8b21145eae800481c2d84e17ae;hb=dac2434143d573f76c14eac647645d478cfb4f80;hp=c92f86d49791a4af13f0e4e8f97559c26a063894;hpb=c05f5499a6212c1ad45199bbf1f2044aa2404022;p=nepi.git diff --git a/src/nepi/resources/omf/omf6_resource.py b/src/nepi/resources/omf/omf6_resource.py index c92f86d4..c88d049c 100644 --- a/src/nepi/resources/omf/omf6_resource.py +++ b/src/nepi/resources/omf/omf6_resource.py @@ -34,18 +34,21 @@ class OMF6Resource(ResourceManager): @classmethod def _register_attributes(cls): - xmppHost = Attribute("xmppHost", "Xmpp Server", + xmppHost = Attribute("xmppServer", "Xmpp Server", flags = Flags.Credential) xmppUser = Attribute("xmppUser", "Xmpp User") xmppPort = Attribute("xmppPort", "Xmpp Port", flags = Flags.Credential) xmppPassword = Attribute("xmppPassword", "Xmpp Password", flags = Flags.Credential) + version = Attribute("xmppPassword", "Xmpp Password", + flags = Flags.Credential) cls._register_attribute(xmppHost) cls._register_attribute(xmppUser) cls._register_attribute(xmppPort) cls._register_attribute(xmppPassword) + cls._register_attribute(version) def __init__(self, ec, guid): super(OMF6Resource, self).__init__(ec, guid)