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