WADL
URL
http://hostname:8888/opennaas/router/{name}/l3vlan?_wadl
Description
Code Block |
---|
theme | Eclipse |
---|
language | html/xml |
---|
collapse | true |
---|
|
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://wadl.dev.java.net/2009/02" xmlns:prefix1="opennaas.api" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<grammars>
<xs:schema xmlns="opennaas.api" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="opennaas.api">
<xs:import namespace="" />
<xs:element name="bridgeDomains" type="bridgeDomains" />
</xs:schema>
<xs:schema xmlns="opennaas.api" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="opennaas.api">
<xs:complexType name="bridgeDomains">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="domainName" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:schema>
</grammars>
<resources base="http://localhost:8888/opennaas/router/myre/l3vlan/">
<resource path="/">
<method name="GET">
<response>
<representation mediaType="application/xml" element="prefix1:bridgeDomains" />
</response>
</method>
<resource path="{domainName}/ip">
<param name="domainName" style="template" type="xs:string" />
<method name="DELETE">
<request>
<param name="ipAddress" style="query" type="xs:string" />
</request>
<response status="204" />
</method>
<method name="PUT">
<request>
<param name="ipAddress" style="query" type="xs:string" />
</request>
<response status="204" />
</method>
</resource>
</resource>
</resources>
</application> |
Methods
AddIpAddressToBridgedDomain
Adds an IP to a specific VlanBridge.
RemoveIpAddressfromBridgedDomain
Removes the specified ip from the desired VlanBridge.
GetL3Vlans
Get the list of all VLAN Bridges containing an ip. In order to get the list of all VLAN Bridges, use the VLAN Bridge Capability.
Response Example
Following response indicate two VLAN Bridges with IPs.
Code Block |
---|
theme | Eclipse |
---|
language | html/xml |
---|
|
<?xml version="1.0" encoding="UTF-8"?>
<ns2:bridgeDomains xmlns:ns2="opennaas.api">
<domainName>vlan.2</domainName>
<domainName>vlan.3</domainName>
</ns2:bridgeDomains>
|