Uploaded image for project: 'Virtual Function Controller'
  1. Virtual Function Controller
  2. VFC-896

vim-id in AAI is handled as a mandatory parameter

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: Casablanca Release
    • Fix Version/s: Casablanca Release
    • Labels:
      None

      Description

      In AAI esr-vnfm: object

       - vim-id: string indicate the VIM to deploy VNF.

      The vim-id is just an indication where to deploy the VNF by default, but it is not a mandatory parameter.

      • the def select_vnfm(vnfm_type, vim_id): in vfc/nfvo/lcm/lcm/pub/msapi/extsys.py makes it mandatory to fill out the VIM id. 
      • the same problem arises when the VNFM information is deserialised (mandatory)

      2018-05-07 09:11:17,854:[lcm.ns.vnfs.views]:[views.py]-[274] [ERROR]:{'vimId': [u'This field may not be blank.']}
      2018-05-07 09:11:17,855:[lcm.ns.vnfs.views]:[views.py]-[275] [ERROR]:Traceback (most recent call last):
      File "/service/vfc/nfvo/lcm/lcm/ns/vnfs/views.py", line 268, in get
      raise Exception(resp_serializer.errors)
      Exception: {'vimId': [u'This field may not be blank.']}

      If VF-C uses the vimId parameter to limit the scope of the VNFM, than one VNFM is limited to a single cloud instance.

      Could someone from VF-C team comment what is the expected behaviour?

      1. Make vim-id in AAI mandatory
      2. If the vim-id is empty than the VNFM is not limited to that single cloud (preferred)

       

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              yangyan Yan Yang
              Reporter:
              thelittlemouse Dénes Németh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: