client = Client()
if type_descriptor == 'nsd':
result = client.nsd_get(descriptor_id)
- print result
+
elif type_descriptor == 'vnfd':
result = client.vnfd_get(descriptor_id)
- print result
except Exception as e:
log.exception(e)
result = {}
else:
return False
result = yaml.load(result)
- print result
+
except Exception as e:
log.exception(e)
result = False
- print result
+
return result
def get_add_element(self, request):
except Exception as e:
log.exception(e)
result = False
- print result
return result
@staticmethod
except Exception as e:
log.exception(e)
result = False
- print result
return result
\ No newline at end of file