DX NetOps

 View Only
  • 1.  Geo Map on DX NetOps

    Posted Sep 05, 2022 05:29 AM
    Hi Community,

    Does Map view supports for devices either in DX NetOps Spectrum or PM? Please suggest if any one is uses Map view for devices.

    ------------------------------
    Regards,

    Eshwar
    ------------------------------


  • 2.  RE: Geo Map on DX NetOps

    Posted Sep 06, 2022 01:30 AM
    There are some PM OpenAPI applications published on GitHub that do exactly that. As per Spectrum, the Gis View, I think it's far more limited than the options you get in PM. You can create also weather maps using OpenAPI. I would suggest you inspire from existing applications to build one that should provide you what you need. I suggest reading the documentation for each of the published applications.

    ------------------------------
    Cătălin Fărcășanu
    Senior Consultant
    SolvIT Networks
    ------------------------------



  • 3.  RE: Geo Map on DX NetOps

    Posted Sep 06, 2022 06:48 AM
    Thank you for information @Catalin Farcasanu


    ​​

    ------------------------------
    Regards,

    Eshwar
    ------------------------------



  • 4.  RE: Geo Map on DX NetOps

    Posted Sep 07, 2022 12:55 AM
    Those applications on github didn't work for me on platform running 21.2.

    Does anyone got it working? I am specifically interested in weather board site to site.


  • 5.  RE: Geo Map on DX NetOps

    Broadcom Employee
    Posted Sep 08, 2022 08:36 AM
    Hi Zuber -

    You may need to change your security policy to allow for third-party sites, script access, etc.  You can view the current policy in Administration -> Configuration Settings -> Security Settings.  Look under "Basic Security" category for "Custom HTTP Headers".

    ------------------------------
    Brian Jackson | Broadcom | AIOps
    ------------------------------



  • 6.  RE: Geo Map on DX NetOps

    Posted Oct 13, 2022 12:11 PM
    What changes should be made here? I'm having issues getting it to work as well.


  • 7.  RE: Geo Map on DX NetOps

    Broadcom Employee
    Posted Oct 13, 2022 12:22 PM
    Based on cases we've had, I believe this is the recommended Custom Headers value you can use for SsoConfig (remote value).

    For geomap, used this to get it able to grab the files from google fine.

    Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://maps.googleapis.com; connect-src 'self' https://maps.googleapis.com; img-src 'self' https://maps.googleapis.com https://maps.gstatic.com data:; style-src 'self' 'unsafe-inline'; base-uri 'self'; frame-ancestors 'self'; font-src 'self'; frame-src 'self' https://maps.googleapis.com|X-Content-Type-Options: nosniff|X-XSS-Protection: 1; mode=block|Referrer-Policy: strict-origin|Feature-Policy: 'none'|Strict-Transport-Security: max-age=31536000; includeSubDomains; preload |Access-Control-Allow-Origin 'self' https://maps.googleapis.com



  • 8.  RE: Geo Map on DX NetOps

    Posted Mar 16, 2023 10:18 AM

    Hello,
    i have the same issue trying to make works the weather map..


    index.html:1 Refused to load the script 'https://maps.googleapis.com/maps/api/js?key=AIzaSyCoItdlkH2tHVkGmXrF7DUgx1s1hat8g8k&callback=init' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' 'unsafe-eval'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.




  • 9.  RE: Geo Map on DX NetOps

    Posted Mar 16, 2023 10:18 AM

    Hello,

    Im trying to make works the weather map OpenAPI, it used to works in my old 3.7 CAPC but not in my Netops 21.2 , is failling

    index.html:1 Refused to load the script 'https://maps.googleapis.com/maps/api/js?key=AIzaSyCoItdlkH2tHVkGmXrF7DUgx1s1hat8g8k&callback=init' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' 'unsafe-eval'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.