Gitiles
Code Review
Sign In
gerrit.opencord.org
/
voltha
/
69fba863d5e6b8835946493f23c48a0b6a01ca8e
/
.
/
experiments
/
extensions
/
write_generic.py
blob: 1cfca6c7bed8d7b17bde366bf1573da7ac686b0c [
file
] [
log
] [
blame
]
#!/usr/bin/env python
"""
Write adapter data without any custom fields
"""
import
sys
from
voltha
.
protos
import
adapter_pb2
adapter
=
adapter_pb2
.
Adapter
(
id
=
'42'
,
config
=
adapter_pb2
.
AdapterConfig
()
)
sys
.
stdout
.
write
(
adapter
.
SerializeToString
())