Skip to content

Commit

Permalink
comments - clone model and gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
noursaidi committed Sep 14, 2022
1 parent a990010 commit 04357df
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/gencode/** linguist-generated=true
validator/sequences/**/*.json linguist-generated=true
validator/sequences/**/*.attr linguist-generated=true
validator/sequences/**/*.log linguist-generated=true
2 changes: 1 addition & 1 deletion bin/clone_model
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ mkdir -p $ROOT_DIR/sites
cd $ROOT_DIR/sites

MODEL_DIR=udmi_site_model
MODEL_VER=808aa06fbe922b9f749d2a6b52ff03b6f9074b48
MODEL_VER=1.8
TEST_SITE_GIT=https://github.com/faucetsdn/$MODEL_DIR.git
MODEL_REPO=origin

Expand Down
17 changes: 17 additions & 0 deletions docs/tools/gcloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,20 @@ them to work out-of-the-box without a deeper understanding of what's going on!
# Update a device's GCP IoT Core configuration

`bin/reset_config`

# Viewing Device GCP Cloud Logging

`bin/gcloud_device_logs PROJECT_ID DEVICE_ID [DEVICE_ID ...]`

```
2022-09-01 14:35:07.677668+00:00 GAT-100 ZZ-TRI-FECTA PUBLISH STATE (RESOURCE_EXHAUSTED The device "2582332477650079" could not be updated. Device state can be updated only once every 1s.)
2022-09-01 14:35:07.679536+00:00 GAT-100 ZZ-TRI-FECTA DISCONNECT (RESOURCE_EXHAUSTED The device "2582332477650079" could not be updated. Device state can be updated only once every 1s.)
2022-09-01 14:35:19.115078+00:00 GAT-100 ZZ-TRI-FECTA CONNECT
2022-09-01 14:35:23.637210+00:00 GAT-100 ZZ-TRI-FECTA SUBSCRIBE /devices/GAT-100/config
2022-09-01 14:35:23.653924+00:00 GAT-100 ZZ-TRI-FECTA SUBSCRIBE /devices/GAT-100/commands/#
2022-09-01 14:35:23.654129+00:00 GAT-100 ZZ-TRI-FECTA SUBSCRIBE /devices/GAT-100/errors
2022-09-01 14:35:24.491455+00:00 GAT-100 ZZ-TRI-FECTA PUBACK CONFIG
2022-09-01 14:35:24.491506+00:00 GAT-100 ZZ-TRI-FECTA CONFIG
2022-09-01 14:35:24.632056+00:00 GAT-100 ZZ-TRI-FECTA PUBLISH STATE
2022-09-01 14:35:25.094994+00:00 ACT-1 ZZ-TRI-FECTA ATTACH_TO_GATEWAY GAT-100
```

0 comments on commit 04357df

Please sign in to comment.