Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
209c0786
Commit
209c0786
authored
Mar 29, 2016
by
ibuler
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #176 from jumpserver/merge_master
Merge with master
parents
8ebcd475
d2b4594b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
README.md
README.md
+9
-5
asset_api.py
jasset/asset_api.py
+0
-1
views.py
jlog/views.py
+1
-1
No files found.
README.md
View file @
209c0786
## 写在前面
## 写在前面
-
目前本版本处于beta阶段,请不要用于生产环境,除非你知道你在做什么
-
目前本版本处于beta阶段,请不要用于生产环境,除非你知道你在做什么
-
本版本暂时没加入LDAP接口,稳定版会将LDAP和无Agent方式抽象成API,2.x版本支持LDAP,请移步release中下载
-
本版本暂时没加入LDAP接口,稳定版会将LDAP和无Agent方式抽象成API,2.x版本支持LDAP,请移步release中下载
-
版本号变更 2.0 -> 0.2版本 3.0 -> 0.3版本
#欢迎使用Jumpserver
#欢迎使用Jumpserver
**Jumpserver**
是一款由python编写开源的跳板机(堡垒机)系统,实现了跳板机应有的功能。基于ssh协议来管理,客户端无需安装agent。
**Jumpserver**
是一款由python编写开源的跳板机(堡垒机)系统,实现了跳板机应有的功能。基于ssh协议来管理,客户端无需安装agent。
...
@@ -39,11 +40,14 @@ Web批量执行命令
...
@@ -39,11 +40,14 @@ Web批量执行命令
### 文档
### 文档
*
[
访问wiki
](
https://github.com/ibuler/jumpserver/wiki
)
*
[
访问wiki
](
https://github.com/jumpserver/jumpserver/wiki
)
*
[
快速安装
](
https://github.com/ibuler/jumpserver/wiki/Quickinstall
)
*
[
概览
](
https://github.com/jumpserver/jumpserver/wiki/%E6%A6%82%E8%A7%88
)
*
[
名词解释
](
https://github.com/ibuler/jumpserver/wiki/Termexplain
)
*
[
名词解释
](
https://github.com/jumpserver/jumpserver/wiki/%E5%90%8D%E8%AF%8D%E8%A7%A3%E9%87%8A
)
*
[
快速开始
](
https://github.com/ibuler/jumpserver/wiki/Quickstart
)
*
[
常见问题
](
https://github.com/jumpserver/jumpserver/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
)
*
[
FAQ
](
https://github.com/ibuler/jumpserver/wiki/FAQs
)
*
安装基于:
[
RedHat 的系统
](
https://github.com/jumpserver/jumpserver/wiki/%E5%9F%BA%E4%BA%8E-RedHat-%E7%9A%84%E7%B3%BB%E7%BB%9F
)
,
[
Debian 的系统
](
https://github.com/jumpserver/jumpserver/wiki/%E5%9F%BA%E4%BA%8E-Debian-%E7%9A%84%E7%B3%BB%E7%BB%9F
)
*
[
快速开始
](
https://github.com/jumpserver/jumpserver/wiki/%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B
)
*
[
安装图解
](
https://github.com/jumpserver/jumpserver/wiki/%E5%AE%89%E8%A3%85%E5%9B%BE%E8%A7%A3
)
*
[
应用图解
](
https://github.com/jumpserver/jumpserver/wiki/%E5%BA%94%E7%94%A8%E5%9B%BE%E8%A7%A3
)
### 特点
### 特点
...
...
jasset/asset_api.py
View file @
209c0786
...
@@ -315,7 +315,6 @@ def excel_to_db(excel_file):
...
@@ -315,7 +315,6 @@ def excel_to_db(excel_file):
def
get_ansible_asset_info
(
asset_ip
,
setup_info
):
def
get_ansible_asset_info
(
asset_ip
,
setup_info
):
print
setup_info
,
'***'
disk_need
=
{}
disk_need
=
{}
disk_all
=
setup_info
.
get
(
"ansible_devices"
)
disk_all
=
setup_info
.
get
(
"ansible_devices"
)
if
disk_all
:
if
disk_all
:
...
...
jlog/views.py
View file @
209c0786
...
@@ -29,7 +29,7 @@ def log_list(request, offset):
...
@@ -29,7 +29,7 @@ def log_list(request, offset):
posts
=
Log
.
objects
.
filter
(
is_finished
=
False
)
.
order_by
(
'-start_time'
)
posts
=
Log
.
objects
.
filter
(
is_finished
=
False
)
.
order_by
(
'-start_time'
)
if
keyword
:
if
keyword
:
posts
=
posts
.
filter
(
Q
(
user__icontains
=
keyword
)
|
Q
(
host__icontains
=
keyword
)
|
posts
=
posts
.
filter
(
Q
(
user__icontains
=
keyword
)
|
Q
(
host__icontains
=
keyword
)
|
Q
(
login_type_icontains
=
keyword
))
Q
(
login_type_
_
icontains
=
keyword
))
elif
offset
==
'exec'
:
elif
offset
==
'exec'
:
posts
=
ExecLog
.
objects
.
all
()
.
order_by
(
'-id'
)
posts
=
ExecLog
.
objects
.
all
()
.
order_by
(
'-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