Commit Graph

17 Commits

Author SHA1 Message Date
xuanyandong 44f22cf2a5 Remove six
Replace the following items with Python 3 style code.

- six.PY2
- six.text_type
- six.string_type
- six.binary_type
- six.iterkeys
- six.moves
- six.itervalues

Implements: blueprint six-removal

Change-Id: I6195ceeeed2ebe1586973eaeef7fa9f29698fec2
2022-07-05 17:37:44 +08:00
Andreas Jaeger 80bd123e50 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Update local hacking checks for new flake8.

Remove hacking and friends from lower-constraints, it's not needed
there.

Change-Id: I48fcd2521d99d0b77b976e87cc638fe5ac051315
2020-03-31 17:02:37 +02:00
Andrey Pavlov 0cc5c2b70e py34: fix basestring usage in validator
Change-Id: Ia8ab9435e5eda29d2ff429152a06e5c77ab2a0e4
2015-09-10 20:14:27 +03:00
Feodor Tersin 2391590e73 Remove obsolete comment
This comment was copied at initial stage of a porting of validation from
Nova. Now it's obsolete.

Change-Id: Ie9343d80059b98477148b232509c33689423ee41
2015-08-13 10:06:33 +03:00
Feodor Tersin 54690d1095 Implement customer gateway
Change-Id: I0e090f1d8dca70235615242f8993081c71ae6615
2015-05-16 17:28:48 +03:00
Andrey Pavlov f8af53b167 create tags' tests
Change-Id: Ic25c25e13f2c89e4179b5d926d3c8908fa4197b1
2015-03-05 09:35:39 +03:00
Andrey Pavlov 67eae1069d follow oslo
move to oslo.db and some other oslo libraries

Change-Id: I57e4f01bd46339cdfe3ed2e4748eb1e923cea584
2015-02-26 22:04:09 +03:00
alevine 7f26413767 Added validation for VPCController
Change-Id: I664e6628f1f89425356c7505a41b6feb9e6bf71c
2015-01-21 20:02:48 +04:00
alevine 918e56aeb0 Added all validators for main Controller.
Change-Id: Iea65e7e9f111593a7c009e6315f1d4f821535a35
2015-01-21 17:46:00 +04:00
alevine 46fc51f71c Added validation for security groups except for IP permissions.
Change-Id: Ie0135cc3e63c0faa7c4a9bfe84cf3469f2985e1a
2015-01-21 12:33:02 +04:00
alevine 33221d6806 Added validation for Address parameters
Change-Id: Ia9eda5fe1b37e1150163a8b3fefbb60ec20de360
2015-01-19 19:43:38 +04:00
Andrey Pavlov 0db4e8ed8b remove validator
Change-Id: I2847527fd2dd39dfb991e446d6d0ce3e65e5483c
2015-01-08 15:50:40 +03:00
alevine 6671fcdd57 Reworked validation mechanism once more
Change-Id: I2d833fc4c3a1d4178075354eddccfe9f195d3e3a
2014-12-30 17:11:44 +04:00
Feodor Tersin b8067571ed Port tests for register, format images, copied bdm functions
Change-Id: I115731db7edaf362f53baf058ac80e2ec6cf651a
2014-12-30 13:01:51 +04:00
alevine fa1397fe10 Reworked initial parameters validation mechanism
Change-Id: Icf9be8a9d1a70365be21c40e684a3184095947c2
2014-12-29 12:36:33 +04:00
Feodor Tersin bd25a18a1a Update copyright
Change-Id: I185fa28474fca0cc8666d6f59de251ce1f9683f2
2014-11-11 21:02:39 +04:00
Alexandre Levine 66826e9e5b Initial EC2-API service commit.
This code introduces standalone service which proxies its calls to
existing nova EC2-API.
All the code here except for the ec2api/api/proxy.py,
ec2api/api/ec2client.py and some util functions is taken from current
nova and unused functionality is cut of it.
The proxy.py and ec2client.py files implement the new code which
proxies incoming request (on port 8788) to original EC2 API in nova
on port 8773.
The result is transparently translated back to user.

Change-Id: I4cb84f833d7d4f0e379672710ed39562811d43e0
2014-07-18 19:33:55 -07:00