diff --git a/schema/metrics.statistics.yml b/schema/metrics.statistics.yml index f1ede3e..698080d 100644 --- a/schema/metrics.statistics.yml +++ b/schema/metrics.statistics.yml @@ -18,3 +18,10 @@ properties: - lldp - clients - tid-stats + wired-clients-max-num: + description: + Configure maximum number of FDB entries device's allowed to report. + If omitted, device-default number should be used (2000). + Setting to zero means no entries should be reported, flag should be raised. + If device's current FDB size exceeds configured value, flag should be raised as well. + type: integer diff --git a/state/mac-address-list.yml b/state/mac-address-list.yml new file mode 100644 index 0000000..95f971b --- /dev/null +++ b/state/mac-address-list.yml @@ -0,0 +1,22 @@ +type: object +description: + This section describes the global (device-wise) mac-address-list (FDB table / wired clients). +properties: + overflow: + description: + Flag indicates that device could report an amount of FDB entries, which is bigger than what cloud had requested. + type: boolean +additionalProperties: + type: object + additionalProperties: + description: + VID (vlan id) identifier + type: array + items: + type: string +examples: + - overflow: true + Ethernet1: + '1': [ 'AABBCCDDEEFF', '112233445566'] + Ethernet2: + '10': [ '11BBCCDDEEFF', '332233445566'] diff --git a/state/state.yml b/state/state.yml index 5a415a2..7058cd3 100644 --- a/state/state.yml +++ b/state/state.yml @@ -52,3 +52,5 @@ properties: patternProperties: "^(eth|lan|wan)[0-9]*$": $ref: "https://ucentral.io/state/v1/link-state/" + mac-address-list: + $ref: "https://ucentral.io/state/v1/mac-address-list/"