Gitiles
Code Review
Sign In
gerrit.opencord.org
/
onos-service
/
a81499e2b06bce808510fd6e4189be2bda662d5b
/
.
/
xos
/
attic
/
onosapp_model.py
blob: 8ac7d9e6855d526bc806b268cf281fcc67110e69 [
file
] [
log
] [
blame
]
def
__init__
(
self
,
*
args
,
**
kwargs
):
onos_services
=
ONOSService
.
objects
.
all
()
if
onos_services
:
self
.
_meta
.
get_field
(
"owner"
).
default
=
onos_services
[
0
].
id
super
(
ONOSApp
,
self
).
__init__
(*
args
,
**
kwargs
)