Skip to content

Instantly share code, notes, and snippets.

@oberstet
Created February 12, 2021 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oberstet/8265647ef3f4a820b5a3c49506825e11 to your computer and use it in GitHub Desktop.
Save oberstet/8265647ef3f4a820b5a3c49506825e11 to your computer and use it in GitHub Desktop.
(cpy391_4) oberstet@intel-nuci7:~/scm/s-things/thingcloud$ make build
*************************************************************
flatc -o ./thingcloud/api/schema/ --binary --schema --bfbs-comments --bfbs-builtins ./thingcloud/api/idl/*.fbs
Generated Flatbuffers binary schema files:
./thingcloud/api/schema/
./thingcloud/api/schema/device.bfbs
./thingcloud/api/schema/firewall.bfbs
./thingcloud/api/schema/common.bfbs
./thingcloud/api/schema/README.md
./thingcloud/api/schema/automation.bfbs
*************************************************************
flatc -o ./thingcloud/api/binding/ --python ./thingcloud/api/idl/*.fbs
Generated Python interface bindings:
20 text files.
20 unique files.
7 files ignored.
github.com/AlDanial/cloc v 1.74 T=0.05 s (392.9 files/s, 32847.5 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Python 19 257 314 1100
Markdown 1 0 0 1
-------------------------------------------------------------------------------
SUM: 20 257 314 1101
-------------------------------------------------------------------------------
*************************************************************
xbrnetwork codegen-schema --schema ./thingcloud/api/schema/ --language python --output ./thingcloud/api/proxystub/
processing schema /home/oberstet/scm/s-things/thingcloud/thingcloud/api/schema/device.bfbs (6848 bytes) ..
processing schema /home/oberstet/scm/s-things/thingcloud/thingcloud/api/schema/firewall.bfbs (4488 bytes) ..
duplicate object for name "Oid"
duplicate object for name "Oids"
duplicate object for name "Void"
processing schema /home/oberstet/scm/s-things/thingcloud/thingcloud/api/schema/common.bfbs (448 bytes) ..
duplicate object for name "Oid"
duplicate object for name "Oids"
duplicate object for name "Void"
processing schema /home/oberstet/scm/s-things/thingcloud/thingcloud/api/schema/automation.bfbs (11952 bytes) ..
duplicate object for name "Oid"
duplicate object for name "Oids"
duplicate object for name "Void"
{'enums': ['com.things.home.automation.AutomationState',
'com.things.home.automation.ServiceEngineType',
'com.things.home.device.HomeDeviceType',
'com.things.home.firewall.DnsFilterAction',
'com.things.home.firewall.DnsFilterMatch'],
'objs': ['Oid',
'Oids',
'Void',
'com.things.home.automation.Automation',
'com.things.home.automation.AutomationStatus',
'com.things.home.automation.Component',
'com.things.home.automation.Library',
'com.things.home.automation.Service',
'com.things.home.automation.ServiceEngine',
'com.things.home.device.HomeDevice',
'com.things.home.device.HomeDeviceModel',
'com.things.home.device.HomeDeviceVendor',
'com.things.home.firewall.DnsFilterRule',
'com.things.home.firewall.DnsFilterRuleSet'],
'schemata': ['/home/oberstet/scm/s-things/thingcloud/thingcloud/api/schema/automation.bfbs',
'/home/oberstet/scm/s-things/thingcloud/thingcloud/api/schema/common.bfbs',
'/home/oberstet/scm/s-things/thingcloud/thingcloud/api/schema/device.bfbs',
'/home/oberstet/scm/s-things/thingcloud/thingcloud/api/schema/firewall.bfbs'],
'services': ['com.things.home.automation.IAutomation',
'com.things.home.automation.IComponent',
'com.things.home.device.IHomeDevice']}
Ok, written 9980 bytes to ./thingcloud/api/proxystub/__init__.py
Ok, written 50625 bytes to ./thingcloud/api/proxystub/com/things/home/device.py
Ok, written 19136 bytes to ./thingcloud/api/proxystub/com/things/home/test_device.py
Ok, written 24564 bytes to ./thingcloud/api/proxystub/com/things/home/firewall.py
Ok, written 12351 bytes to ./thingcloud/api/proxystub/com/things/home/test_firewall.py
Ok, written 89830 bytes to ./thingcloud/api/proxystub/com/things/home/automation.py
Ok, written 32537 bytes to ./thingcloud/api/proxystub/com/things/home/test_automation.py
Generated Python interface bindings:
11 text files.
11 unique files.
0 files ignored.
github.com/AlDanial/cloc v 1.74 T=0.18 s (61.7 files/s, 147117.9 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Python 10 4128 4876 17242
Markdown 1 0 0 1
-------------------------------------------------------------------------------
SUM: 11 4128 4876 17243
-------------------------------------------------------------------------------
(cpy391_4) oberstet@intel-nuci7:~/scm/s-things/thingcloud$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment