2.23.
CLASS: VLAN
CHAPTER 2.
API REFERENCE
2.23
Class: VLAN
2.23.1
Fields for class: VLAN
Name
VLAN
Description
A VLAN mux/demux.
Quals
Field
Type
Description
RO
run
uuid
string
unique identifier/object reference
RO
ins
tagged PIF
PIF ref
interface on which traffic is tagged
RO
run
untagged PIF
PIF ref
interface on which traffic is untagged
RO
ins
tag
int
VLAN tag in use
RW
other config
(string
→
string) Map
additional configuration
2.23.2
RPCs associated with class: VLAN
RPC name: create
Overview:
Create a VLAN mux/demuxer.
Signature:
(VLAN ref) create (session_id s, PIF ref tagged_PIF, int tag, network ref network)
Arguments:
type
name
description
PIF ref
tagged PIF
PIF which receives the tagged traffic
int
tag
VLAN tag in use
network ref
network
Network to receive the untagged traffic
Return Type:
VLAN ref
The reference of the created VLAN object
RPC name: destroy
Overview:
Destroy a VLAN mux/demuxer.
Signature:
void destroy (session_id s, VLAN ref self)
Arguments:
type
name
description
VLAN ref
self
VLAN mux/demuxer to destroy
Return Type:
void
RPC name: get all
Overview:
Return a list of all the VLANs known to the system.
Signature:
199