Closed stefanbschneider closed 5 years ago
Added custom image names and types in the CLI, but skipping it for now for the REST API. The problem is to pass multiple image names from the REST API to the CLI module. Apprently, argparse can easily parse multiple arguments from CLI, but not when they are passed directly. See https://stackoverflow.com/questions/54552574/argparse-use-parser-parse-args-with-nargs-and-args-rather-than-command-line-i
Actually, the problem wasn't in argparse
, but in how the REST args were parsed and handled by Flask Restplus (I used some kind of list append parser), which is now fixed with PR #67
Updates to facilitate integration with SDK portal: https://github.com/sonata-nfv/tng-portal/wiki/UPD-workflow-mockups