Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Warden
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pavel Valach
Warden
Commits
a0c003b6
Commit
a0c003b6
authored
12 years ago
by
Jan Soukal
Browse files
Options
Downloads
Patches
Plain Diff
drobne upravy v ramci ukolu #609
parent
0f59a4cf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/warden-client/doc/example-info.pl.txt
+1
-1
1 addition, 1 deletion
src/warden-client/doc/example-info.pl.txt
src/warden-client/lib/WardenClientCommon.pm
+2
-2
2 additions, 2 deletions
src/warden-client/lib/WardenClientCommon.pm
with
3 additions
and
3 deletions
src/warden-client/doc/example-info.pl.txt
+
1
−
1
View file @
a0c003b6
...
@@ -23,7 +23,7 @@ my $warden_path = '/home/soukal/pokus/warden/warden-client/';
...
@@ -23,7 +23,7 @@ my $warden_path = '/home/soukal/pokus/warden/warden-client/';
# Inclusion of warden-client receiving functionality
# Inclusion of warden-client receiving functionality
require $warden_path . '/lib/WardenClientCommon.pm';
require $warden_path . '/lib/WardenClientCommon.pm';
my @clients = WardenClientCommon::getClientInfo($warden_path)
;
my @clients = WardenClientCommon::getClient
s
Info($warden_path)
or exit 1; # receive data or exit
print "+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n";
print "+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n";
print "| Client ID | Hostname | Registered | Requestor | Service | CT | Type | ROE | Description tags | IP Net Client |\n";
print "| Client ID | Hostname | Registered | Requestor | Service | CT | Type | ROE | Description tags | IP Net Client |\n";
...
...
This diff is collapsed.
Click to expand it.
src/warden-client/lib/WardenClientCommon.pm
+
2
−
2
View file @
a0c003b6
...
@@ -140,9 +140,9 @@ sub c2s
...
@@ -140,9 +140,9 @@ sub c2s
}
}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# getClientInfo - retrieve information about other clients from Warden server
# getClient
s
Info - retrieve information about other clients from Warden server
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
sub
getClientInfo
sub
getClient
s
Info
{
{
my
$warden_path
=
shift
;
my
$warden_path
=
shift
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment