Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
7afb2499
Commit
7afb2499
authored
Dec 07, 2015
by
Leigh B Stoller
Browse files
Return a mapping error if we cannot allocate an address pool, due
to resource shortage.
parent
5253b0aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCM.pm.in
View file @
7afb2499
...
...
@@ -2422,8 +2422,12 @@ sub GetTicketAuxAux($$$$$$$$$$$)
}
#
Allocate
any
public
address
pools
.
if
(
$
slice_experiment
->
AllocatePublicAddrPools
()
<
0
)
{
$
response
=
GeniResponse
->
Create
(
GENIRESPONSE_ERROR
,
undef
,
my
$
tmp
=
$
slice_experiment
->
AllocatePublicAddrPools
();
if
($
tmp
)
{
$
response
=
GeniResponse
->
Create
(($
tmp
<
0
?
GENIRESPONSE_ERROR
:
GENIRESPONSE_NO_MAPPING
),
undef
,
"Could not allocate public address pools"
);
goto
bad
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment