Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Brian O'Connor
2016-09-13 16:21:29 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3e9aae3c2ffa7426dcccd68bb995d9d2cd80f8ea
3e9aae3c
1 parent
c9b64dca
Removing whitespace
Change-Id: I4db2fee926161719d431617ce2fe65ea39968e8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
apps/dhcp/app/src/main/java/org/onosproject/dhcp/cli/DhcpLeaseDetails.java
apps/dhcp/app/src/main/java/org/onosproject/dhcp/cli/DhcpLeaseDetails.java
View file @
3e9aae3
...
...
@@ -25,12 +25,10 @@ import org.onosproject.dhcp.DhcpService;
@Command
(
scope
=
"onos"
,
name
=
"dhcp-lease"
,
description
=
"Lists all the default lease parameters offered by the DHCP Server"
)
public
class
DhcpLeaseDetails
extends
AbstractShellCommand
{
private
static
final
String
DHCP_LEASE_FORMAT
=
"Lease Time: %ds\nRenewal Time: %ds\nRebinding Time: %ds"
;
@Override
protected
void
execute
()
{
DhcpService
dhcpService
=
AbstractShellCommand
.
get
(
DhcpService
.
class
);
int
leaseTime
=
dhcpService
.
getLeaseTime
();
int
renewTime
=
dhcpService
.
getRenewalTime
();
...
...
Please
register
or
login
to post a comment