def create_stanza(self, conf_name, stanza, key_values):
     scmc.create_stanza(
         self.splunkd_uri,
         self.session_key,
         self.owner,
         self.app_name,
         conf_name,
         stanza,
         key_values,
     )
Ejemplo n.º 2
0
 def create_stanza(self, conf_name, stanza, key_values):
     scmc.create_stanza(self.splunkd_uri, self.session_key,
                        self.owner, self.app_name,
                        conf_name, stanza, key_values)
Ejemplo n.º 3
0
 def create_stanza(self, conf_name, stanza, key_values=None):
     if key_values is None:
         key_values = {}
     return scmc.create_stanza(self.splunkd_uri, self.session_key,
                               self.update_owner, self.app_name, conf_name,
                               stanza, key_values)