magnum/magnum
Eli Qiao e4a8242b96 API: restrict length of bay's name to 242
Restrict the length of bay's name to avoid passing a invalid long name
to heat stack.

Reason of 242 is:
stack_name = '%s-%s' % (bay.name, short_id.generate_id())
255 - len(short_id.generate_id()) - 1 = 242

Closes-bug: #1606785
Change-Id: If22a9018ece718f014c40e8059b945ae1a411f5b
2016-08-02 09:12:29 +08:00
..
api API: restrict length of bay's name to 242 2016-08-02 09:12:29 +08:00
cmd Bay driver: k8s Fedora Atomic 2016-07-11 10:50:06 -05:00
common Fix global stack list in periodic task 2016-07-27 10:11:51 +02:00
conductor Fix some simple mistake 2016-07-28 16:29:27 +08:00
db Add i18n support for some ERROR message 2016-07-17 20:55:49 +08:00
drivers Consolidate heat fragments 2016-07-28 17:36:58 +05:30
hacking Add hacking rule for explicit import of _ function 2016-07-29 23:17:06 +05:30
locale/ja/LC_MESSAGES Remove unused POT files 2016-06-14 16:17:29 +00:00
objects Add fixed_subnet field to baymodel 2016-06-30 15:16:45 +09:00
public/css Incorporate feedback from the Initial commit review 2014-11-18 14:25:08 +00:00
service Fix global stack list in periodic task 2016-07-27 10:11:51 +02:00
servicegroup Cleanup MagnumService Object usage 2016-01-29 15:39:28 +08:00
tests API: restrict length of bay's name to 242 2016-08-02 09:12:29 +08:00
MANIFEST.in Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
__init__.py Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
i18n.py Setup for translation 2015-05-24 03:13:55 +00:00
opts.py k8s coreos bay driver 2016-07-11 12:35:06 -05:00
version.py Remove coding:utf-8 2015-08-03 23:28:22 +08:00