Gitiles
Code Review
Sign In
gerrit.opencord.org
/
voltha
/
7b312564a62e175fc385646a07e2acd3996d0cb0
/
.
/
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
())