Commit Graph

393 Commits (bb17197016d3b6cd96ea65d39f2b577a54b28e55)
 

Author SHA1 Message Date
Zuul bb17197016 Merge "Replace uuid.uuid4() with uuidutils.generate_uuid()" 5 years ago
wangqi 85197a92d3 Replace uuid.uuid4() with uuidutils.generate_uuid()
Since oslo.utils provide the ability to generate the uuid string,
and some others use oslo.utils[0] too. For consistency, this ps
replaces uuid.uuid4() with uuidutils.generate_uuid().

Change-Id: I0513d43e62ecec19a8df6fd62b5e8d2e1e2f4803
5 years ago
Zuul d1a543bca0 Merge "Add exception for policy deleted objects" 5 years ago
Zuul f01d3f0289 Merge "Adding vpn + dhcp unit tests" 5 years ago
wangqi 23ca97efa5 tox: Remove unnecessary configuration
These were either unnecessary or overrode default configuration

Change-Id: I237942a0152e860854732168b4d4cb798d0d1fb9
5 years ago
Zuul fb13e32755 Merge "Really remove tox_install.sh" 5 years ago
OpenStack Proposal Bot a2cb6145b7 Updated from global requirements
Change-Id: I67d3f679caefdf3b19bc90e700dee21af28aac1d
5 years ago
Adit Sarfaty a4a11df7e2 Add exception for policy deleted objects
For the NSX policy manager, if an object was deleted, it cannot be
recreated immediately with the same name/path, and should wait until
it is permanently deleted from the backend.
This patch adds the error code and exception for this case.

Change-Id: Icaa41ada29209b476963a8cee4362f211ef02c66
5 years ago
OpenStack Proposal Bot fcf501eee5 Updated from global requirements
Change-Id: Ia3796c0ca5d758076db7b26c54fce7abc14976ce
5 years ago
Andreas Jaeger 3e298344cd Really remove tox_install.sh
https://review.openstack.org/#/c/553046/ removed useage of
tox_install.sh but forgot to actually remove the file, do this now.

Change-Id: Iaa8c8c00acc1c8f37987d47de253c01948ae93fa
5 years ago
Adit Sarfaty 9e2e758911 Adding vpn + dhcp unit tests
Change-Id: I4941b2f1ebcfbf855700fb417527ba9c1f18e23b
5 years ago
Zuul 3483579700 Merge "Policy: support multiple services in a communication map" 5 years ago
Adit Sarfaty 44d566d636 Policy: support multiple services in a communication map
Change-Id: I982b04e428f86168838c114b233e646d332dde28
5 years ago
Zuul 13290b534f Merge "Policy make edge cluster & transport zones optional" 5 years ago
Adit Sarfaty 1cc6aefb62 Support NO_SNAT & NO_DNAT rules in NSX 2.2
Adding flag ro mark the support of new NAAT rules actions in version
2.2, and adding validation for this field on create & update.

Change-Id: I4d99193caac6940911cc071016359a1361428967
5 years ago
Adit Sarfaty 79577e955e Policy make edge cluster & transport zones optional
Commit I98ebb3130a3f6e62d36895a6709d33683d9e6093 added the
communication parameters to the policy enformcment point
This patch also handles the case of null values for the new
parameters

Change-Id: I192b891be23a4cde4e43284affb4040442b4f798
5 years ago
Zuul f680a5acd2 Merge "Retry search calls on error" 5 years ago
Adit Sarfaty cc6a5cb498 Add more update options to VPN objects
Change-Id: Ieb9da32b6f3b908dda7b4c5b99cb4ca2b79c9286
5 years ago
Adit Sarfaty 8676000486 Retry search calls on error
Search queries sometimes return error 400 with:
error_code: 60508
error_message: 'Indexing is in progress, please retry after sometime.

This patche will retry the request on this error.

Change-Id: Id47886ba0e72ea946dcf07ae0bdbc81fef1dd4f0
5 years ago
Zuul 085766350e Merge "Avoid tools/tox_install.sh" 5 years ago
OpenStack Proposal Bot 8512f1f32c Updated from global requirements
Change-Id: I2ef764e182954109fb8c0b17867427e8ad0f5482
5 years ago
Andreas Jaeger 5efa58c4e3 Avoid tools/tox_install.sh
Remove tools/tox_install.sh and adjust tox.ini for using it.
There's no need for this anymore.

Change-Id: I2d26dc7f6934f6f08540acb1e866e4d012c004a1
5 years ago
OpenStack Proposal Bot cce8806f7f Updated from global requirements
Change-Id: Id5328167ec8a2552a4fe87410874e2930c46c0b2
5 years ago
Zuul e77684506d Merge "NsxLibMetadataProxy: get md proxy status function" 5 years ago
Michal Kelner Mishali 966e146df6 NsxLibMetadataProxy: get md proxy status function
New function under core_resources/NsxLibMetadataProxy to retrieve
md_proxy status.

Change-Id: I9b4e8520965878c949bee5129fa5c20a4b80671d
Signed-off-by: Michal Kelner Mishali <mkelnermishal@vmware.com>
5 years ago
OpenStack Proposal Bot cd8ff1af43 Updated from global requirements
Change-Id: Ieb43f449b07d5fbe5fa7acbba2cf8461e0d7179f
5 years ago
Adit Sarfaty b87e94457c Separate native DHCP apis to allow external usage
In order to allow update of a dhcp server, some apis needed to be exposed.

Change-Id: I07658bdaabe919f94dc877585206c76a1191f16c
5 years ago
Zuul 649ffdecfc Merge "Policy: Add connection information to enforcement points" 5 years ago
Zuul ef94a4cd0c Merge "Refactor policy code to match the new NSX" 5 years ago
Zuul e69d8de2e6 Merge "Enabled adding tags to nat rules" 5 years ago
Zuul 7b8d519caa Merge "Remove some old TODOs from the code" 5 years ago
Adit Sarfaty df1b50f094 Remove some old TODOs from the code
TrivialFix

Change-Id: I48004e1da900971b3909b5417c3798e7c9722a80
5 years ago
Gary Kotton 4447dcaed9 Enabled adding tags to nat rules
The following methods now have the ability to add tags:
- add_fip_nat_rules
- add_gw_snat_rule
- add_nat_rule

Change-Id: I6dc34ab3749ff4a5f1a575f407d8474538c69f96
5 years ago
Adit Sarfaty 1849131a06 Add router transport zone
In NSX 2.2 & up, there is a logical router advanced config of
an overlay transport-zone-id.
Also adding a router api to get the tier0 router overlay TZ to
be used here.

Change-Id: I3a447202785b7b6ac320ddbb6a3f2cdeac1f78aa
5 years ago
Adit Sarfaty af56e15ff0 Add Transport Nodes api support & router TZ support
1. Add support for the transport nodes resource basic operations
2. Use it for getting the list of TZ of a tier0 router

Change-Id: I381c947044454c04efbc1c38ed7691ef8213ffef
5 years ago
Adit Sarfaty de0c8e29a4 migrate to stestr
ostestr is no longer installed by default by infra and will be totally
removed longer term; stestr [1] is its replacement.

This is the reason out gate is failing with the following today:

nsx/tools/ostestr_compat_shim.sh: ostestr: not found

This patch moves us to stestr by:
- Updating tox.ini to use stestr rather than call ostestr_compat_shim.sh
and in turn ostestr.
- Removing ostestr_compat_shim.sh as its no longer used.

Change-Id: I1f97df69500058a7d330f7be5735a54c68f35559
5 years ago
Adit Sarfaty e0ad9472e5 Policy: Add connection information to enforcement points
Adding edge-cluster-id and transport-zone-id to the enforcement points
connection info

Change-Id: I98ebb3130a3f6e62d36895a6709d33683d9e6093
5 years ago
Adit Sarfaty 31f2095cc1 Refactor policy code to match the new NSX
The NSX policy manager changed the supported apis:
- Use PATCH instead of POST
- Remove the Communication profiles
- Add ID to communication maps, and allow multiple maps

Change-Id: I8cb2dd21892fd9e0878653f5667187fef76a3315
5 years ago
wangqi 5f64eceb69 fix typo in tox_install.sh
Change-Id: I6e5b3489343abf268bd27ce4b148ab3f3d2c652f
5 years ago
Zuul c25f33e163 Merge "VPN DPD timeout changes" 5 years ago
Zuul aa7a40051e Merge "VPN policy rules update" 5 years ago
Zuul c46c38e8c2 Merge "Add support for http PATCH method" 5 years ago
wangqi ae53b87aef change http with https
Change-Id: Ic9aa2bdc1c885089ae2c854907a94d500daf8f90
5 years ago
Zuul 892db21adb Merge "fix error url" 5 years ago
Anna Khmelnitsky f8d80792e5 Add support for http PATCH method
This is needed for NSX Policy

Change-Id: Ic2e3803be1c13d4dee6cb62a6bd4b4dd83d7cf10
5 years ago
Adit Sarfaty b1aeec6d76 VPN DPD timeout changes
The NSX implementation changed the DPD timeout limits and field name

Change-Id: Ic4ad0484685e4aeb7054bcfa52551beea8fe0cd9
5 years ago
Adit Sarfaty 3d4cb671fb VPN policy rules update
The NSX policy rules changed on the nSX.
The session rules will always be 'protect' rules,
and bypass rules were added to the vpn service.

Change-Id: I2dbf54544e7b49b828c5372f792e55fb1bd19d7c
5 years ago
Adit Sarfaty 2656e43357 Fix rate-limit attribute name
Backend NSX changed it.

Change-Id: Id5a04538c9416af2640d941715106f768e6bd1aa
5 years ago
melissaml cee37a255a fix error url
Change-Id: I36ba9ce956345e9496f3bc09b05355c6b7254f35
5 years ago
Gary Kotton df13d53903 Enable router interface to have 'centralized' type
This is required when we have a VLAN network that needs to be
attached to a router

Change-Id: I34ae08841158635e10ec4bd4518db4712ba4e984
5 years ago