예제 #1
0
파일: nvpquery.py 프로젝트: kilogram/aiclib
 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
파일: nvpquery.py 프로젝트: kilogram/aiclib
 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
파일: nvpquery.py 프로젝트: kilogram/aiclib
 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
파일: nvpquery.py 프로젝트: kilogram/aiclib
 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
파일: nvpquery.py 프로젝트: jkoelker/aiclib
 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
파일: nvpquery.py 프로젝트: jkoelker/aiclib
 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
파일: nvpquery.py 프로젝트: kilogram/aiclib
 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