(Boeing r1763)
include server TLV when generating node messages useful for Python scripts that generate messages for feeding into the broker
This commit is contained in:
parent
0694a20793
commit
83d238c691
1 changed files with 4 additions and 0 deletions
|
@ -128,6 +128,10 @@ class PyCoreObj(object):
|
|||
if hasattr(self, "type") and self.type is not None:
|
||||
tlvdata += coreapi.CoreNodeTlv.pack(coreapi.CORE_TLV_NODE_MODEL,
|
||||
self.type)
|
||||
if hasattr(self, "server") and self.server is not None:
|
||||
tlvdata += coreapi.CoreNodeTlv.pack(coreapi.CORE_TLV_NODE_EMUSRV,
|
||||
self.server)
|
||||
|
||||
|
||||
if x is not None:
|
||||
tlvdata += coreapi.CoreNodeTlv.pack(coreapi.CORE_TLV_NODE_XPOS, x)
|
||||
|
|
Loading…
Reference in a new issue