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