Skip to content

p3rtinax/ops-webui

 
 

Repository files navigation

OPS-WebUI

What is ops-webui?

ops-webui is a module in the OpenSwitch project that is responsible for displaying information about the switch via a Web User Interface.

This project leverages:

Repository Structure

  • .babelrc - javascript/JSX Babel compiler configuration
  • .eslintrc - javascript/JSX ESLint rule definitions
  • aliases.sh - can be sourced by bash, aliases of "npm run ..." commands
  • package.json - nodeJS/npm dependences and npm command definitions
  • webpack.config.js - Webpack Module Bundler configuration
  • index.html - copied to ./build
  • build.config.js - default build configuration
  • karma.* - unit test framework files
  • build/ - all built artifacts go here
    • index.html - contains the main application div
    • bundle.js - all compiled javascript and style
    • images, icons, & fonts
  • node_modules/ - all 3rd party npm modules are install here
    • react/
    • grommet/
    • ...etc...
  • src/ - all javascript/JSX source
    • shared/ - shared business logic, components and resources
      • assets/ - fonts and icons
      • boxGraphics/ - box graphic component and device drawings
      • components/ - ReactJS shared components
      • i18n/ - localization component and locale text (i.e. en-US.js)
      • test/ - business logic tests
      • business logic modules
    • app/ - main application source
      • global scss styles, main framework, layout, navigation
    • modules/ - plug-in module directories
      • exampleModule/ - example module directory
        • exampleConst.jsx - constant definitions (i.e. client-server shared keys)
        • exampleDux.jsx - Dux file for this module (imported in the build config)
        • examplePage.jsx - page component (Dux will have a route component for this)
        • exampleDetails.jsx - detail component (optional)
        • exampleEdit.jsx - edit component (optional)
  • tools/ - development tools (build and test)
    • scripts/ - script tools (tar/untar node modules)
    • reference/ - backup directory for legacy code (not used)

License Information

ops-webui is using the Apache 2.0 license. For more details refer to COPYING.

Other documents

For the high level design of ops-webui, refer to DESIGN.md For the current list of contributors and maintainers, refer to AUTHORS

For general information about OpenSwitch project refer to http://www.openswitch.net

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.0%
  • Python 6.9%
  • CSS 6.6%
  • Other 0.5%