Revision d632e425
b/snf-cyclades-app/synnefo/ui/static/snf/js/models.js | ||
---|---|---|
1615 | 1615 |
} |
1616 | 1616 |
|
1617 | 1617 |
models.VM.AVAILABLE_ACTIONS = { |
1618 |
'UNKNWON' : [], |
|
1619 |
'BUILD' : [], |
|
1620 |
'REBOOT' : [], |
|
1618 |
'UNKNWON' : ['destroy'],
|
|
1619 |
'BUILD' : ['destroy'],
|
|
1620 |
'REBOOT' : ['destroy'],
|
|
1621 | 1621 |
'STOPPED' : ['start', 'destroy'], |
1622 | 1622 |
'ACTIVE' : ['shutdown', 'destroy', 'reboot', 'console'], |
1623 | 1623 |
'ERROR' : ['destroy'], |
1624 |
'DELETED' : [], |
|
1625 |
'DESTROY' : [], |
|
1626 |
'SHUTDOWN' : [], |
|
1627 |
'START' : [], |
|
1628 |
'CONNECT' : [], |
|
1629 |
'DISCONNECT' : [], |
|
1630 |
'RESIZE' : [] |
|
1624 |
'DELETED' : ['destroy'],
|
|
1625 |
'DESTROY' : ['destroy'],
|
|
1626 |
'SHUTDOWN' : ['destroy'],
|
|
1627 |
'START' : ['destroy'],
|
|
1628 |
'CONNECT' : ['destroy'],
|
|
1629 |
'DISCONNECT' : ['destroy'],
|
|
1630 |
'RESIZE' : ['destroy']
|
|
1631 | 1631 |
} |
1632 | 1632 |
|
1633 | 1633 |
// api status values |
Also available in: Unified diff