diff options
author | xudan <xudan16@huawei.com> | 2018-08-08 03:08:03 -0400 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2018-08-13 21:23:25 -0400 |
commit | 839377b3b9c18ebf73cd6a7bfeb85d73f548d6b7 (patch) | |
tree | b22460015a3585f23f3a9b94e9cf73549479f0cd /docs/testing/user/testspecification/tempest_image | |
parent | 8e049deb6d5829a63c50d77c19be5040e8328f20 (diff) |
Remove one sub test cases from neutron trunk
There is one sub test case that can't work correctly on Mitaka,
neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_update_trunk_with_description
It will get a 'Bad request' error.
Details: {u'message': u"Unrecognized attribute(s) 'description'",
u'type': u'HTTPBadRequest', u'detail': u''}.
That's mainly because of that,
For Mitaka, there's only several extension resources that support
attribute 'description', which is 'security_group_rules', 'security_groups',
'ports', 'subnets', 'networks', 'routers', 'floatingips' and 'subnetpools'.
All other extension resources including trunk port can't create with description.
See https://github.com/openstack/neutron/blob/mitaka-eol/neutron/extensions/standardattrdescription.py#L22
For Newton, all subclasses of class 'HasStandardAttributes' support
the attribute 'description' including class Trunk.
See https://github.com/openstack/neutron/blob/newton-eol/neutron/extensions/standardattrdescription.py#L49,
https://github.com/openstack/neutron/blob/newton-eol/neutron/db/standard_attr.py#L158
and
https://github.com/openstack/neutron/blob/newton-eol/neutron/services/trunk/models.py#L26
JIRA: DOVETAIL-723
Change-Id: Ifdfea7c54a1888d933c8ddd78a6feea1db93368c
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'docs/testing/user/testspecification/tempest_image')
0 files changed, 0 insertions, 0 deletions