コード例 #1
0
ファイル: dhcpoptions.py プロジェクト: neildesai100/crowd
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'dhcpConfigurationSet':
         self.options = DhcpConfigSet()
         return self.options
コード例 #2
0
ファイル: instance.py プロジェクト: 2uinc/boto
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'monitoring':
         self._in_monitoring_element = True
     elif name == 'blockDeviceMapping':
         self.block_device_mapping = BlockDeviceMapping()
         return self.block_device_mapping
     elif name == 'productCodes':
         return self.product_codes
     elif name == 'stateReason':
         self.state_reason = SubParse('stateReason')
         return self.state_reason
     elif name == 'groupSet':
         self.groups = ResultSet([('item', Group)])
         return self.groups
     elif name == "eventsSet":
         self.eventsSet = SubParse('eventsSet')
         return self.eventsSet
     elif name == 'networkInterfaceSet':
         self.interfaces = ResultSet([('item', NetworkInterface)])
     elif name == 'iamInstanceProfile':
         self.instance_profile = SubParse('iamInstanceProfile')
         return self.instance_profile
     return None
コード例 #3
0
ファイル: dhcpoptions.py プロジェクト: 0t3dWCE/boto
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'dhcpConfigurationSet':
         self.options = DhcpConfigSet()
         return self.options
コード例 #4
0
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'monitoring':
         self._in_monitoring_element = True
     elif name == 'blockDeviceMapping':
         self.block_device_mapping = BlockDeviceMapping()
         return self.block_device_mapping
     elif name == 'productCodes':
         return self.product_codes
     elif name == 'stateReason':
         self.state_reason = SubParse('stateReason')
         return self.state_reason
     elif name == 'groupSet':
         self.groups = ResultSet([('item', Group)])
         return self.groups
     elif name == "eventsSet":
         self.eventsSet = SubParse('eventsSet')
         return self.eventsSet
     elif name == 'networkInterfaceSet':
         self.interfaces = ResultSet([('item', NetworkInterface)])
     elif name == 'iamInstanceProfile':
         self.instance_profile = SubParse('iamInstanceProfile')
         return self.instance_profile
     return None
コード例 #5
0
ファイル: subnet.py プロジェクト: NightBlues/boto
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'ipPermissions':
         return self.rules
     else:
         return None
コード例 #6
0
ファイル: vpngateway.py プロジェクト: 2mind/boto
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'item':
         att = Attachment()
         self.attachments.append(att)
         return att
コード例 #7
0
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'item':
         att = Attachment()
         self.attachments.append(att)
         return att
コード例 #8
0
ファイル: subnet.py プロジェクト: raorn/boto
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'ipPermissions':
         return self.rules
     else:
         return None
コード例 #9
0
ファイル: securitygroup.py プロジェクト: zuhaozou1/h-store
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'item':
         self.rules.append(IPPermissions(self))
         return self.rules[-1]
     else:
         return None
コード例 #10
0
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'blockDeviceMapping':
         self.block_device_mapping = BlockDeviceMapping()
         return self.block_device_mapping
     elif name == 'productCodes':
         return self.product_codes
     else:
         return None
コード例 #11
0
ファイル: image.py プロジェクト: 0t3dWCE/boto
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'blockDeviceMapping':
         self.block_device_mapping = BlockDeviceMapping()
         return self.block_device_mapping
     elif name == 'productCodes':
         return self.product_codes
     else:
         return None
コード例 #12
0
ファイル: volume.py プロジェクト: nekolyanich/boto
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'attachmentSet':
         self.attach_data = AttachmentSet()
         return self.attach_data
     elif name == 'tagSet':
         self.tags = boto.resultset.ResultSet([('item', Tag)])
         return self.tags
     else:
         return None
コード例 #13
0
ファイル: networkinterface.py プロジェクト: 2uinc/boto
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'groupSet':
         self.groups = ResultSet([('item', Group)])
         return self.groups
     elif name == 'attachment':
         self.attachment = Attachment()
         return self.attachment
     else:
         return None
コード例 #14
0
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'attachmentSet':
         self.attach_data = AttachmentSet()
         return self.attach_data
     elif name == 'tagSet':
         self.tags = ResultSet([('item', Tag)])
         return self.tags
     else:
         return None
コード例 #15
0
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'groupSet':
         self.groups = ResultSet([('item', Group)])
         return self.groups
     elif name == 'attachment':
         self.attachment = Attachment()
         return self.attachment
     else:
         return None
コード例 #16
0
ファイル: volume.py プロジェクト: uceo/uceo-2015
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == "attachmentSet":
         self.attach_data = AttachmentSet()
         return self.attach_data
     elif name == "tagSet":
         self.tags = ResultSet([("item", Tag)])
         return self.tags
     else:
         return None
コード例 #17
0
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'launchSpecification':
         self.launch_specification = LaunchSpecification(connection)
         return self.launch_specification
     elif name == 'fault':
         self.fault = SpotInstanceStateFault()
         return self.fault
     else:
         return None
コード例 #18
0
ファイル: instance.py プロジェクト: KonishchevDmitry/boto
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'monitoring':
         self._in_monitoring_element = True
     elif name == 'blockDeviceMapping':
         self.block_device_mapping = BlockDeviceMapping()
         return self.block_device_mapping
     elif name == 'productCodes':
         return self.product_codes
     elif name == 'stateReason':
         self.state_reason = StateReason()
         return self.state_reason
     return None
コード例 #19
0
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == 'monitoring':
         self._in_monitoring_element = True
     elif name == 'blockDeviceMapping':
         self.block_device_mapping = BlockDeviceMapping()
         return self.block_device_mapping
     elif name == 'productCodes':
         return self.product_codes
     elif name == 'stateReason':
         self.state_reason = StateReason()
         return self.state_reason
     return None
コード例 #20
0
ファイル: instance.py プロジェクト: JDrosdeck/boto
 def startElement(self, name, attrs, connection):
     retval = TaggedEC2Object.startElement(self, name, attrs, connection)
     if retval is not None:
         return retval
     if name == "monitoring":
         self._in_monitoring_element = True
     elif name == "blockDeviceMapping":
         self.block_device_mapping = BlockDeviceMapping()
         return self.block_device_mapping
     elif name == "productCodes":
         return self.product_codes
     elif name == "stateReason":
         self.state_reason = StateReason()
         return self.state_reason
     elif name == "groupSet":
         self.groups = ResultSet([("item", Group)])
         return self.groups
     return None