diff --git a/.gitattributes b/.gitattributes index 9bf3b91f70..307d54a839 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/bin/clone_model b/bin/clone_model index 03916d2c3e..9418cf16b1 100755 --- a/bin/clone_model +++ b/bin/clone_model @@ -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 diff --git a/docs/tools/gcloud.md b/docs/tools/gcloud.md index 5733ca5217..9db3693fb1 100644 --- a/docs/tools/gcloud.md +++ b/docs/tools/gcloud.md @@ -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 +```