• Guido Trotter's avatar
    Introduce OS api version 15 · d1a7d66f
    Guido Trotter authored
    Also, since Ganeti 2.1 will be compatible with both 10 and 15, change
    the OS_API_VERSION constant to be an OS_API_VERSIONS set, and update the
    places in the code that used that constat to use something else.
    In particular:
      - in the qa for now we just create a fake version 10 OS
      - in the os environment we use the highest common version
        (which means we need to pass in the os to OSEnvironment)
      - when loading an OS any common version will do
    Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
    Reviewed-by: default avatarIustin Pop <iustin@google.com>
backend.py 79.6 KB