Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

OBJ::jsprint

Walk the graph from node/refId, reconstruct the object.

findjsobjects -p propname

select edges with name propname, list source nodes of those edges

findjsobjects -c CONSTRUCTOR,

select nodes with 'constructor' in values (NB: currently we don't differentiate), select edges with dest at those nodes select source nodes of those edges

findjsobjects -r

given the target object, select edges with dest(obj), select source nodes

findvars VARNAME

select closure variable edges with name 'varname', select source nodes.

OTHERS & post-production

Transitive closure of the graph gives a faster list of all nodes reachable from a given node, but does have a rather large edge explosion (factorial on path length?).

  • Graph walking to apply labels, e.g.,
    • in-degree, out-degree (easier searching)
    • size (for composition)
It was me!
This file has been truncated, but you can view the full file.
{"name":"sdcadm","component":"instances","req_id":"35ae40a7-cf0a-4e28-a390-10bedd205bec","hostname":"headnode","pid":67128,"level":20,"opts":{"verbose":true},"args":["insts"],"cli":true,"msg":"cli init","time":"2015-09-10T22:25:21.796Z","src":{"file":"/opt/smartdc/sdcadm/lib/cli.js","line":116,"func":"init"},"v":0}
{"name":"sdcadm","component":"instances","req_id":"35ae40a7-cf0a-4e28-a390-10bedd205bec","hostname":"headnode","pid":67128,"level":10,"DEFAULTS_PATH":"/opt/smartdc/sdcadm/etc/defaults.json","msg":"load default config","time":"2015-09-10T22:25:21.810Z","src":{"file":"/opt/smartdc/sdcadm/lib/common.js","line":70,"func":"loadDefaults"},"v":0}
{"name":"sdcadm","component":"instances","req_id":"35ae40a7-cf0a-4e28-a390-10bedd205bec","hostname":"headnode","pid":67128,"level":10,"CONFIG_PATH":"/var/sdcadm/sdcadm.conf","msg":"load config file","time":"2015-09-10T22:25:21.816Z","src":{"file":"/opt/smartdc/sdcadm/lib/common.js","line":86},"v":0}
{"name":"sdcadm","component":"instances","req_id":"35ae40a7-cf0a-4e28-a390-10bedd205bec","hostname":"headnode","pid":67128,"level":10,"cmd":"/usr/bin/bash /lib/sdc/config.sh -json","msg":"load SDC config","time":"2015-09-10T22:25:21.818Z","src":{"file":"/opt/smartdc/sdcadm/lib/common.js","line":105,"func":"loadSdcConfig"},"v":0}
{"name":"sdcadm","component":"instances","req_id":"35ae40a7-cf0a-4e28-a390-10bedd205bec","hostname":"headnode","pid":67128,"level":10,"client_req":{"method":"GET","url":"/applications?name=sdc","address":"sapi.us-east-1.joyent.us","port":null,"headers":{"x-request-id":"ce029bd6-729a-44c4-9f84-47e2bde487d8","accept":"application/json","user-agent":"sdcadm/1.7.1 (node/0.10.26; openssl/1.0.1e) server=44454c4c-4d00-1036-8037-c2c04f485331","accept-version":"*","date":"Thu, 10 Sep 2015 22:25:22 GMT"}},"msg":"request sent","time":"2015-09-10T22:25:22.545Z","src":{"file":"/opt/smartdc/sdcadm/node_modules/sdc-clients/node_modules/restify/lib/clients/http_client.js","line":274,"func":"rawRequest"},"v":0}
{"name":"sdcadm","component":"instances","req_id":"35ae40a7-cf0a-4e28-a390-10bedd205bec","hostname":"headnode","pid":67128,"level":10,"client_res":{"statusCode":200,"headers":{"content-type":"application/json","content-length":"12356","date":"Thu, 10 Sep 2015 22:25:22 GMT","connection":"close"}},"msg":"Response received","time":"2015-09-10T22:25:22.569Z","src":{"file":"/opt/smartdc/sdcadm/node_modules/sdc-clients/node_modules/restify/lib/clients/http_client.js","line":178,"func":"onResponse"},"v":0}
{"name":"sdcadm","component":"instances","req_id":"35ae40a7-cf0a-4e28-a390-10bedd205bec","hostname":"headnode","pid":67128,"level":10,"msg":"body received:\n[{\"uuid\":\"175d31b3-fc41-4e42-b752-81d4d2fae78b\",\"name\":\"sdc\",\"owner_uuid\":\"9dce1460-0c4c-4417-ab8b-25ca478c5a78\",\"params\":{\"brand\":\"joyent-minimal\",\"zfs_storage_pool_name\":\"zones\",\"owner_uuid\":\"9dce1460-0c4c-4417-ab8b-25ca478c5a78\",\"resolvers\":[\"10.0.128.13\"]},\"metadata\":{\"install_agents\":\"true\",\"agents_root\":\"/opt/smartdc/agents\",\"zonetracker_database_path\":\"/opt/smartdc/agents/db/zonetracker.sqlite3\",\"root_authorized_keys_file\":\"root.authorized_keys\",\"adminui_workers\":\"8\",\"dhcpd_dhcp_server\":\"1\",\"dbconn_retry_after\":\"10\",\"dbconn_num_attempts\":\"10\",\"sbapi_url\":\"https://report.joyent.com/servicebundles/\",\"sbapi_http_user\":\"sdc6support\",\"sbapi_http_pass\":\"4cea03de8bf6\",\"pkg_0\":\"sdc_64:64:256:10240:100:1000:10:0ea54d9d-8d4d-4959-a87e-bf47c0f61a47\",\"pkg_1\":\"sdc_128:128:256:10240:100:1000:10:73a1ca34-1e30-48c7-8681-70314a9c67d3\",\"pkg_2\":\"sdc_256:256:512:10240:150:1000:10:78aa629d-04fc-4ee5-881b-0b4a914e0c52\",\"pkg_3\":\"sdc_512:512:1024:10240:200:1000:10:5dd022c8-5388-43e3-9fdd-536df4ea4f9f\",\"pkg_4\":\"sdc_768:768:1536:10240:250:1000:10:1ee2a2ab-2138-8542-b563-a67bb03792f7\",\"pkg_5\":\"sdc_1024:1024:2048:10240:300:1000:10:4769a8f9-de51-4c1e-885f-c3920cc68137\",\"pkg_6\":\"sdc_2048:2048:4096:10240:400:1000:20:8d205d81-3672-4297-b80f-7822eb6c998b\",\"pkg_7\":\"sdc_db:2048:4096:51200:400:1000:20:b2cd4ca7-ad7f-4a98-adeb-7adc9978a875\",\"pkg_8\":\"sdc_imgapi:768:1536:512000:250:1000:10:5dfe2cc2-cea2-0841-8e01-6cafbe5b7dbc\",\"pkg_9\":\"sdc_8192:8192:8192:10240:400:1000:20:16425b42-b818-11e2-90d4-87477f18a688\",\"initial_script\":\"scripts/headnode.sh\",\"utc_offset\":\"0\",\"assets_pkg\":\"sdc_128\",\"sapi_pkg\":\"sdc_512\",\"cloudapi_pkg\":\"sdc_256\",\"sdcsso_pkg\":\"sdc_128\",\"adminui_pkg\":\"sdc_512\",\"amon_pkg\":\"sdc_256\",\"usageapi_pkg\":\"sdc_768\",\"ca_pkg\":\"sdc_1024\",\"cnapi_pkg\":\"sdc_768\",\"dapi_pkg\":\"sdc_128\",\"dhcpd_pkg\":\"sdc_128\",\"imgapi_pkg\":\"sdc_imgapi\",\"manatee_pkg\":\"sdc_db\",\"moray_pkg\":\"sdc_1024\",\"keyapi_pkg\":\"sdc_128\",\"napi_pkg\":\"sdc_128\",\"fwapi_pkg\":\"sdc_128\",\"rabbitmq_pkg\":\"sdc_1024\",\"redis_pkg\":\"sdc_1024\",\"ufds_pkg\":\"sdc_8192\",\"workflow_pkg\":\"sdc_1024\",\"vmapi_pkg\":\"sdc_128\",\"binder_pkg\":\"sdc_512\",\"manta_pkg\":\"sdc_1024\",\"swap\":\"0.25x\",\"compute_node_swap\":\"0.25x\",\"datacenter_name\":\"us-east-1\",\"datacenter_company_name\":\"Joyent, Inc\",\"datacenter_location\":\"Ashburn, VA\",\"default_rack_name\":\"RACK1\",\"default_rack_size\":\"42\",\"default_server_role\":\"pro\",\"default_package_sizes\":\"128,256,512,1024\",\"mail_to\":\"jpcops@joyent.com\",\"mail_from\":\"support@joyentcloud.com\",\"admin_nic\":\"d4:ae:52:65:95:72\",\"admin_ip\":\"10.0.128.10\",\"admin_netmask\":\"255.255.248.0\",\"admin_network\":\"10.0.128.0\",\"external_nic\":\"90:e2:ba:7:b4:a8\",\"external_ip\":\"165.225.134.10\",\"external_gateway\":\"165.225.134.1\",\"external_netmask\":\"255.255.255.224\",\"external_vlan_id\":\"1100\",\"external_network\":\"165.225.134.0\",\"external_provisionable_start\":\"165.225.134.20\",\"external_provisionable_end\":\"165.225.134.30\",\"headnode_default_gateway\":\"165.225.134.1\",\"dns_resolvers\":\"8.8.8.8,8.8.4.4\",\"dns_domain\":\"joyent.us\",\"dhcp_range_start\":\"10.0.128.30\",\"dhcp_range_end\":\"10.0.130.254\",\"root_shadow\":\"$5$JDhlSfFH$CbkvlxNycbbsWUj4bPAepbdrgmAWq.qJsA8bpD3HyM3\",\"admin_shadow\":\"$5$JDhlSfFH$CbkvlxNycbbsWUj4bPAepbdrgmAWq.qJsA8bpD3HyM3\",\"ntp_hosts\":\"pool.ntp.org\",\"compute_node_ntp_hosts\":\"10.0.128.10\",\"adminui_external_vlan\":\"1100\",\"adminui_root_pw\":\"yockhykOrlyifodJiox2\",\"adminui_help_url\":\"http://wiki.joyent.com/display/sdc/Overview+of+SmartDataCenter\",\"assets_root_pw\":\"yockhykOrlyifodJiox2\",\"ca_root_pw\":\"yockhykOrlyifodJiox2\",\"dhcpd_root_pw\":\"yockhykOrlyifodJiox2\",\"dsapi_url\":\"https://datasets.joyent.com\",\"dsapi_http_user\":\"honeybadger\",\"dsapi_http_pass\":\"IEatSnakes4Fun\",\"cloudapi_external_vlan\":\"1100\",\"cloudapi_root_pw\":\"yockhykOrlyifodJiox2\",\"rabbitmq_root_pw\":\"yockhykOrlyifodJiox2\",\"phonehome_automatic\":\"true\",\"admin_uuid\":\"\",\"external_uuid\":\"\",\"adminui_admin_ips\":\"10.0.128.11\",\"adminui_external_ips\":\"165.225.134.11\",\"adminui_domain\":\"adminui.us-east-1.joyent.us\",\"assets_admin_ip\":\"10.0.128.20\",\"assets_admin_ips\":\"10.0.128.20\",\"dhcpd_admin_ip\":\"10.0.128.16\",\"dhcpd_admin_ips\":\"10.0.128.16\",\"dhcpd_domain\":\"dhcpd.us-east-1.joyent.us\",\"dhcp_lease_time\":\"2592000\",\"rabbitmq_admin_ip\":\"10.0.128.18\",\"rabbitmq_admin_ips\":\"10.0.128.18\",\"rabbitmq\":\"guest:guest:10.0.128.18:5672\",\"rabbitmq_domain\":\"rabbitmq.us-east-1.joyent.us\",\"ca_admin_ips\":\"10.0.128.15\",\"ca_domain\":\"ca.us-east-1.joyent.us\",\"binder_root_pw\":\"yockhykOrlyifodJiox2\",\"binder_admin_ips\":\"10.0.128.13\",\"binder_resolver_ips\":\"10.0.128.13,10.0.129.44,10.0.129.45,10.0.129.46,10.0.129.47\",\"manatee_root_pw\":\"yockhykOrlyifodJiox2\",\"manatee_admin_ips\":\"10.0.128.117\",\"moray_root_pw\":\"yockhykOrlyifodJiox2\",\"moray_admin_ips\":\"10.0.128.14\",\"moray_domain\":\"moray.us-east-1.joyent.us\",\"imgapi_root_pw\":\"yockhykOrlyifodJiox2\",\"imgapi_admin_ips\":\"10.0.128.136\",\"imgapi_domain\":\"imgapi.us-east-1.joyent.us\",\"dapi_root_pw\":\"yockhykOrlyifodJiox2\",\"dapi_admin_ips\":\"10.0.128.193\",\"dapi_domain\":\"dapi.us-east-1.joyent.us\",\"vmapi_root_pw\":\"yockhykOrlyifodJiox2\",\"vmapi_admin_ips\":\"10.0.129.39\",\"vmapi_domain\":\"vmapi.us-east-1.joyent.us\",\"keyapi_root_pw\":\"yockhykOrlyifodJiox2\",\"keyapi_admin_ips\":\"10.0.129.41\",\"keyapi_domain\":\"keyapi.us-east-1.joyent.us\",\"sdcsso_root_pw\":\"yockhykOrlyifodJiox2\",\"sdcsso_domain\":\"sdcsso.us-east-1.joyent.us\",\"amon_admin_ips\":\"10.0.128.192\",\"amon_root_pw\":\"yockhykOrlyifodJiox2\",\"amon_domain\":\"amon.us-east-1.joyent.us\",\"redis_admin_ips\":\"10.0.128.191\",\"redis_root_pw\":\"yockhykOrlyifodJiox2\",\"redis_domain\":\"redis.us-east-1.joyent.us\",\"usageapi_external_vlan\":\"1100\",\"usageapi_root_pw\":\"\",\"usageapi_admin_ips\":\"10.0.129.42\",\"usageapi_domain\":\"usageapi.us-east-1.joyent.us\",\"cnapi_root_pw\":\"yockhykOrlyifodJiox2\",\"cnapi_admin_ips\":\"10.0.128.139\",\"cnapi_client_url\":\"http://10.0.128.139:80\",\"cnapi_domain\":\"cnapi.us-east-1.joyent.us\",\"napi_root_pw\":\"yockhykOrlyifodJiox2\",\"napi_admin_ips\":\"10.0.128.17\",\"napi_client_url\":\"http://10.0.128.17:80\",\"napi_mac_prefix\":\"90b8d0\",\"napi_domain\":\"napi.us-east-1.joyent.us\",\"workflow_root_pw\":\"yockhykOrlyifodJiox2\",\"workflow_admin_ips\":\"10.0.128.19\",\"workflow_domain\":\"workflow.us-east-1.joyent.us\",\"fwapi_root_pw\":\"yockhykOrlyifodJiox2\",\"fwapi_admin_ips\":\"10.0.129.0\",\"fwapi_client_url\":\"http://10.0.129.0:80\",\"fwapi_domain\":\"fwapi.us-east-1.joyent.us\",\"sapi_admin_ips\":\"10.0.129.148\",\"sapi_domain\":\"sapi.us-east-1.joyent.us\",\"show_setup_timers\":\"true\",\"serialize_setup\":\"true\",\"ufds_is_master\":\"false\",\"ufds_admin_ips\":\"10.0.128.94\",\"ufds_external_ips\":\"165.225.134.14\",\"ufds_external_vlan\":\"1100\",\"ufds_admin_uuid\":\"9dce1460-0c4c-4417-ab8b-25ca478c5a78\",\"ufds_ldap_root_dn\":\"cn=root\",\"ufds_ldap_root_pw\":\"secret\",\"capi_client_url\":\"http://10.0.128.94:8080\",\"ufds_domain\":\"ufds.us-east-1.joyent.us\",\"ufds_admin_login\":\"admin\",\"ufds_admin_pw\":\"yockhykOrlyifodJiox2\",\"ufds_admin_email\":\"jpcops@joyent.com\",\"ufds_remote_ip\":\"8.12.47.100\",\"config_inc_dir\":\"/usbkey/config.inc\",\"ZK_SERVERS\":[{\"host\":\"10.0.128.13\",\"port\":2181,\"num\":1,\"last\":true}],\"manatee_shard\":\"sdc\",\"sapi-url\":\"http://sapi.us-east-1.joyent.us\",\"assets-ip\":\"10.0.128.20\",\"VMAPI_SERVICE\":\"vmapi.us-east-1.joyent.us\",\"DHCPD_SERVICE\":\"dhcpd.us-east-1.joyent.us\",\"CNAPI_SERVICE\":\"cnapi.us-east-1.joyent.us\",\"FWAPI_SERVICE\":\"fwapi.us-east-1.joyent.us\",\"ADMINUI_SERVICE\":\"adminui.us-east-1.joyent.us\",\"CLOUDAPI_SERVICE\":\"cloudapi.us-east-1.joyent.us\",\"NAPI_SERVICE\":\"napi.us-east-1.joyent.us\",\"AMON_SERVICE\":\"amon.us-east-1.joyent.us\",\"RABBITMQ_SERVICE\":\"rabbitmq.us-east-1.joyent.us\",\"MANTA_SERVICE\":\"manta.us-east-1.joyent.us\",\"KEYAPI_SERVICE\":\"keyapi.us-east-1.joyent.us\",\"MORAY_SERVICE\":\"moray.us-east-1.joyent.us\",\"SAPI_SERVICE\":\"sapi.us-east-1.joyent.us\",\"USAGEAPI_SERVICE\":\"usageapi.us-east-1.joyent.us\",\"DAPI_SERVICE\":\"dapi.us-east-1.joyent.us\",\"REDIS_SERVICE\":\"redis.us-east-1.joyent.us\",\"UFDS_SERVICE\":\"ufds.us-east-1.joyent.us\",\"BINDER_SERVICE\":\"binder.us-east-1.joyent.us\",\"WORKFLOW_SERVICE\":\"workflow.us-east-1.joyent.us\",\"SDCSSO_SERVICE\":\"sdcsso.us-east-1.joyent.us\",\"CA_SERVICE\":\"ca.us-east-1.joyent.us\",\"IMGAPI_SERVICE\":\"imgapi.us-east-1.joyent.us\",\"ufds_admin_key_fingerprint\":\"8f:74:09:7a:98:d8:7a:90:53:a6:e3:f2:73:e6:e8:c3\",\"ufds_admin_key_openssh\":\"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA3nUHCo5TGn5H68oTQWBWumCzNwZpWTKQ2ZJGjGluYJu3SqEJhwTp3LMjU6lnBJfPZ+3U77idN5d3J9GwCIt1oXBiy6oh135GKQG7N586DwhA7BRcdqxLRVbximbhUmiZpx3YDf6D5oSxw7z0+ousY1QaBg1aTLr5XfYolJ5vw2fbiMH+xyw0i5If/845N98WMi2S9dD2pcKt4vys0bvCA8qpj19IYbRlPxbRyJGUynR2wCUQiuM5t8OtbQ5G7bqDVeCOPfffbLWmLO0+tds8Z9vVYC3CrJVXDEIgQcfgzpKASWXxi2zyGtXlxB2JZwZ4+wZ6JITmnqf5/XwzR95sBQ== root@headnode\\n\",\"AMONREDIS_SERVICE\":\"amonredis.us-east-1.joyent.us\",\"amonredis_domain\":\"amonredis.us-east-1.joyent.us\",\"SDC_SERVICE\":\"sdc.us-east-1.joyent.us\",\"sdc_domain\":\"sdc.us-east-1.joyent.us\",\"SDC_MANTA_USER\":\"admin\",\"SDC_MANTA_URL\":\"https://us-east.manta.joy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SUMw== us-east-1 sdc key\\n\",\"SDC_KEY_ID\":\"57:1d:9c:da:07:56:25:48:88:1a:c2:ac:13:76:48:bb\",\"PAPI_SERVICE\":\"papi.us-east-1.joyent.us\",\"papi_domain\":\"papi.us-east-1.joyent.us\",\"region_name\":\"us-east\",\"MAHI_SERVICE\":\"mahi.us-east-1.joyent.us\",\"mahi_domain\":\"mahi.us-east-1.joyent.us\",\"ZOOKEEPER_SERVICE\":\"zookeeper.us-east-1.joyent.us\",\"zookeeper_domain\":\"zookeeper.us-east-1.joyent.us\",\"update_channel\":\"release\",\"no_rabbit\":true,\"fabric_cfg\":{\"default_underlay_mtu\":9000,\"default_overlay_mtu\":8500,\"sdc_nat_pool\":\"9ec60129-9034-47b4-b111-3026f9b1a10f\",\"sdc_underlay_assignment\":\"manual\",\"sdc_underlay_tag\":\"sdc_underlay\"}},\"manifests\":{\"registrar\":\"ae23691c-fa3f-4799-9f2e-351644d97bd8\",\"sdc_private_key\":\"16b9b9da-166e-11e3-aa8c-abd9039c7cf8\",\"sdc_public_key\":\"16f9d024-166e-11e3-9abb-4fedc4bb33b6\"},\"metadata_schema\":{\"type\":\"object\",\"properties\":{\"fabric_cfg\":{\"type\":\"object\",\"properties\":{\"default_underlay_mtu\":{\"type\":\"integer\",\"minimum\":576,\"maximum\":9000,\"required\":true,\"default\":9000},\"default_overlay_mtu\":{\"type\":\"integer\",\"minimum\":576,\"maximum\":9000,\"required\":true,\"default\":8500},\"sdc_nat_pool\":{\"type\":\"string\"},\"sdc_underlay_assignment\":{\"type\":\"string\",\"required\":true,\"enum\":[\"manual\",\"automatic\"]},\"sdc_underlay_tag\":{\"type\":\"string\",\"required\":true},\"sdc_underlay_pool\":{\"type\":\"string\"},\"default_network_name\":{\"type\":\"string\",\"pattern\":\"^[a-zA-Z][a-zA-Z0-9_\\\\./-]{1,255}$\"},\"default_vlan_name\":{\"type\":\"string\",\"pattern\":\"^[a-zA-Z][a-zA-Z0-9_\\\\./-]{1,255}$\"}}}}}}]","time":"2015-09-10T22:25:22.576Z","src":{"file":"/opt/smartdc/sdcadm/node_modules/sdc-clients/node_modules/restify/lib/clients/string_client.js","line":138,"func":"done"},"v":0}
{"name":"sdcadm","component":"instances","req_id":"35ae40a7-cf0a-4e28-a390-10bedd205bec","hostname":"headnode","pid":67128,"level":10,"client_req":{"method":"GET","url":"/servers?extras=sysinfo%2Cagents","address":"cnapi.us-east-1.joyent.us","port":null,"headers":{"x-request-id":"ce029bd6-729a-44c4-9f84-47e2bde487d8","accept":"application/json","user-agent":"sdcadm/1.7.1 (node/0.10.26; openssl/1.0.1e) server=44454c4c-4d00-1036-8037-c2c04f485331","date":"Thu, 10 Sep 2015 22:25:22 GMT"}},"msg":"request sent","time":"2015-09-10T22:25:22.592Z","src":{"file":"/opt/smartdc/sdcadm/node_modules/sdc-clients/node_modules/restify/lib/clients/http_client.js","line":274,"func":"rawRequest"},"v":0}
{"name":"sdcadm","component":"instances","req_id":"35ae40a7-cf0a-4e28-a390-10bedd205bec","hostname":"headnode","pid":67128,"level":10,"client_res":{"statusCode":200,"headers":{"content-type":"application/json","content-length":"1809408","date":"Thu, 10 Sep 2015 22:25:24 GMT","server":"Compute Node API","x-request-id":"ce029bd6-729a-44c4-9f84-47e2bde487d8","x-response-time":"1456","x-server-name":"119a9f6a-3d37-4cc8-9b41-db307104a25d","connection":"close"}},"msg":"Response received","time":"2015-09-10T22:25:24.070Z","src":{"file":"/opt/smartdc/sdcadm/node_modules/sdc-clients/node_modules/restify/lib/clients/http_client.js","line":178,"func":"onResponse"},"v":0}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.