From 908fe04b071e17feb1984cbc342ab9f45f325e18 Mon Sep 17 00:00:00 2001 From: Alex Stancu Date: Wed, 21 Apr 2021 09:08:17 +0300 Subject: [PATCH] Bugfix for SIM-64. NTS Manager unable to configure simulated NFs because of NACM modifications. Issue-ID: SIM-64 Change-Id: Ic1dc01b92bbc1c444a862e8c6bf2f54cd0ddd589 Signed-off-by: Alex Stancu --- ntsimulator/.env | 2 +- ntsimulator/docker-compose.yaml | 2 +- ntsimulator/ntsim-ng/core/nc_config.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ntsimulator/.env b/ntsimulator/.env index 3e1a682..c6de59b 100644 --- a/ntsimulator/.env +++ b/ntsimulator/.env @@ -1,4 +1,4 @@ -DOCKER_REPO=o-ran-sc/ +DOCKER_REPO=nexus3.o-ran-sc.org:10004/o-ran-sc/ NTS_MANAGER_PORT=8300 NTS_BUILD_VERSION=1.2.1 diff --git a/ntsimulator/docker-compose.yaml b/ntsimulator/docker-compose.yaml index 45f9ebf..6d0804b 100644 --- a/ntsimulator/docker-compose.yaml +++ b/ntsimulator/docker-compose.yaml @@ -1,7 +1,7 @@ version: '3.7' services: ntsim-ng: - image: "${DOCKER_REPO}nts-ng-manager:${NTS_BUILD_VERSION}" + image: "${DOCKER_REPO}ntsim-ng-manager:${NTS_BUILD_VERSION}" container_name: nts-ng-manager stop_grace_period: 5m ports: diff --git a/ntsimulator/ntsim-ng/core/nc_config.c b/ntsimulator/ntsim-ng/core/nc_config.c index 4357790..789f1e7 100644 --- a/ntsimulator/ntsim-ng/core/nc_config.c +++ b/ntsimulator/ntsim-ng/core/nc_config.c @@ -603,7 +603,7 @@ static int create_tls_listen_endpoints(struct lyd_node *netconf_node, int tls_co } sprintf(xpath, "/ietf-netconf-server:netconf-server/listen/endpoint[name='%s']/tls/tls-server-parameters/client-authentication/cert-maps/cert-to-name[id='1']/name", endpoint_name); - rcl = lyd_new_path(netconf_node, 0, xpath, "netconf-tls", 0, LYD_PATH_OPT_NOPARENTRET); + rcl = lyd_new_path(netconf_node, 0, xpath, "netconf", 0, LYD_PATH_OPT_NOPARENTRET); if(rcl == 0) { log_error("could not created yang path\n"); return NTS_ERR_FAILED; -- 2.16.6