def secpolicy_sa_secpolicy_defined_policy_policies_policy(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        secpolicy_sa = ET.SubElement(config, "secpolicy-sa", xmlns="urn:brocade.com:mgmt:brocade-fc-auth")
        secpolicy = ET.SubElement(secpolicy_sa, "secpolicy")
        defined_policy = ET.SubElement(secpolicy, "defined-policy")
        policies = ET.SubElement(defined_policy, "policies")
        policy = ET.SubElement(policies, "policy")
        policy.text = kwargs.pop('policy')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
def secpolicy_sa_secpolicy_defined_policy_policies_policy ( self , ** kwargs ) : config = ET . Element ( "config" ) secpolicy_sa = ET . SubElement ( config , "secpolicy-sa" , xmlns = "urn:brocade.com:mgmt:brocade-fc-auth" ) secpolicy = ET . SubElement ( secpolicy_sa , "secpolicy" ) defined_policy = ET . SubElement ( secpolicy , "defined-policy" ) policies = ET . SubElement ( defined_policy , "policies" ) policy = ET . SubElement ( policies , "policy" ) policy . text = kwargs . pop ( 'policy' ) callback = kwargs . pop ( 'callback' , self . _callback ) return callback ( config )
Auto Generated Code