A new version of the API (v4) is available here: developers.linode.com.

avail.kernels()

List available kernels.

Parameters

  • isXen - boolean (optional) Show or hide Xen compatible kernels
  • isKVM - boolean (optional) Show or hide KVM compatible kernels

Example Response

{
   "ERRORARRAY":[],
   "ACTION":"avail.kernels",
   "DATA":[
      {
         "LABEL":"Latest Legacy (2.6.18.8-linode22)",
         "ISXEN":1,
         "ISKVM":0,
         "ISPVOPS":0,
         "KERNELID":60
      },
      {
         "LABEL":"2.6.32.16-linode28",
         "ISXEN":1,
         "ISKVM":0,
         "ISPVOPS":1,
         "KERNELID":123
      },
      {
         "LABEL":"pv-grub-x86_32",
         "ISXEN":1,
         "ISKVM":0,
         "ISPVOPS":0,
         "KERNELID":92
      }
      {
         "LABEL":"4.0.2-x86_64-linode56",
         "ISKVM":1,
         "ISXen":1,
         "ISPVOPS":1,
         "KERNELID":215
      },
   ]
}

Errors

None.