使用 sysrepo 将 o-ran-uplane-conf yang 模块安装到 o-ran-agg-uplane-conf yang 模块

问题描述 投票:0回答:1

我想将配置数据推送到 5G 分布式单元,无论使用 o-ran yang 模块从无线电单元获得什么。其中有一个聚合的yang模块o-ran-agg-uplane-conf,其中定义了一个挂载点来挂载o-ran-uplane-conf yang模块。
使用yang schema mounts填充以下配置数据

 "<schema-mounts xmlns=\"urn:ietf:params:xml:ns:yang:ietf-yang-schema-mount\">"
 "  <namespace>"
 "    <prefix>o-ran-uplane-conf</prefix>"
 "    <uri>urn:o-ran:uplane-conf</uri>"
 "  </namespace>"
 "  <mount-point>"
 "    <module>aggregated-o-ru</module>"
 "    <label>uplane-conf-root</label>"
 "    <config>false</config>"
 "    <inline/>"
 "  </mount-point>"
 "</schema-mounts>"

有人可以验证这是否正确,因为使用 sysrepo API 填充此内容,我仍然无法通过以下方式填充 RU 配置数据。

<aggregated-o-ru xmlns="urn:o-ran:agg-base:1.0">
  <aggregation>
    <ru-instance>1</ru-instance>
    <uplane-conf-model xmlns="urn:o-ran:agg-uplane-conf:1.0">
        <user-plane-configuration xmlns="urn:o-ran:uplane-conf:1.0">
          <tx-array-carriers>
            <name>txarraycarrier0</name>
            <absolute-frequency-center>646668</absolute-frequency-center>
            <center-of-channel-bandwidth>3700020000</center-of-channel-bandwidth>
            <channel-bandwidth>100000000</channel-bandwidth>
            <active>INACTIVE</active>
            <rw-duplex-scheme>TDD</rw-duplex-scheme>
            <rw-type>NR</rw-type>
            <gain>27.0</gain>
            <downlink-radio-frame-offset>0</downlink-radio-frame-offset>
            <downlink-sfn-offset>0</downlink-sfn-offset>
          </tx-array-carriers>
          <rx-array-carriers>
            <name>rxarraycarrier0</name>
            <absolute-frequency-center>646668</absolute-frequency-center>
            <center-of-channel-bandwidth>3700020000</center-of-channel-bandwidth>
            <channel-bandwidth>100000000</channel-bandwidth>
            <active>INACTIVE</active>
            <downlink-radio-frame-offset>0</downlink-radio-frame-offset>
            <downlink-sfn-offset>0</downlink-sfn-offset>
            <gain-correction>0.0</gain-correction>
            <n-ta-offset>25600</n-ta-offset>
          </rx-array-carriers>
        </user-plane-configuration>
    </uplane-conf-model>
  </aggregation>
</aggregated-o-ru>

有人可以告诉我我这样做是否正确吗?

我想知道如何使用 sysrepo 将 yang 模块正确安装到安装点中。

yang
1个回答
0
投票

yang-schema 挂载数据应如下所示,这是在 o-ran o1 规范中提到的。

  <schema-mounts>
        <namespace> 
            <prefix> o-ran-uplane-conf</prefix>
            <uri> urn:o-ran:uplane-conf:1.0</uri>
        </namespace>
        <mount-point>
            <module> o-ran-agg-uplane-conf</module>
            <label>uplane-conf-root</label>
            <config>true</config>
            <inline></inline>
        </mount-point>
    </schema-mounts>

我能够按如下方式推送聚合配置

<aggregated-o-ru xmlns="urn:o-ran:agg-base:1.0">
  <aggregation>
    <ru-instance>1</ru-instance>
    <uplane-conf-model xmlns="urn:o-ran:agg-uplane-conf:1.0">
                    <user-plane-configuration xmlns="urn:o-ran:uplane-conf:1.0">
                          <tx-array-carriers>
                            <name>txarraycarrier0</name>
                            <absolute-frequency-center>641280</absolute-frequency-center>
                            <center-of-channel-bandwidth>3700020000</center-of-channel-bandwidth>
                            <channel-bandwidth>100000000</channel-bandwidth>
                            <active>INACTIVE</active>
                            <rw-duplex-scheme>TDD</rw-duplex-scheme>
                            <rw-type>NR</rw-type>
                            <gain>27.0</gain>
                            <downlink-radio-frame-offset>0</downlink-radio-frame-offset>
                            <downlink-sfn-offset>0</downlink-sfn-offset>
                          </tx-array-carriers>
                          <rx-array-carriers>
                            <name>rxarraycarrier0</name>
                            <absolute-frequency-center>641280</absolute-frequency-center>
                            <center-of-channel-bandwidth>100000000</center-of-channel-bandwidth>
                            <channel-bandwidth>100000000</channel-bandwidth>
                            <active>INACTIVE</active>
                            <downlink-radio-frame-offset>0</downlink-radio-frame-offset>
                            <downlink-sfn-offset>0</downlink-sfn-offset>
                            <gain-correction>0.0</gain-correction>
                            <n-ta-offset>25600</n-ta-offset>
                          </rx-array-carriers>
                        </user-plane-configuration>
    </uplane-conf-model>
  </aggregation>
</aggregated-o-ru>
© www.soinside.com 2019 - 2024. All rights reserved.