Showing
7 changed files
with
44 additions
and
25 deletions
... | @@ -4,6 +4,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; | ... | @@ -4,6 +4,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; |
4 | import com.fasterxml.jackson.databind.node.ArrayNode; | 4 | import com.fasterxml.jackson.databind.node.ArrayNode; |
5 | import com.fasterxml.jackson.databind.node.ObjectNode; | 5 | import com.fasterxml.jackson.databind.node.ObjectNode; |
6 | import org.onlab.onos.net.ConnectPoint; | 6 | import org.onlab.onos.net.ConnectPoint; |
7 | +import org.onlab.onos.net.Device; | ||
7 | import org.onlab.onos.net.ElementId; | 8 | import org.onlab.onos.net.ElementId; |
8 | import org.onlab.onos.net.Link; | 9 | import org.onlab.onos.net.Link; |
9 | import org.onlab.onos.net.device.DeviceService; | 10 | import org.onlab.onos.net.device.DeviceService; |
... | @@ -16,7 +17,7 @@ import org.onlab.onos.net.topology.TopologyVertex; | ... | @@ -16,7 +17,7 @@ import org.onlab.onos.net.topology.TopologyVertex; |
16 | import org.onlab.rest.BaseResource; | 17 | import org.onlab.rest.BaseResource; |
17 | 18 | ||
18 | import javax.ws.rs.GET; | 19 | import javax.ws.rs.GET; |
19 | -import javax.ws.rs.Path; | 20 | +import javax.ws.rs.PathParam; |
20 | import javax.ws.rs.Produces; | 21 | import javax.ws.rs.Produces; |
21 | import javax.ws.rs.core.Response; | 22 | import javax.ws.rs.core.Response; |
22 | import java.util.HashMap; | 23 | import java.util.HashMap; |
... | @@ -24,13 +25,15 @@ import java.util.HashSet; | ... | @@ -24,13 +25,15 @@ import java.util.HashSet; |
24 | import java.util.Map; | 25 | import java.util.Map; |
25 | import java.util.Set; | 26 | import java.util.Set; |
26 | 27 | ||
28 | +import static org.onlab.onos.net.DeviceId.deviceId; | ||
29 | + | ||
27 | /** | 30 | /** |
28 | * Topology viewer resource. | 31 | * Topology viewer resource. |
29 | */ | 32 | */ |
30 | -@Path("topology") | 33 | +@javax.ws.rs.Path("topology") |
31 | public class TopologyResource extends BaseResource { | 34 | public class TopologyResource extends BaseResource { |
32 | 35 | ||
33 | - @Path("/graph") | 36 | + @javax.ws.rs.Path("/graph") |
34 | @GET | 37 | @GET |
35 | @Produces("application/json") | 38 | @Produces("application/json") |
36 | public Response graph() { | 39 | public Response graph() { |
... | @@ -79,6 +82,40 @@ public class TopologyResource extends BaseResource { | ... | @@ -79,6 +82,40 @@ public class TopologyResource extends BaseResource { |
79 | return Response.ok(rootNode.toString()).build(); | 82 | return Response.ok(rootNode.toString()).build(); |
80 | } | 83 | } |
81 | 84 | ||
85 | + | ||
86 | + | ||
87 | + /** | ||
88 | + * Returns a JSON array of all paths between the specified hosts. | ||
89 | + * | ||
90 | + * @param src source host id | ||
91 | + * @param dst target host id | ||
92 | + * @return JSON array of paths | ||
93 | + */ | ||
94 | + @javax.ws.rs.Path("/paths/{src}/{dst}") | ||
95 | + @GET | ||
96 | + @Produces("application/json") | ||
97 | + public Response paths(@PathParam("src") String src, @PathParam("dst") String dst) { | ||
98 | + ObjectMapper mapper = new ObjectMapper(); | ||
99 | + | ||
100 | + DeviceService deviceService = get(DeviceService.class); | ||
101 | + TopologyService topologyService = get(TopologyService.class); | ||
102 | + Topology topology = topologyService.currentTopology(); | ||
103 | + | ||
104 | + ArrayNode pathsNode = mapper.createArrayNode(); | ||
105 | + Device srcDevice = deviceService.getDevice(deviceId(src)); | ||
106 | + Device dstDevice = deviceService.getDevice(deviceId(dst)); | ||
107 | + | ||
108 | +// if (srcDevice != null && dstDevice != null) { | ||
109 | +// for (Path path : topologyService.getPaths(topology, srcDevice, dstDevice)) | ||
110 | +// pathsNode.add(json(mapper, path)); | ||
111 | +// } | ||
112 | + | ||
113 | + // Now put the vertexes and edges into a root node and ship them off | ||
114 | + ObjectNode rootNode = mapper.createObjectNode(); | ||
115 | + rootNode.put("paths", pathsNode); | ||
116 | + return Response.ok(rootNode.toString()).build(); | ||
117 | + } | ||
118 | + | ||
82 | // Scan all links and counts number of them between the same devices | 119 | // Scan all links and counts number of them between the same devices |
83 | // using a normalized link key. | 120 | // using a normalized link key. |
84 | private Map<String, AggLink> aggregateLinks() { | 121 | private Map<String, AggLink> aggregateLinks() { |
... | @@ -96,6 +133,10 @@ public class TopologyResource extends BaseResource { | ... | @@ -96,6 +133,10 @@ public class TopologyResource extends BaseResource { |
96 | return aggLinks; | 133 | return aggLinks; |
97 | } | 134 | } |
98 | 135 | ||
136 | + | ||
137 | + | ||
138 | + | ||
139 | + | ||
99 | // Produces JSON for a graph vertex. | 140 | // Produces JSON for a graph vertex. |
100 | private ObjectNode json(ObjectMapper mapper, ElementId id, int group, | 141 | private ObjectNode json(ObjectMapper mapper, ElementId id, int group, |
101 | boolean isOnline) { | 142 | boolean isOnline) { | ... | ... |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 | -/* | ||
2 | - AngularJS v1.2.18 | ||
3 | - (c) 2010-2014 Google, Inc. http://angularjs.org | ||
4 | - License: MIT | ||
5 | -*/ | ||
6 | -(function(n,e,A){'use strict';function x(s,g,k){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(a,c,b,f,w){function y(){p&&(p.remove(),p=null);h&&(h.$destroy(),h=null);l&&(k.leave(l,function(){p=null}),p=l,l=null)}function v(){var b=s.current&&s.current.locals;if(e.isDefined(b&&b.$template)){var b=a.$new(),d=s.current;l=w(b,function(d){k.enter(d,null,l||c,function(){!e.isDefined(t)||t&&!a.$eval(t)||g()});y()});h=d.scope=b;h.$emit("$viewContentLoaded");h.$eval(u)}else y()} | ||
7 | -var h,l,p,t=b.autoscroll,u=b.onload||"";a.$on("$routeChangeSuccess",v);v()}}}function z(e,g,k){return{restrict:"ECA",priority:-400,link:function(a,c){var b=k.current,f=b.locals;c.html(f.$template);var w=e(c.contents());b.controller&&(f.$scope=a,f=g(b.controller,f),b.controllerAs&&(a[b.controllerAs]=f),c.data("$ngControllerController",f),c.children().data("$ngControllerController",f));w(a)}}}n=e.module("ngRoute",["ng"]).provider("$route",function(){function s(a,c){return e.extend(new (e.extend(function(){}, | ||
8 | -{prototype:a})),c)}function g(a,e){var b=e.caseInsensitiveMatch,f={originalPath:a,regexp:a},k=f.keys=[];a=a.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,function(a,e,b,c){a="?"===c?c:null;c="*"===c?c:null;k.push({name:b,optional:!!a});e=e||"";return""+(a?"":e)+"(?:"+(a?e:"")+(c&&"(.+?)"||"([^/]+)")+(a||"")+")"+(a||"")}).replace(/([\/$\*])/g,"\\$1");f.regexp=RegExp("^"+a+"$",b?"i":"");return f}var k={};this.when=function(a,c){k[a]=e.extend({reloadOnSearch:!0},c,a&&g(a,c));if(a){var b= | ||
9 | -"/"==a[a.length-1]?a.substr(0,a.length-1):a+"/";k[b]=e.extend({redirectTo:a},g(b,c))}return this};this.otherwise=function(a){this.when(null,a);return this};this.$get=["$rootScope","$location","$routeParams","$q","$injector","$http","$templateCache","$sce",function(a,c,b,f,g,n,v,h){function l(){var d=p(),m=r.current;if(d&&m&&d.$$route===m.$$route&&e.equals(d.pathParams,m.pathParams)&&!d.reloadOnSearch&&!u)m.params=d.params,e.copy(m.params,b),a.$broadcast("$routeUpdate",m);else if(d||m)u=!1,a.$broadcast("$routeChangeStart", | ||
10 | -d,m),(r.current=d)&&d.redirectTo&&(e.isString(d.redirectTo)?c.path(t(d.redirectTo,d.params)).search(d.params).replace():c.url(d.redirectTo(d.pathParams,c.path(),c.search())).replace()),f.when(d).then(function(){if(d){var a=e.extend({},d.resolve),c,b;e.forEach(a,function(d,c){a[c]=e.isString(d)?g.get(d):g.invoke(d)});e.isDefined(c=d.template)?e.isFunction(c)&&(c=c(d.params)):e.isDefined(b=d.templateUrl)&&(e.isFunction(b)&&(b=b(d.params)),b=h.getTrustedResourceUrl(b),e.isDefined(b)&&(d.loadedTemplateUrl= | ||
11 | -b,c=n.get(b,{cache:v}).then(function(a){return a.data})));e.isDefined(c)&&(a.$template=c);return f.all(a)}}).then(function(c){d==r.current&&(d&&(d.locals=c,e.copy(d.params,b)),a.$broadcast("$routeChangeSuccess",d,m))},function(c){d==r.current&&a.$broadcast("$routeChangeError",d,m,c)})}function p(){var a,b;e.forEach(k,function(f,k){var q;if(q=!b){var g=c.path();q=f.keys;var l={};if(f.regexp)if(g=f.regexp.exec(g)){for(var h=1,p=g.length;h<p;++h){var n=q[h-1],r="string"==typeof g[h]?decodeURIComponent(g[h]): | ||
12 | -g[h];n&&r&&(l[n.name]=r)}q=l}else q=null;else q=null;q=a=q}q&&(b=s(f,{params:e.extend({},c.search(),a),pathParams:a}),b.$$route=f)});return b||k[null]&&s(k[null],{params:{},pathParams:{}})}function t(a,c){var b=[];e.forEach((a||"").split(":"),function(a,d){if(0===d)b.push(a);else{var e=a.match(/(\w+)(.*)/),f=e[1];b.push(c[f]);b.push(e[2]||"");delete c[f]}});return b.join("")}var u=!1,r={routes:k,reload:function(){u=!0;a.$evalAsync(l)}};a.$on("$locationChangeSuccess",l);return r}]});n.provider("$routeParams", | ||
13 | -function(){this.$get=function(){return{}}});n.directive("ngView",x);n.directive("ngView",z);x.$inject=["$route","$anchorScroll","$animate"];z.$inject=["$compile","$controller","$route"]})(window,window.angular); | ||
14 | -//# sourceMappingURL=angular-route.min.js.map |
1 | -{ | ||
2 | -"version":3, | ||
3 | -"file":"angular-route.min.js", | ||
4 | -"lineCount":13, | ||
5 | -"mappings":"A;;;;;aAKC,SAAQ,CAACA,CAAD,CAASC,CAAT,CAAkBC,CAAlB,CAA6B,CAizBtCC,QAASA,EAAa,CAAIC,CAAJ,CAAcC,CAAd,CAA+BC,CAA/B,CAAyC,CAC7D,MAAO,UACK,KADL,UAEK,CAAA,CAFL,UAGK,GAHL,YAIO,SAJP,MAKCC,QAAQ,CAACC,CAAD,CAAQC,CAAR,CAAkBC,CAAlB,CAAwBC,CAAxB,CAA8BC,CAA9B,CAA2C,CAUrDC,QAASA,EAAe,EAAG,CACtBC,CAAH,GACEA,CAAAC,OAAA,EACA,CAAAD,CAAA,CAAkB,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,CAAZ,CACAkE,EAAA9D,KAAA,CAAYiE,CAAA,CAAa,CAAb,CAAZ,EAA+B,EAA/B,CACA,QAAOrD,CAAA,CAAOhB,CAAP,CALF,CAHqD,CAA9D,CAWA,OAAOkE,EAAAI,KAAA,CAAY,EAAZ,CAb4B,CA5VuD,IA8LxFpC,EAAc,CAAA,CA9L0E,CA+LxF/F,EAAS,QACCoE,CADD,QAcCgE,QAAQ,EAAG,CACjBrC,CAAA,CAAc,CAAA,CACdhB,EAAAsD,WAAA,CAAsB9C,CAAtB,CAFiB,CAdZ,CAoBbR,EAAA/C,IAAA,CAAe,wBAAf,CAAyCuD,CAAzC,CAEA,OAAOvF,EArNqF,CARlF,CA1LW,CAlBL,CAkkBpB2C,EAAAE,SAAA,CAAuB,cAAvB;AAoCAyF,QAA6B,EAAG,CAC9B,IAAAxD,KAAA,CAAYyD,QAAQ,EAAG,CAAE,MAAO,EAAT,CADO,CApChC,CAwCA5F,EAAA6F,UAAA,CAAwB,QAAxB,CAAkCzI,CAAlC,CACA4C,EAAA6F,UAAA,CAAwB,QAAxB,CAAkCvG,CAAlC,CAmLAlC,EAAA0I,QAAA,CAAwB,CAAC,QAAD,CAAW,eAAX,CAA4B,UAA5B,CA4ExBxG,EAAAwG,QAAA,CAAmC,CAAC,UAAD,CAAa,aAAb,CAA4B,QAA5B,CA53BG,CAArC,CAAA,CAy5BE7I,MAz5BF,CAy5BUA,MAAAC,QAz5BV;", | ||
6 | -"sources":["angular-route.js"], | ||
7 | -"names":["window","angular","undefined","ngViewFactory","$route","$anchorScroll","$animate","link","scope","$element","attr","ctrl","$transclude","cleanupLastView","previousElement","remove","currentScope","$destroy","currentElement","leave","update","locals","current","isDefined","$template","newScope","$new","clone","enter","onNgViewEnter","autoScrollExp","$eval","$emit","onloadExp","autoscroll","onload","$on","ngViewFillContentFactory","$compile","$controller","html","contents","controller","$scope","controllerAs","data","children","ngRouteModule","module","provider","$RouteProvider","inherit","parent","extra","extend","pathRegExp","path","opts","insensitive","caseInsensitiveMatch","ret","keys","replace","_","slash","key","option","optional","star","push","regexp","RegExp","routes","when","this.when","route","redirectPath","length","substr","otherwise","this.otherwise","params","$get","$rootScope","$location","$routeParams","$q","$injector","$http","$templateCache","$sce","updateRoute","next","parseRoute","last","$$route","equals","pathParams","reloadOnSearch","forceReload","copy","$broadcast","redirectTo","isString","interpolate","search","url","then","resolve","template","templateUrl","forEach","value","get","invoke","isFunction","getTrustedResourceUrl","loadedTemplateUrl","response","all","error","match","m","exec","on","i","len","val","decodeURIComponent","name","string","result","split","segment","segmentMatch","join","reload","$evalAsync","$RouteParamsProvider","this.$get","directive","$inject"] | ||
8 | -} |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or login to post a comment