parameters: (self, arch, machine)
return_statement: return util.get_xml_path(self.get_dom_cap_xml(arch, machine), func=get_cpu_modes)
docstring: :param arch: architecture
          :param machine:
          :return: available cpu modes
docstring_summary: :param arch: architecture
          :param machine:
          :return: available cpu modes
docstring_tokens: : param arch : architecture : param machine : : return : available cpu modes
function: def get_cpu_modes(self, arch, machine):
          """
          :param arch: architecture
          :param machine:
          :return: available cpu modes
          """
  
          def get_cpu_modes(ctx):
              return [v for v in ctx.xpath("/domainCapabilities/cpu/mode[@supported='yes']/@name")]
  
          return util.get_xml_path(self.get_dom_cap_xml(arch, machine), func=get_cpu_modes)
function_tokens: def get_cpu_modes ( self , arch , machine ) : def get_cpu_modes ( ctx ) : return [ v for v in ctx . xpath ( "/domainCapabilities/cpu/mode[@supported='yes']/@name" ) ] return util . get_xml_path ( self . get_dom_cap_xml ( arch , machine ) , func = get_cpu_modes )