Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
slapos.core
Commits
116fb0d9
Commit
116fb0d9
authored
Jan 20, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed 'slapos cache' to 'slapos cache-lookup'
parent
b2b57e1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
slapos/cache.py
slapos/cache.py
+1
-1
slapos/entry.py
slapos/entry.py
+4
-4
No files found.
slapos/cache.py
View file @
116fb0d9
...
...
@@ -16,7 +16,7 @@ from slapos.grid.distribution import patched_linux_distribution
def
maybe_md5
(
s
):
return
re
.
match
(
'[0-9a-f]{32}'
,
s
)
def
cache
():
def
cache
_lookup
():
parser
=
argparse
.
ArgumentParser
()
parser
.
add_argument
(
"configuration_file"
,
help
=
"SlapOS configuration file"
)
parser
.
add_argument
(
"software_url"
,
help
=
"Your software url or MD5 hash"
)
...
...
slapos/entry.py
View file @
116fb0d9
...
...
@@ -36,7 +36,7 @@ from slapos.client import request as request
from
slapos.client
import
remove
as
remove
from
slapos.client
import
supply
as
supply
from
slapos.format
import
main
as
format
from
slapos.cache
import
cache
from
slapos.cache
import
cache
_lookup
from
slapos.grid.slapgrid
import
runComputerPartition
as
instance
from
slapos.grid.slapgrid
import
runSoftwareRelease
as
software
from
slapos.grid.slapgrid
import
runUsageReport
as
report
...
...
@@ -153,8 +153,8 @@ def dispatch(command, is_node_command):
raise
EntryPointNotImplementedError
(
command
)
elif
command
==
'console'
:
call
(
console
,
config
=
USER_SLAPOS_CONFIGURATION
)
elif
command
==
'cache'
:
call
(
cache
,
config
=
GLOBAL_SLAPOS_CONFIGURATION
)
elif
command
==
'cache
-lookup
'
:
call
(
cache
_lookup
,
config
=
GLOBAL_SLAPOS_CONFIGURATION
)
else
:
return
False
...
...
@@ -180,7 +180,7 @@ Client subcommands usage:
slapos request <instance-name> <software-url> [--configuration arg1=value1 arg2=value2 ... argN=valueN]
slapos supply <software-url> <node-id>
slapos console
slapos cache <software-url-or-md5>
slapos cache
-lookup
<software-url-or-md5>
Node subcommands usage:
slapos node
slapos node register <node-id>
...
...
Write
Preview
Markdown
is supported
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