Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
floodlight
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
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
croft1
floodlight
Commits
0b15a036
Commit
0b15a036
authored
8 years ago
by
Ryan Izard
Browse files
Options
Downloads
Patches
Plain Diff
REST API port change
parent
a0bd99e9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/net/floodlightcontroller/topology/web/AllBroadcastPortsResource.java
+1
-3
1 addition, 3 deletions
...ghtcontroller/topology/web/AllBroadcastPortsResource.java
src/main/resources/floodlightdefault.properties
+2
-2
2 additions, 2 deletions
src/main/resources/floodlightdefault.properties
with
3 additions
and
5 deletions
src/main/java/net/floodlightcontroller/topology/web/AllBroadcastPortsResource.java
+
1
−
3
View file @
0b15a036
...
@@ -16,9 +16,7 @@
...
@@ -16,9 +16,7 @@
package
net.floodlightcontroller.topology.web
;
package
net.floodlightcontroller.topology.web
;
import
java.util.Set
;
import
net.floodlightcontroller.core.types.NodePortTuple
;
import
net.floodlightcontroller.topology.ITopologyService
;
import
net.floodlightcontroller.topology.ITopologyService
;
import
org.restlet.resource.Get
;
import
org.restlet.resource.Get
;
...
@@ -26,7 +24,7 @@ import org.restlet.resource.ServerResource;
...
@@ -26,7 +24,7 @@ import org.restlet.resource.ServerResource;
public
class
AllBroadcastPortsResource
extends
ServerResource
{
public
class
AllBroadcastPortsResource
extends
ServerResource
{
@Get
(
"json"
)
@Get
(
"json"
)
public
Set
<
NodePortTuple
>
retrieve
()
{
public
Object
retrieve
()
{
ITopologyService
topology
=
ITopologyService
topology
=
(
ITopologyService
)
getContext
().
getAttributes
().
(
ITopologyService
)
getContext
().
getAttributes
().
get
(
ITopologyService
.
class
.
getCanonicalName
());
get
(
ITopologyService
.
class
.
getCanonicalName
());
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/floodlightdefault.properties
+
2
−
2
View file @
0b15a036
...
@@ -58,8 +58,8 @@ net.floodlightcontroller.restserver.RestApiServer.keyStorePassword=Password
...
@@ -58,8 +58,8 @@ net.floodlightcontroller.restserver.RestApiServer.keyStorePassword=Password
net.floodlightcontroller.restserver.RestApiServer.httpsNeedClientAuthentication
=
NO
net.floodlightcontroller.restserver.RestApiServer.httpsNeedClientAuthentication
=
NO
net.floodlightcontroller.restserver.RestApiServer.useHttps
=
NO
net.floodlightcontroller.restserver.RestApiServer.useHttps
=
NO
net.floodlightcontroller.restserver.RestApiServer.useHttp
=
YES
net.floodlightcontroller.restserver.RestApiServer.useHttp
=
YES
net.floodlightcontroller.restserver.RestApiServer.httpsPort
=
11
081
net.floodlightcontroller.restserver.RestApiServer.httpsPort
=
8
081
net.floodlightcontroller.restserver.RestApiServer.httpPort
=
11
080
net.floodlightcontroller.restserver.RestApiServer.httpPort
=
8
080
net.floodlightcontroller.restserver.RestApiServer.accessControlAllowAllOrigins
=
TRUE
net.floodlightcontroller.restserver.RestApiServer.accessControlAllowAllOrigins
=
TRUE
net.floodlightcontroller.statistics.StatisticsCollector.enable
=
FALSE
net.floodlightcontroller.statistics.StatisticsCollector.enable
=
FALSE
net.floodlightcontroller.statistics.StatisticsCollector.collectionIntervalPortStatsSeconds
=
10
net.floodlightcontroller.statistics.StatisticsCollector.collectionIntervalPortStatsSeconds
=
10
...
...
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