DOCS+FE: authoritative fields + show devVlan

Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
jokob-sk
2026-01-25 15:32:28 +11:00
parent 4619a13bcb
commit c0f4fe9e12
2 changed files with 14 additions and 9 deletions

View File

@@ -10,14 +10,19 @@ The device field lock/unlock system allows you to protect specific device fields
These are the ONLY fields that can be locked: These are the ONLY fields that can be locked:
- devName - Device hostname/alias - `devName` - Device hostname/alias
- devVendor - Device manufacturer - `devVendor` - Device manufacturer
- devFQDN - Fully qualified domain name - `devSSID` - WiFi network name
- devSSID - WiFi network name - `devParentMAC` - Parent/gateway MAC
- devParentMAC - Parent/gateway MAC - `devParentPort` - Parent device port
- devParentPort - Parent device port - `devParentRelType` - Relationship type (e.g., "gateway")
- devParentRelType - Relationship type (e.g., "gateway") - `devVlan` - VLAN identifier
- devVlan - VLAN identifier
Additional fields that are tracked (and their source is dispalyed in the UI if available):
- `devMac`
- `devLastIP`
- `devFQDN`
## Source Values Explained ## Source Values Explained

View File

@@ -147,7 +147,7 @@ function getDeviceData() {
}, },
// Group for network details // Group for network details
DevDetail_MainInfo_Network_Title: { DevDetail_MainInfo_Network_Title: {
data: ["devParentMAC", "devParentRelType", "devParentPort", "devSSID", "devSite", "devSyncHubNode"], data: ["devParentMAC", "devParentRelType", "devParentPort", "devSSID", "devSite", "devVlan", "devSyncHubNode"],
docs: "https://docs.netalertx.com/NETWORK_TREE", docs: "https://docs.netalertx.com/NETWORK_TREE",
iconClass: "fa fa-sitemap fa-rotate-270", iconClass: "fa fa-sitemap fa-rotate-270",
inputGroupClasses: "field-group network-group col-lg-4 col-sm-6 col-xs-12", inputGroupClasses: "field-group network-group col-lg-4 col-sm-6 col-xs-12",