Gitiles
Code Review
Sign In
gerrit.opencord.org
/
monitoring
/
638c65f164837f4f767b53d378984b2b06c3784b
/
.
/
xos
/
attic
/
monitoringchannel_bottom.py
blob: 00f188e15e4a6515a26722c103abdde32a2d81ea [
file
] [
log
] [
blame
]
def
model_policy_monitoring_channel
(
pk
):
# TODO: this should be made in to a real model_policy
with
transaction
.
atomic
():
mc
=
MonitoringChannel
.
objects
.
select_for_update
().
filter
(
pk
=
pk
)
if
not
mc
:
return
mc
=
mc
[
0
]
mc
.
manage_container
()