Bugfix for SIM-64. 15/5915/1
authorAlex Stancu <alexandru.stancu@highstreet-technologies.com>
Wed, 21 Apr 2021 06:08:17 +0000 (09:08 +0300)
committerAlex Stancu <alexandru.stancu@highstreet-technologies.com>
Wed, 21 Apr 2021 06:08:24 +0000 (09:08 +0300)
NTS Manager unable to configure simulated NFs because of NACM modifications.

Issue-ID: SIM-64
Change-Id: Ic1dc01b92bbc1c444a862e8c6bf2f54cd0ddd589
Signed-off-by: Alex Stancu <alexandru.stancu@highstreet-technologies.com>
ntsimulator/.env
ntsimulator/docker-compose.yaml
ntsimulator/ntsim-ng/core/nc_config.c

index 3e1a682..c6de59b 100644 (file)
@@ -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
 
index 45f9ebf..6d0804b 100644 (file)
@@ -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:
index 4357790..789f1e7 100644 (file)
@@ -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;