ASTDL Examples
SETUP_REQ
<topology action="setup_req">
<xml_file>xml_schema/a-b.xml</xml_file>
<resource res_type="node" subtype="dragon_node_pc" name="max-es2">
<ip>X.X.X.X</ip>
<res_details>
<command>ping $max-lab4.dest</command>
</res_details>
</resource>
<resource res_type="node" subtype="dragon_node_pc" name="lab4-es1">
<ip>X.X.X.X</ip>
</resource>
<resource res_type="link" subtype="dragon_link" name="max-lab4">
<res_details dragon_type="uni">
<link_status>did_not_commit</link_status>
<src>
<node>max-es2</node>
</src>
<dest>
<node>lab4-es1</node>
</dest>
<te_params profile="EtherBasic">
</te_params>
</res_details>
</resource>
SETUP_RESP
<topology ast_id="leia.east.isi.edu_1192056756" action="release_resp">
<status>ast_success</status>
<xml_file>xml_schema/a-b.xml</xml_file>
<resource res_type="node" subtype="dragon_node_pc" name="max-es2">
<status>ast_success</status>
<ip>X.X.X.X</ip>
<res_details>
<router_id>X.X.X.X</router_id>
<tunnel>gre3</tunnel>
<ifaces>
<iface>eth1.3000</iface>
<assign_ip>140.173.96.41</assign_ip>
<vtag>3000</vtag>
</ifaces>
</res_details>
</resource>
<resource res_type="node" subtype="dragon_node_pc" name="lab4-es1">
<status>ast_success</status>
<ip>X.X.X.X</ip>
<res_details>
<router_id>X.X.X.X</router_id>
<tunnel>gre1</tunnel>
<ifaces>
<iface>eth1.3000</iface>
<assign_ip>140.173.96.42/30</assign_ip>
<vtag>3000</vtag>
</ifaces>
</res_details>
</resource>
<resource res_type="link" subtype="dragon_link" name="max-lab4">
<status>ast_success</status>
<ip>206.196.176.147</ip>
<res_details dragon_type="uni">
<link_status>in-service</link_status>
<lsp_name>AST-619174192</lsp_name>
<src>
<node>max-es2</node>
<iface>eth1.3000</iface>
<assign_ip>140.173.96.41</assign_ip>
</src>
<dest>
<node>lab4-es1</node>
<iface>eth1.3000</iface>
<assign_ip>140.173.96.42/30</assign_ip>
</dest>
<te_params>
<bandwidth>eth100M</bandwidth>
<swcap>l2sc</swcap>
<encoding>ethernet</encoding>
<gpid>ethernet</gpid>
<vtag>3000</vtag>
</te_params>
</res_details>
</resource>
</topology>