Revision 92ea7d79
b/lib/rapi/rlib2.py | ||
---|---|---|
1500 | 1500 |
|
1501 | 1501 |
if kind in (constants.TAG_INSTANCE, |
1502 | 1502 |
constants.TAG_NODEGROUP, |
1503 |
constants.TAG_NODE): |
|
1503 |
constants.TAG_NODE, |
|
1504 |
constants.TAG_NETWORK): |
|
1504 | 1505 |
if not self.name: |
1505 | 1506 |
raise http.HttpBadRequest("Missing name on tag request") |
1506 | 1507 |
|
... | ... | |
1513 | 1514 |
ssc = ssconf.SimpleStore() |
1514 | 1515 |
tags = ssc.GetClusterTags() |
1515 | 1516 |
|
1517 |
else: |
|
1518 |
raise http.HttpBadRequest("Unhandled tag type!") |
|
1519 |
|
|
1516 | 1520 |
return list(tags) |
1517 | 1521 |
|
1518 | 1522 |
def GetPutOpInput(self): |
Also available in: Unified diff