示例#1
0
 def security_profile_uuid(self, string_operator, secuuid):
     """Uses string matching on secuuid"""
     if not common.is_stringop(string_operator):
         raise AttributeError("string_operator is invalid")
     self.query['security_profile_uuid'] = '%s%s' % (string_operator,
                                                     secuuid)
     return self
示例#2
0
 def attachment_peer_port_uuid(self, string_operator, peerport):
     """Uses string matching on peerport"""
     if not common.is_stringop(string_operator):
         raise AttributeError("string_operator is invalid")
     self.query['attachment_peer_port_uuid'] = '%s%s' % (string_operator,
                                                         peerport)
     return self
示例#3
0
 def attachment_zone_uuid(self, string_operator, zoneuuid):
     """Uses string matching on zoneuuid"""
     if not common.is_stringop(string_operator):
         raise AttributeError("string_operator is invalid")
     self.query['attachment_zone_uuid'] = '%s%s' % (string_operator,
                                                    zoneuuid)
     return self
示例#4
0
 def security_profile_uuid(self, string_operator, secuuid):
     """Uses string matching on secuuid"""
     if not common.is_stringop(string_operator):
         raise AttributeError("string_operator is invalid")
     self.query['security_profile_uuid'] = '%s%s' % (string_operator,
                                                     secuuid)
     return self
示例#5
0
 def attachment_node_name(self, string_operator, nodename):
     """Uses string matching on nodename"""
     if not common.is_stringop(string_operator):
         raise AttributeError("string_operator is invalid")
     self.query['attachment_node_name'] = '%s%s' % (string_operator,
                                                    nodename)
     return self
示例#6
0
 def attachment_zone_uuid(self, string_operator, zoneuuid):
     """Uses string matching on zoneuuid"""
     if not common.is_stringop(string_operator):
         raise AttributeError("string_operator is invalid")
     self.query['attachment_zone_uuid'] = '%s%s' % (string_operator,
                                                    zoneuuid)
     return self
示例#7
0
 def queue_uuid(self, string_operator, queueuuid):
     """Uses string matching on queueuuid"""
     if not common.is_stringop(string_operator):
         raise AttributeError("string_operator is invalid")
     self.query['queue_uuid'] = '%s%s' % (string_operator,
                                          queueuuid)
     return self
示例#8
0
 def attachment_vif_mac(self, string_operator, vifmac):
     """Uses string matching on vifmac"""
     if not common.is_stringop(string_operator):
         raise AttributeError("string_operator is invalid")
     self.query['attachment_vif_mac'] = '%s%s' % (string_operator,
                                                  vifmac)
     return self
示例#9
0
 def attachment_peer_port_uuid(self, string_operator, peerport):
     """Uses string matching on peerport"""
     if not common.is_stringop(string_operator):
         raise AttributeError("string_operator is invalid")
     self.query['attachment_peer_port_uuid'] = '%s%s' % (string_operator,
                                                         peerport)
     return self
示例#10
0
 def attachment_node_name(self, string_operator, nodename):
     """Uses string matching on nodename"""
     if not common.is_stringop(string_operator):
         raise AttributeError("string_operator is invalid")
     self.query['attachment_node_name'] = '%s%s' % (string_operator,
                                                    nodename)
     return self
示例#11
0
 def queue_uuid(self, string_operator, queueuuid):
     """Uses string matching on queueuuid"""
     if not common.is_stringop(string_operator):
         raise AttributeError("string_operator is invalid")
     self.query['queue_uuid'] = '%s%s' % (string_operator,
                                          queueuuid)
     return self
示例#12
0
 def attachment_vif_mac(self, string_operator, vifmac):
     """Uses string matching on vifmac"""
     if not common.is_stringop(string_operator):
         raise AttributeError("string_operator is invalid")
     self.query['attachment_vif_mac'] = '%s%s' % (string_operator,
                                                  vifmac)
     return self
示例#13
0
 def attachment_vif_uuid(self, string_operator, vifuuid):
     """Uses string matching on vifuuid"""
     if not common.is_stringop(string_operator):
         raise AttributeError("string_operator is invalid")
     self.query["attachment_vif_uuid"] = "%s%s" % (string_operator, vifuuid)
     return self