Commit c089959a authored by Leigh B. Stoller's avatar Leigh B. Stoller

Until I figure out how to deal with shared links which use the

same physical interface, generate a new uuid for every interface
sliver. This is okay since we do not use those slivers anyway, to
access the interface.
parent 65658239
......@@ -1023,6 +1023,7 @@ use GeniComponent;
use GeniSlice;
use GeniCredential;
use GeniCertificate;
use GeniUtil;
sub Create()
{
......@@ -1033,6 +1034,10 @@ sub Create()
$rspec->{'virtual_interface_id'};
my $hrn = "${PGENIDOMAIN}.$nickname";
# Ignore the interface uuid and create a new one.
# Temporary fix cause of shared interfaces on shared nodes.
$interface_uuid = GeniUtil::NewUUID();
return GeniSliver->Create($slice, $user, $interface_uuid,
$node->uuid(), "Interface",
$hrn, $nickname, $rspec);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment