diff options
author | laili <lai.li@zte.com.cn> | 2018-08-22 14:27:29 +0800 |
---|---|---|
committer | yunlong ying <ying.yunlong@zte.com.cn> | 2018-08-22 06:59:35 +0000 |
commit | ba7c629d85adf6c99be6195e16cc69da51f96641 (patch) | |
tree | 284d1131bbb39baacd0f047b5268439fe9867058 | |
parent | 22c63295b8911a9d980c750c489c021e84bcdd7f (diff) |
Ns descriptor related stuffs.
Modify the urlpattern of ns descriptors.
Change-Id: Ieae448f93e5623bd93b3fbb0648b58bf577d7102
Issue-ID: VFC-1037
Signed-off-by: laili <lai.li@zte.com.cn>
-rw-r--r-- | catalog/packages/urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog/packages/urls.py b/catalog/packages/urls.py index 75d4c71f..d7d22ec9 100644 --- a/catalog/packages/urls.py +++ b/catalog/packages/urls.py @@ -29,8 +29,8 @@ urlpatterns = [ url(r'^api/catalog/v1/parservnfd$', catalog_views.vnf_model_parser, name='vnfmodelparser_rc'), # NSD - url(r'^api/nsd/v1/ns_descriptors$', ns_descriptor_views.create_ns_descriptors, name='ns_descriptors_rc'), - url(r'^api/nsd/v1/ns_descriptors$', ns_descriptor_views.query_ns_descriptors, name='ns_info_rd'), + url(r'^api/nsd/v1/ns_descriptors$', ns_descriptor_views.ns_descriptors_rc, name='ns_descriptors_rc'), + url(r'^api/nsd/v1/ns_descriptors/(?P<nsdInfoId>[0-9a-zA-Z\-\_]+)$', ns_descriptor_views.ns_info_rd, name='ns_info_rd'), url(r'^api/nsd/v1/ns_descriptors/(?P<nsdInfoId>[0-9a-zA-Z\-\_]+)/nsd_content$', nsd_content_views.upload_nsd_content, name='nsd_content_ru'), # PNF |