Change-Id: I98666f105117194cad27dd6b3686cbec72574f3c
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
ipc_mode = u.get("ipc_mode", None)
# 5.4 handle optional devices setting
devices = u.get("devices", [])
+ # 5.5 handle optional cap_add setting
+ cap_add = u.get("cap_add", [])
# 6. Start the container
LOG.info("Starting %r as %r in DC %r" %
publish_all_ports=False,
ipc_mode=ipc_mode,
devices=devices,
+ cap_add=cap_add,
type=kwargs.get('type', 'docker'))
# add vnfd reference to vnfi
vnfi.vnfd = vnfd