Merge branch 'develop' of https://github.com/coreemu/core into develop
This commit is contained in:
commit
d1d6c401f0
1 changed files with 2 additions and 2 deletions
|
@ -854,9 +854,9 @@ class CoreGrpcServer(core_pb2_grpc.CoreApiServicer):
|
|||
def SetWlanConfig(self, request, context):
|
||||
logging.debug("set wlan config: %s", request)
|
||||
session = self.get_session(request.session_id, context)
|
||||
node = self.get_node(session, request.node_id, context)
|
||||
session.mobility.set_model_config(node.id, BasicRangeModel.name, request.config)
|
||||
session.mobility.set_model_config(request.node_id, BasicRangeModel.name, request.config)
|
||||
if session.state == EventTypes.RUNTIME_STATE.value:
|
||||
node = self.get_node(session, request.node_id, context)
|
||||
node.updatemodel(request.config)
|
||||
return core_pb2.SetWlanConfigResponse(result=True)
|
||||
|
||||
|
|
Loading…
Reference in a new issue