sonata-nfv / son-gkeeper

SONATA's Service Platform Gatekeeper
http://www.sonata-nfv.eu
Apache License 2.0
2 stars 18 forks source link

Make Location info available in VIM #637

Closed santiagordguez closed 7 years ago

santiagordguez commented 7 years ago

It's needed to make available the location info in the "GET vims" requests that allows the BSS to show the list of available locations where to configure the network services.

Related to https://github.com/sonata-nfv/son-bss/issues/82

jbonnet commented 7 years ago

@srodriguezOPT, @DarioValocchi Is this a VIM-related issue (the list of locations) or more a WIM-related one (see #619)?

CC: @felipevicens

santiagordguez commented 7 years ago

Hi @jbonnet, @DarioValocchi

I'm retrieving all the vim requests from GK with $http.get(ENV.apiEndpoint+"/vims"). With these requests BSS can obtain the location info: $http.get(ENV.apiEndpoint+"/vims/"+vimRequest)

obtaining something like {"vim_uuid":"1111-22222222-33333333-4441","vim_city":"Athens","vim_name":"Athens-200","vim_endpoint":"10.100.32.200","memory_used":12288,"memory_total":51200,"core_used":6,"core_total":20}

"vim_city" will be our location field and no new development will be required in the gatekeeper

jbonnet commented 7 years ago

Oh, great, @srodriguezOPT ! Can yu close the issue?

DarioValocchi commented 7 years ago

Hi @srodriguezOPT , that is exactly the field we're supposed to use for this purpose.