sys-ut template l2 mac¶
Mac Address
mac Specification¶
Type Collection Object Key(s) src-dst Collection Name mac-list Collection URI /axapi/v3/sys-ut/template/{name}/l2/mac Element Name mac Element URI /axapi/v3/sys-ut/template/{name}/l2/mac/{src-dst} Element Attributes mac_attributes Schema mac schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/sys-ut/template/{name}/l2/mac | ||
Create List | POST | /axapi/v3/sys-ut/template/{name}/l2/mac | ||
Get Object | GET | /axapi/v3/sys-ut/template/{name}/l2/mac/{src-dst} | ||
Get List | GET | /axapi/v3/sys-ut/template/{name}/l2/mac | ||
Modify Object | POST | /axapi/v3/sys-ut/template/{name}/l2/mac/{src-dst} | ||
Replace Object | PUT | /axapi/v3/sys-ut/template/{name}/l2/mac/{src-dst} | ||
Replace List | PUT | /axapi/v3/sys-ut/template/{name}/l2/mac | ||
Delete Object | DELETE | /axapi/v3/sys-ut/template/{name}/l2/mac/{src-dst} |
mac-list¶
mac-list is JSON List of mac attributes
mac-list : [
]
mac attributes¶
address-type
Description ‘broadcast’: broadcast; ‘multicast’: multicast;
Type: string
Supported Values: broadcast, multicast
ethernet
Description Ethernet interface
Type: number
Format: interface
Reference Object: /axapi/v3/interface/ethernet
nat-pool
Description Nat pool
Type: string
Maximum Length: 128 characters
Maximum Length: 1 characters
src-dst
Description ‘dest’: dest; ‘src’: src;
Type: string
Supported Values: dest, src
trunk
Description Trunk number
Type: number
Format: interface
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
value
Description Mac Address
Type: string
Format: mac-address
ve
Description Virtual Ethernet interface
Type: number
Format: interface
Reference Object: /axapi/v3/interface/ve
virtual-server
Description vip
Type: string
Maximum Length: 128 characters
Maximum Length: 1 characters
Reference Object: /axapi/v3/slb/virtual-server