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