+ return responses;
+ }
+
+ @ApiOperation(value = "Get RAN by name.", response = GetNodebResponse.class)
+ @RequestMapping(value = "/nodeb/{" + PP_RANNAME + "}", method = RequestMethod.GET)
+ public Object getNb(@PathVariable(PP_RANNAME) String ranName) {
+ logger.debug("getNb {}", ranName);
+ try {
+ return e2NodebApi.getNb(ranName);
+ } catch (HttpStatusCodeException ex) {
+ logger.warn("getNb failed: {}", ex.toString());
+ return ResponseEntity.status(HttpServletResponse.SC_BAD_GATEWAY).body(ex.getResponseBodyAsString());
+ }
+ }
+
+ // TODO replace with actual functionality
+ @ApiOperation(value = "Disconnect all RAN Connections.")
+ @RequestMapping(value = "/disconnectAllRAN", method = RequestMethod.DELETE)
+ public void disconnectAllRANConnections() {
+ logger.debug("disconnectAllRANConnections");
+ responses.clear();