-
Notifications
You must be signed in to change notification settings - Fork 14
/
vlan.interfaces.ts
37 lines (36 loc) · 1.49 KB
/
vlan.interfaces.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { OnOffToggle } from '../../../common/constants/attribute-values';
import { VlanProtocols } from '../../link.constants';
/**
* Add link vlan type arguments.
* @category Interfaces
*/
export interface AddLinkVlanTypeArgs {
/** VLAN Protocol. */
protocol: VlanProtocols;
/**
* Specifies the VLAN Identifier to use.
* Note that numbers with a leading " 0 " or " 0x " are interpreted as octal
* or hexadecimal, respectively.
*/
id: number;
/** Specifies whether ethernet headers are reordered or not (default is on). */
reorder_hdr?: OnOffToggle;
/** Specifies whether this VLAN should be registered using GARP VLAN Registration Protocol. */
gvrp?: OnOffToggle;
/** Specifies whether this VLAN should be registered using Multiple VLAN Registration Protocol. */
mvrp?: OnOffToggle;
/** Specifies whether the VLAN device state is bound to the physical device state. */
loose_binding?: OnOffToggle;
/** Specifies whether the VLAN device link state tracks the state of bridge ports that are members of the VLAN. */
bridge_binding?: OnOffToggle;
/**
* Defines a mapping of VLAN header prio field to the Linux internal packet priority on incoming frames.
* The format is FROM:TO with multiple mappings separated by spaces.
*/
'ingress-qos-map'?: string[];
/**
* Defines a mapping of Linux internal packet priority to VLAN header prio field but for outgoing frames.
* The format is the same as for {@link ingress-qos-map}.
*/
'egress-qos-map'?: string[];
}