X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ntsimulator%2Fdeploy%2Fbase%2Fyang%2Fnts-common.yang;h=69ac506d08bd842f489a06258a7553c179d62c55;hb=f379349d310d61b27d2c0bf7334d2268cc8f42e2;hp=86d7b3e8a51dce1dd06d5c40cbc730258a09330c;hpb=3bbf9d8a3c81afebcffb2b926cef219336dd53d6;p=sim%2Fo1-interface.git diff --git a/ntsimulator/deploy/base/yang/nts-common.yang b/ntsimulator/deploy/base/yang/nts-common.yang index 86d7b3e..69ac506 100644 --- a/ntsimulator/deploy/base/yang/nts-common.yang +++ b/ntsimulator/deploy/base/yang/nts-common.yang @@ -18,6 +18,18 @@ module nts-common { description "This module contains common yang definitions YANG definitions for the Network Topology Simulator."; + revision 2021-10-29 { + description + "Added separete SDN Controller IP address for NETCONF Call Home."; + reference + "O-RAN-SC SIM project"; + } + revision 2021-06-08 { + description + "Moved NTS_PROTOCOL_TYPE_BASE identities from nts-manager."; + reference + "O-RAN-SC SIM project"; + } revision 2021-03-26 { description "Added controller-protocol."; @@ -55,6 +67,47 @@ module nts-common { "O-RAN-SC SIM project"; } + identity NTS_PROTOCOL_TYPE_BASE { + description + "Base identity for protocol."; + } + + identity NTS_PROTOCOL_TYPE_NETCONF_SSH { + base NTS_PROTOCOL_TYPE_BASE; + description + "Identity for NETCONF SSH protocol."; + } + + identity NTS_PROTOCOL_TYPE_NETCONF_TLS { + base NTS_PROTOCOL_TYPE_BASE; + description + "Identity for NETCONF TLS protocol."; + } + + identity NTS_PROTOCOL_TYPE_FTP { + base NTS_PROTOCOL_TYPE_BASE; + description + "Identity for FTP protocol."; + } + + identity NTS_PROTOCOL_TYPE_SFTP { + base NTS_PROTOCOL_TYPE_BASE; + description + "Identity for SFTP protocol."; + } + + identity NTS_PROTOCOL_TYPE_HTTP { + base NTS_PROTOCOL_TYPE_BASE; + description + "Identity for HTTP protocol."; + } + + identity NTS_PROTOCOL_TYPE_HTTPS { + base NTS_PROTOCOL_TYPE_BASE; + description + "Identity for HTTPS protocol."; + } + feature faults-status { description "This means that the server supports reporting back the number of faults that were generated"; @@ -281,7 +334,7 @@ module nts-common { "The protocol used for communication with the SDN Controller."; } leaf controller-ip { - type inet:ip-address; + type inet:host; description "The IP address of the SDN Controller."; } @@ -290,6 +343,11 @@ module nts-common { description "The port exposed by the SDN Controller."; } + leaf controller-netconf-call-home-ip { + type inet:host; + description + "The IP address of the SDN Controller for the NETCONF Call Home connection."; + } leaf controller-netconf-call-home-port { type inet:port-number; description @@ -326,7 +384,7 @@ module nts-common { "The protocol (HTTP / HTTPS) to be used to address the VES Collector."; } leaf ves-endpoint-ip { - type inet:ip-address; + type inet:host; description "The IP address of the VES Collector."; }