Did I find the right examples for you? yes no

All Samples(19)  |  Call(0)  |  Derive(19)  |  Import(0)

src/n/o/nova-HEAD/nova/api/openstack/common.py   nova(Download)
class MetadataDeserializer(wsgi.MetadataXMLDeserializer):
    def deserialize(self, text):
        dom = xmlutil.safe_minidom_parse_string(text)
        metadata_node = self.find_first_child_named(dom, "metadata")
        metadata = self.extract_metadata(metadata_node)
        return {'body': {'metadata': metadata}}
 
 
class MetaItemDeserializer(wsgi.MetadataXMLDeserializer):

src/d/o/dodai-compute-HEAD/nova/api/openstack/contrib/security_groups.py   dodai-compute(Download)
class SecurityGroupXMLDeserializer(wsgi.MetadataXMLDeserializer):
    """
    Deserializer to handle xml-formatted security group requests.
    """
    def create(self, string):
class SecurityGroupRulesXMLDeserializer(wsgi.MetadataXMLDeserializer):
    """
    Deserializer to handle xml-formatted security group requests.
    """
 

src/n/o/nova-gce-HEAD/nova/api/openstack/common.py   nova-gce(Download)
class MetadataDeserializer(wsgi.MetadataXMLDeserializer):
    def deserialize(self, text):
        dom = minidom.parseString(text)
        metadata_node = self.find_first_child_named(dom, "metadata")
        metadata = self.extract_metadata(metadata_node)
        return {'body': {'metadata': metadata}}
 
 
class MetaItemDeserializer(wsgi.MetadataXMLDeserializer):

src/n/o/nova-HEAD/nova/api/openstack/compute/contrib/server_external_events.py   nova(Download)
class EventDeserializer(wsgi.MetadataXMLDeserializer):
    def _extract_event(self, event_node):
        event = {}
        for key in ('name', 'tag', 'server_uuid', 'status'):
            node = self.find_first_child_named(event_node, key)

src/n/o/nova-HEAD/nova/api/openstack/compute/contrib/security_groups.py   nova(Download)
class SecurityGroupXMLDeserializer(wsgi.MetadataXMLDeserializer):
    """Deserializer to handle xml-formatted security group requests."""
    def default(self, string):
        """Deserialize an xml-formatted security group create request."""
        dom = xmlutil.safe_minidom_parse_string(string)
class SecurityGroupRulesXMLDeserializer(wsgi.MetadataXMLDeserializer):
    """Deserializer to handle xml-formatted security group requests."""
 
    def default(self, string):
        """Deserialize an xml-formatted security group create request."""

src/n/o/nova-gce-HEAD/nova/api/openstack/compute/contrib/security_groups.py   nova-gce(Download)
class SecurityGroupXMLDeserializer(wsgi.MetadataXMLDeserializer):
    """
    Deserializer to handle xml-formatted security group requests.
    """
    def default(self, string):
class SecurityGroupRulesXMLDeserializer(wsgi.MetadataXMLDeserializer):
    """
    Deserializer to handle xml-formatted security group requests.
    """
 

src/n/o/nova-HEAD/nova/api/openstack/compute/servers.py   nova(Download)
class CommonDeserializer(wsgi.MetadataXMLDeserializer):
    """Common deserializer to handle xml-formatted server create requests.
 
    Handles standard server attributes as well as optional metadata
    and personality attributes

src/n/o/nova-HEAD/nova/api/openstack/compute/contrib/volumes.py   nova(Download)
class CommonDeserializer(wsgi.MetadataXMLDeserializer):
    """Common deserializer to handle xml-formatted volume requests.
 
       Handles standard volume attributes as well as the optional metadata
       attribute

src/n/o/nova-gce-HEAD/nova/api/openstack/compute/servers.py   nova-gce(Download)
class CommonDeserializer(wsgi.MetadataXMLDeserializer):
    """Common deserializer to handle xml-formatted server create requests.
 
    Handles standard server attributes as well as optional metadata
    and personality attributes

src/n/o/nova-gce-HEAD/nova/api/openstack/volume/volumes.py   nova-gce(Download)
class CommonDeserializer(wsgi.MetadataXMLDeserializer):
    """Common deserializer to handle xml-formatted volume requests.
 
       Handles standard volume attributes as well as the optional metadata
       attribute

  1 | 2  Next