Use six to translate exception message in tests

Use six to translate exception message in tests

Change-Id: I129de2f350ef31c6a8ef10355ada20d7789049a9
Add test to serialize and deserialize exceptions

Every subclass of HeatException is serialized and then deserialized.
For those classes which don't have a special init method, a generic
inspection is done to test each class. There are four exceptions
that are different, so their arguments are manually constructed.

Change-Id: I9bb21d134f8997c478cd4ee8ef0031e03b053204
Closes-Bug: #1304743
Convert parse error to text type

Some local environments (but not yet the gate) are experiencing
failure of InstantiationDataTest.test_format_parse_invalid_message.

This change fixes that test by converting the parse exception to
a text type before including it in the error message.

Change-Id: I06e271559e27452a7a0c1e8807a37bb5ed5df2fa
Closes-Bug: #1365880
Merge "Use six to translate exception message in tests"
Imported Translations from Transifex

Change-Id: I19bfda97442507da24417228c0bdfa5ba979cf34
Merge "Convert parse error to text type"
Merge "Add test to serialize and deserialize exceptions"
Merge "Imported Translations from Transifex"
Add console_url atttribute to server resource

This is a composite attribute that returns a dict-like structure
lazily resolving the actual console url based on key supplied.
Usage as following:

  outputs:
    console:
      value: { get_attr: [server, console_url, novnc ] }
      description: >
        Supported console types are novnc, xvpvnc, spice-html5, rdp-html5.

Change-Id: I27c0426f1a9100bb483f04c059fec87bb69b6340
Implements: blueprint vnc-console-attr
Co-Authored-By: Jun Jie Nan <nanjj@cn.ibm.com>