-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consult #1
Comments
Hi, Thanks. |
Dear friend, |
Did you change ip addresses in all html files ? 2 Mart 2016 Çarşamba tarihinde, benboy-han notifications@github.com yazdı:
|
yes,we did.And what the version of floodlight do you use? |
v1.1 |
@hknakcay When can we expect the second version? Do you need any assistance developing it or are you running into any issues? |
Dear friend, |
Hi, Can you send me screenshot ? It looks like a Rest API call error. Thanks. From: benboy-han [mailto:notifications@github.com] Dear friend, — Bu e-posta virüslere karşı Avast antivirüs yazılımı tarafından kontrol edilmiştir. |
Can you share me with you e-mail, so we can communicate with each other |
It would be cool if you guys could CC the floodlight-dev@openflowhub.org Ryan Izard rizard@g.clemson.eduBig Switch Networks On Wed, Mar 2, 2016 at 8:31 AM, hknakcay notifications@github.com wrote:
|
Dear Friend, |
Dear friend,
the changes below for all html pages. For example (index.html) : replace your own controller ip address. <script type="text/javascript"> ``` //Controller role LoadControllerRole(); function LoadControllerRole() { $.ajax({ url: "http://192.168.1.62:8080/wm/core/role/json", ``` Then, ``` I looked at screen shots, It looks like, caused by floodlight internal ``` rest api server policy error. In floodlight source code, you have to allow remote api call requests. In the net.floodlightcontroller.restserver -> RestApiServer.java file , replace the _Run_ method with below : public void run() { if (logger.isDebugEnabled()) { StringBuffer sb = new StringBuffer(); sb.append("REST API routables: "); for (RestletRoutable routable : restlets) { sb.append(routable.getClass().getSimpleName()); sb.append(" ("); sb.append(routable.basePath()); sb.append("), "); } logger.debug(sb.toString()); } _CorsService corsService=new CorsService();_ - corsService.setAllowedOrigins(new HashSet(Arrays.asList("_")));_ - corsService.setAllowedCredentials(true);* RestApplication restApp = new RestApplication(); restApp.getServices().add(corsService); restApp.run(fmlContext, restHost); } Then, you can retrive data from the controller. Thanks. 2016-03-04 4:25 GMT+02:00 benboy-han notifications@github.com: > Dear Friend, > I have sent a e-mail to you! And i have gaven you a screenshot ,So can you > help me to solve this problem! Thank you in advanced! > > — > Reply to this email directly or view it on GitHub > https://github.com//issues/1#issuecomment-192066684 > . |
Hi Ryan,
So, the entered ip address will be used for entire the application. Thanks. From: Ryan Izard [mailto:notifications@github.com] @hknakcay https://github.com/hknakcay When can we expect the second version? Do you need any assistance developing it or are you running into any issues? — Bu e-posta virüslere karşı Avast antivirüs yazılımı tarafından kontrol edilmiştir. |
Hi Hakan, What if the interface was installed with the controller? It would replace Ryan Izard rizard@g.clemson.eduBig Switch Networks On Fri, Mar 4, 2016 at 10:18 AM, HAKAN AKÇAY GMAİL hknakcay@gmail.com
|
Yes, you are right. It works.
By the way,
Thanks. From: Ryan Izard [mailto:rizard@g.clemson.edu] Hi Hakan, What if the interface was installed with the controller? It would replace the existing web interface of the controller and use the localhost as the IP, thus eliminating the need to ask the user for the IP. I've tested this, and it works. Ryan Izard PhD Candidate, Research/Teaching Assistant 306B Fluor Daniel Building Big Switch Networks mailto:ryan.izard@bigswitch.com ryan.izard@bigswitch.com On Fri, Mar 4, 2016 at 10:18 AM, HAKAN AKÇAY GMAİL <hknakcay@gmail.com mailto:hknakcay@gmail.com > wrote: Hi Ryan,
So, the entered ip address will be used for entire the application. Thanks. From: Ryan Izard [mailto: mailto:notifications@github.com notifications@github.com] @hknakcay https://github.com/hknakcay When can we expect the second version? Do you need any assistance developing it or are you running into any issues? — Bu e-posta Avast tarafından korunan virüssüz bir bilgisayardan gönderilmiştir. You received this message because you are subscribed to the Google Groups "Floodlight-developers" group. Bu e-posta virüslere karşı Avast antivirüs yazılımı tarafından kontrol edilmiştir. |
Dear friend,
And for supporting the CorsService, I have add the cors-filter-1.7.1.jar and java-property-utils-1.9.1.jar. |
Hi , Did you debug floodlight code step by step? Where did you take errors ? Thanks. From: benboy-han [mailto:notifications@github.com] Dear friend,
} And for supporting the CorsService, I have add the cors-filter-1.7.1.jar and java-property-utils-1.9.1.jar. — Bu e-posta virüslere karşı Avast antivirüs yazılımı tarafından kontrol edilmiştir. |
Dear friend, |
and thanks for your sharing. |
Dear firend, |
Hi, Thanks |
hi @SABER087,your webUI is works,could you give me a description in detail ? why I can't get info about floodlight,such as module,topo.there is nothing. Thanks |
hi @xingkongyetan ,I'm a beginner,maybe I could not explain it correctly. You should read other comment and follow original master's suggestion step by step. |
hi @xingkongyetan , it seems that your connection to controller was failed. Make you sure that floodlight controller is running and the ip address is correct. But before that, you may be fail because of the rest api policy constraint. To solve this, as @SABER087 said, you should apply the instructions in the previos comment. Thanks. |
The related comment, "_CorsService corsService=new CorsService();
|
Dear friend,
I see the floodlight-WebUI,I think it 's good.So ,i try a expriment,but i failed.The web can not get information about switch,host,topolopy and so on. In the Web , controller role is disable.Can you give me advices!Thank you very much!
The text was updated successfully, but these errors were encountered: