---
tags: atlnz
---
# Notes
CR related
Password reseting
```json
{
"salt" : "059d2ef3bd134708",
"passwordhash" : "d78e3f8559c06ac39d82f7c2f9229ba59248537e"
}
```
## license hacking
search `getActiveLicenseByModule` and replace with the follwing code snippet
```typescript=
const license = {
"module": "FL-VISTA-BASE", // FL-U-VISTA-AIO
"name": "Vista Manager Base",
"start": "2017-10-01",
"history" : [],
"count": 1,
"expire": "2028-10-01",
"status": true,
"diffDays": 1130,
"warning": false
}
return Promise.resolve(license)
```
## restore db
```bash=
yarn mongorestore
```
## acronym
ATS - Auto Traffic Shaping
ACP - Alliedtelesis Container Platform
## ACP
[releases of ACP](http://awpbuild.atlnz.lc/releases/?C=M;O=D;P=*ATVSTAP*)
[vista-releases](http://awpbuild.atlnz.lc/releases/vista/vista/)
acs vista volumne size 200800
[feature page](https://wiki.atlnz.lc/awpwiki/index.php/Appliance_Box)
my acp: https://10.33.25.55/
## mongodb
```
db.getCollection('events').find({ tags: { $elemMatch: { key: 'event', value: 'AUTO_TRAFFIC_SHAPING.MAX_RX_CHANGED', translatedValue: 'Auto Traffic Shaping maximum Rx bandwidth changed' } } }, { createdAt: 1,tags: 1 }).sort( { createdAt: 1 })
```
```
db.getCollection('amf:nodes').find({ hostname: 'B_Spoke2' }, { 'trafficControlConfig': 1 })
```