Use multiple experimental interfaces in a topology

9 views
Skip to first unread message

Tom Mitchell

unread,
Mar 28, 2017, 3:05:30 PM3/28/17
to GENI Users
I'd like to create a topology with two VMs and a bare metal node on a single InstaGENI rack:

   VM ----- BareMetal ----- VM

But I'd like that topology to use two different physical network interfaces on the bare metal node. When I lay out that topology in Jacks, I end up with a single (experimental) network interface in use, and two VLANs, one for each VM.

I then tried manually editing the resulting request RSpec to specify an "emulab:interface" inside the "geni:interface", but that seemed to have no effect:

<interface xmlns="http://www.geni.net/resources/rspec/3" client_id="interface-3">
        <emulab:interface name="eth2"/>
</interface>

I haven't tried to specify the interface component id because it is specific to a given bare metal node. I was shooting for an RSpec that at least had a chance of being reused, hence my attempt above.

What's the right way to specify this topology? Can it be done?

Thanks,
Tom

Tom Mitchell

unread,
Mar 28, 2017, 4:34:05 PM3/28/17
to GENI Users
I was able to get the topology I think I want using the bare metal component ids, but that doesn't feel like the best way to go. It's very specific to certain resources being available at allocation time. Is there another way to go?

Thanks,
Tom

Leigh Stoller

unread,
Mar 28, 2017, 6:18:34 PM3/28/17
to geni-...@googlegroups.com
> I was able to get the topology I think I want using the bare metal component ids, but that doesn't feel like the best way to go. It's very specific to certain resources being available at allocation time. Is there another way to go?

Hi Tom. Unfortunately there is no way to do what you want. Emulab
forces links that terminate on shared nodes to multiplexed, and we
don't export anything to prevent that on the other side of the link.

Leigh




Vic THOMAS

unread,
Mar 28, 2017, 6:44:29 PM3/28/17
to geni-...@googlegroups.com
Hi Tom,

Do you mind sharing with the list the RSpec you used that specified the
component IDs? I know this is very specific to the resource being used
but it might still be useful for others on the list.

Thank you!

< Vic
> --
> GENI Users is a community supported mailing list, so please help by
> responding to questions you know the answer to.
>
> If this is your first time posting a question to this list, please
> review
> http://groups.geni.net/geni/wiki/GENIExperimenter/CommunityMailingList
> ---
> You received this message because you are subscribed to the Google
> Groups "GENI Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to geni-users+...@googlegroups.com
> <mailto:geni-users+...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Tom Mitchell

unread,
Mar 29, 2017, 11:46:44 AM3/29/17
to GENI Users, vic.t...@raytheon.com
Per Vic's request, a generic version of my request RSpec is below. This RSpec cannot be used with Jacks (graphical topology interface) because the component_id attributes are lost. This RSpec must be used via a tool like omni or geni-lib, or via the non-Jacks portal add resources page. Also, the RSpec cannot be used as is, it must have the various component_id fields filled in. Search for "INSERT" below to see where.

Tom


<rspec xmlns="http://www.geni.net/resources/rspec/3" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3    http://www.geni.net/resources/rspec/3/request.xsd" type="request">
    <node xmlns="http://www.geni.net/resources/rspec/3" client_id="vm2">
        <sliver_type xmlns="http://www.geni.net/resources/rspec/3" name="emulab-xen">
            <disk_image xmlns="http://www.geni.net/resources/rspec/3" name="urn:publicid:IDN+emulab.net+image+emulab-ops:UBUNTU14-64-STD" />
        </sliver_type>
        <services xmlns="http://www.geni.net/resources/rspec/3" />
        <interface xmlns="http://www.geni.net/resources/rspec/3" client_id="interface-0" />
    </node>
    <node xmlns="http://www.geni.net/resources/rspec/3" client_id="vm1">
        <sliver_type xmlns="http://www.geni.net/resources/rspec/3" name="emulab-xen">
            <disk_image xmlns="http://www.geni.net/resources/rspec/3" name="urn:publicid:IDN+emulab.net+image+emulab-ops:UBUNTU14-64-STD" />
        </sliver_type>
        <services xmlns="http://www.geni.net/resources/rspec/3" />
        <interface xmlns="http://www.geni.net/resources/rspec/3" client_id="interface-2" />
    </node>
    <node xmlns="http://www.geni.net/resources/rspec/3" client_id="middle" component_id="INSERT PC COMPONENT ID">
        <sliver_type xmlns="http://www.geni.net/resources/rspec/3" name="raw-pc">
            <disk_image xmlns="http://www.geni.net/resources/rspec/3" name="urn:publicid:IDN+emulab.net+image+emulab-ops:UBUNTU14-64-STD" />
        </sliver_type>
        <hardware_type xmlns="http://www.geni.net/resources/rspec/3" name="pc" />
        <services xmlns="http://www.geni.net/resources/rspec/3" />
        <interface xmlns="http://www.geni.net/resources/rspec/3" client_id="interface-1" component_id="INSERT INTERFACE COMPONENT ID 1" />
        <interface xmlns="http://www.geni.net/resources/rspec/3" client_id="interface-3" component_id="INSERT INTERFACE COMPONENT ID 2" />
    </node>
    <link xmlns="http://www.geni.net/resources/rspec/3" client_id="link-0">
        <interface_ref xmlns="http://www.geni.net/resources/rspec/3" client_id="interface-0" />
        <interface_ref xmlns="http://www.geni.net/resources/rspec/3" client_id="interface-1" />
    </link>
    <link xmlns="http://www.geni.net/resources/rspec/3" client_id="link-1">
        <interface_ref xmlns="http://www.geni.net/resources/rspec/3" client_id="interface-2" />
        <interface_ref xmlns="http://www.geni.net/resources/rspec/3" client_id="interface-3" />
    </link>
</rspec>
Reply all
Reply to author
Forward
0 new messages