Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
774ee71e
Commit
774ee71e
authored
Jan 09, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
89d7dfe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
44 deletions
+44
-44
software/ors-amarisoft/test/test.py
software/ors-amarisoft/test/test.py
+44
-44
No files found.
software/ors-amarisoft/test/test.py
View file @
774ee71e
...
@@ -404,51 +404,51 @@ class TestENB_Lopcomm(ENBTestCase):
...
@@ -404,51 +404,51 @@ class TestENB_Lopcomm(ENBTestCase):
return
xmltodict
.
parse
(
cu
)
return
xmltodict
.
parse
(
cu
)
cu1
=
CU
(
1
)
cu1
=
CU
(
1
)
print
(
cu1
)
uplane
=
cu1
[
'xc:config'
][
'user-plane-configuration'
]
assertMatch
(
t
,
cu1
,
{
assertMatch
(
t
,
cu1
,
{
'user-plane-configuration'
:
{
'xc:config'
:
{
'tx-endpoints'
:
[
'user-plane-configuration'
:
{
{
'name'
:
'TXA0P00C00'
,
'e-axcid'
:
{
'eaxc-id'
:
0
}},
'tx-endpoints'
:
[
{
'name'
:
'TXA0P00C01'
,
'e-axcid'
:
{
'eaxc-id'
:
1
}},
{
'name'
:
'TXA0P00C00'
,
'e-axcid'
:
{
'eaxc-id'
:
0
}},
{
'name'
:
'TXA0P01C00'
,
'e-axcid'
:
{
'eaxc-id'
:
2
}},
{
'name'
:
'TXA0P00C01'
,
'e-axcid'
:
{
'eaxc-id'
:
1
}},
{
'name'
:
'TXA0P01C01'
,
'e-axcid'
:
{
'eaxc-id'
:
3
}},
{
'name'
:
'TXA0P01C00'
,
'e-axcid'
:
{
'eaxc-id'
:
2
}},
],
{
'name'
:
'TXA0P01C01'
,
'e-axcid'
:
{
'eaxc-id'
:
3
}},
'tx-links'
:
[
],
{
'name'
:
'TXA0P00C00'
,
'tx-endpoint'
:
'TXA0P00C00'
},
'tx-links'
:
[
{
'name'
:
'TXA0P00C01'
,
'tx-endpoint'
:
'TXA0P00C01'
},
{
'name'
:
'TXA0P00C00'
,
'tx-endpoint'
:
'TXA0P00C00'
},
{
'name'
:
'TXA0P01C00'
,
'tx-endpoint'
:
'TXA0P01C00'
},
{
'name'
:
'TXA0P00C01'
,
'tx-endpoint'
:
'TXA0P00C01'
},
{
'name'
:
'TXA0P01C01'
,
'tx-endpoint'
:
'TXA0P01C01'
},
{
'name'
:
'TXA0P01C00'
,
'tx-endpoint'
:
'TXA0P01C00'
},
],
{
'name'
:
'TXA0P01C01'
,
'tx-endpoint'
:
'TXA0P01C01'
},
'rx-endpoints'
:
[
],
{
'name'
:
'RXA0P00C00'
,
'e-axcid'
:
{
'eaxc-id'
:
0x00
}},
'rx-endpoints'
:
[
{
'name'
:
'PRACH0P00C00'
,
'e-axcid'
:
{
'eaxc-id'
:
0x18
}},
{
'name'
:
'RXA0P00C00'
,
'e-axcid'
:
{
'eaxc-id'
:
0x00
}},
{
'name'
:
'RXA0P00C01'
,
'e-axcid'
:
{
'eaxc-id'
:
0x01
}},
{
'name'
:
'PRACH0P00C00'
,
'e-axcid'
:
{
'eaxc-id'
:
0x18
}},
{
'name'
:
'PRACH0P00C01'
,
'e-axcid'
:
{
'eaxc-id'
:
0x19
}},
{
'name'
:
'RXA0P00C01'
,
'e-axcid'
:
{
'eaxc-id'
:
0x01
}},
],
{
'name'
:
'PRACH0P00C01'
,
'e-axcid'
:
{
'eaxc-id'
:
0x19
}},
'rx-links'
:
[
],
{
'name'
:
'RXA0P00C00'
,
'rx-endpoint'
:
'RXA0P00C00'
},
'rx-links'
:
[
{
'name'
:
'PRACH0P00C00'
,
'rx-endpoint'
:
'PRACH0P00C00'
},
{
'name'
:
'RXA0P00C00'
,
'rx-endpoint'
:
'RXA0P00C00'
},
{
'name'
:
'RXA0P00C01'
,
'rx-endpoint'
:
'RXA0P00C01'
},
{
'name'
:
'PRACH0P00C00'
,
'rx-endpoint'
:
'PRACH0P00C00'
},
{
'name'
:
'PRACH0P00C01'
,
'rx-endpoint'
:
'PRACH0P00C01'
},
{
'name'
:
'RXA0P00C01'
,
'rx-endpoint'
:
'RXA0P00C01'
},
],
{
'name'
:
'PRACH0P00C01'
,
'rx-endpoint'
:
'PRACH0P00C01'
},
# CELL1 FDD LTE(100) BW(5)
],
'tx-array-carriers'
:
{
# CELL1 FDD LTE(100) BW(5)
'rw-duplex-scheme'
:
'FDD'
,
'tx-array-carriers'
:
{
'rw-type'
:
'LTE'
,
'rw-duplex-scheme'
:
'FDD'
,
'absolute-frequency-center'
:
100
,
'rw-type'
:
'LTE'
,
'center-of-channel-bandwidth'
:
2120e6
,
'absolute-frequency-center'
:
100
,
'channel-bandwidth'
:
5e6
,
'center-of-channel-bandwidth'
:
2120e6
,
'gain'
:
'XXX'
,
'channel-bandwidth'
:
5e6
,
'active'
:
'XXX'
,
'gain'
:
'XXX'
,
},
'active'
:
'XXX'
,
'rx-array-carriers'
:
{
},
'absolute-frequency-center'
:
18100
,
'rx-array-carriers'
:
{
'center-of-channel-bandwidth'
:
1930e6
,
'absolute-frequency-center'
:
18100
,
'channel-bandwidth'
:
5e6
,
'center-of-channel-bandwidth'
:
1930e6
,
# XXX no <gain>ru.rx_gain</gain> TODO(lu): clarify this with Lopcomm
'channel-bandwidth'
:
5e6
,
'active'
:
'XXX'
,
# XXX no <gain>ru.rx_gain</gain> TODO(lu.xu): clarify this with Lopcomm
},
'active'
:
'XXX'
,
},
}
}
}
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment