Giter Club home page Giter Club logo

nimsoft-robot's People

Contributors

narindergupta avatar

Watchers

James Cloos avatar

Forkers

msmarcal

nimsoft-robot's Issues

The options don't change when setting a new value.'

When changing an option, the charm doesn't change the config file.

Steps to reproduce

1. Install the charm

juju deploy ./charms/nimsoft-robot --resource nimsoft-robot-package=./resources/nimsoft-robot.ubuntu_amd64.deb

2. Add a relation

juju add-relation nimsoft-robot nova-compute-kvm

3. Get a option value

juju config nimsoft-robot hubip
Default Value

4. Set the value

juju config nimsoft-robot hubip="192.168.1.1"

5. Get the value

juju config nimsoft-robot hubip
192.168.1.1

6. Check the robot.cfg configuration file

juju ssh nimsoft-robot/25

sudo cat /opt/nimsoft/robot/robot.cfg
<controller>
   domain = Default Value
   robotip = 10.240.245.72
   robotname = brtlvlts1338co
   robotip_alias = 10.240.245.72
   hubip = Default Value
   first_probe_port = 48000
   hub = Default Value
   hubrobotname = Default Value
   hubport = 48002
   access_0 = 0
   access_1 = 1
   access_2 = 2
   access_3 = 3
   access_4 = 4
   secondary_domain = Default Value
   secondary_hub = Default Value
   secondary_hubrobotname = Default Value
   secondary_hubip = Default Value
   secondary_hubport = 48002
   robot_mode = normal
   set_qos_source = yes
   system_uptime_qos = yes
   autoremove = no
   hub_update_interval = 60
   suspend_on_loopback_only = no
   temporary_hub_broadcast = no
   alarm_level_dispatch_error = critical
   alarm_level_max_restarts = major
   alarm_level_start_error = critical
   alarm_level_timed_not_finished = warning
   alarm_level_timed_error_return = warning
   alarm_level_unregister = information
   alarm_level_request_error = major
   ip_version = ipv4
   reuse_async_session = 1
<environment>
      LD_LIBRARY_PATH = .:$LD_LIBRARY_PATH
   </environment>
</controller>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.