Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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