a_frame/utils/action_providers/NetconfAction.py
def execute_template(self, template):
        """
        switches based on request_type chosen from template configuration

        :param template:
        :return: String results from the endpoint netconf subsystem
        """
        if self.dev is None:
            return self.result_msg

        if self.request_type == "apply_template":
            return self.apply_template(template)
        elif self.request_type == "execute_cheat_command":
            return self.execute_cheat_command(template)
        elif self.request_type == "assert_set_configuration":
            return self.assert_set_configuration(template)
        elif self.request_type == "assert_xpath_configuration":
            return self.assert_xpath_configuration(template)
        else:
            return self.execute_op_command(template)

        switches based on request_type chosen from template configuration

        :param template:
        :return: String results from the endpoint netconf subsystem
        
switches based on request_type chosen from template configuration
switches based on request_type chosen from template configuration
def execute_template(self, template):
        if self.dev is None:
            return self.result_msg
        if self.request_type == "apply_template":
            return self.apply_template(template)
        elif self.request_type == "execute_cheat_command":
            return self.execute_cheat_command(template)
        elif self.request_type == "assert_set_configuration":
            return self.assert_set_configuration(template)
        elif self.request_type == "assert_xpath_configuration":
            return self.assert_xpath_configuration(template)
        else:
            return self.execute_op_command(template)
def execute_template ( self , template ) : if self . dev is None : return self . result_msg if self . request_type == "apply_template" : return self . apply_template ( template ) elif self . request_type == "execute_cheat_command" : return self . execute_cheat_command ( template ) elif self . request_type == "assert_set_configuration" : return self . assert_set_configuration ( template ) elif self . request_type == "assert_xpath_configuration" : return self . assert_xpath_configuration ( template ) else : return self . execute_op_command ( template )
switches based on request_type chosen from template configuration
switches based on request_type chosen from template configuration
"""
        switches based on request_type chosen from template configuration

        :param template:
        :return: String results from the endpoint netconf subsystem
        """
String results from the endpoint netconf subsystem
String results from the endpoint netconf subsystem
self
template
None