Here is my script. Thank you.
On Tue, Jun 8, 2010 at 12:32 PM, kk yap <[email protected]> wrote:
> Hi,
>
> The actual declaration is ordered in xml. xterm should work. Do send
> me your " 2hosts-2ofsw.vms.xml".
>
> Regards
> KK
>
> On 8 June 2010 12:10, Guanyao Huang <[email protected]> wrote:
>> Hi, this is the error:
>>
>> gyhu...@leo:~/OpenFlowExample$ xmlstarlet val -e -s
>> ../openflowvms/xsd/vms.xsd 2hosts-2ofsw.vms.xml
>> 2hosts-2ofsw.vms.xml:14: element xterm: Schemas validity error :
>> Element 'xterm': This element is not expected. Expected is ( screenrc
>> ).
>> 2hosts-2ofsw.vms.xml:18: element xterm: Schemas validity error :
>> Element 'xterm': This element is not expected. Expected is ( screenrc
>> ).
>> 2hosts-2ofsw.vms.xml - invalid
>>
>> So, I changed to screenrc. Sorry I am not familiar with this.
>>
>> On Tue, Jun 8, 2010 at 12:00 PM, Kyriakos Zarifis <[email protected]>
>> wrote:
>>> Hi,
>>>
>>>>
>>>> My script for the 2-host-2-switch case is the same as in the link
>>>> above, but I changed the <xterm> tag to <screenrc> tag as suggested by
>>>> the xmlstarlet command.
>>>
>>> I'm not sure about this, maybe it's a recent change, but last time I tried
>>> it <xterm> worked for me. Did you try that?
>>
>> _______________________________________________
>> nox-dev mailing list
>> [email protected]
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>
>
<network name="Simple Network">
<of_mem>48</of_mem>
<openflowswitch name="of1">
<!--To let spawn an xterm-->
<xterm>true</xterm>
</openflowswitch>
<openflowswitch name="of2">
<xterm>true</xterm>
</openflowswitch>
<host name="host1">
<ip><static>192.168.100.1</static></ip>
<xterm>true</xterm>
</host>
<host name="host2">
<ip><static>192.168.100.2</static></ip>
<xterm>true</xterm>
</host>
<link end1="of1" end2="host1" />
<link end1="of1" end2="of2" />
<link end1="of2" end2="host2" />
</network>
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org