Comments (2)
The documentation is not correct. I found the solution by adding the name of the require class as someone do it here: #2579.
require 'oxidized/model/comware.rb'
class CustomHP < Comware
...
It's works now.
from oxidized.
Document is extending an existing class, you are creating a new class, subclassing existing class. These are two different things. This is technically not oxidized question at all, but rather ruby question.
Usually all model classes are subclasses of Oxidized::Model, this is why custom methods like cmd
work. If we don't subclass existing class, and we define entirely new class, of course there will be no Oxidized specific methods available.
from oxidized.
Related Issues (20)
- ERROR -- : Hook push_to_remote SshError: remote rejected authentication: Failed getting response
- Load nodes didn't recognized ArubaOS Mobility Controller 8.10.0.9 (use aosw or Aaosw) and F5 Big-IP (use tmos) HOT 1
- passwords with special characters (dollar sign and space) HOT 3
- ArubaOS8 need update propmt
- about not login use password (maybe is ruby net-ssh problem or oxidized??) HOT 4
- vyatta snmp community secret leakage HOT 1
- Contribution: miscellaneous models HOT 6
- Unable to backup Nexus 9000 switch - More when display running-config HOT 2
- FortiOS stopped doing a "show full-configuration" HOT 1
- Web API /next returns status 500 if node is waiting to poll
- how to secure config file ( hide / encrypt password) HOT 1
- Git error due to unproper shutdown HOT 2
- IOSXR - "Admin mode has been deprecated" HOT 4
- SSH cipher update - openssh bug CVE-2023-48795 HOT 1
- undefined method 'url' HOT 8
- Trying to create group-based repos when not configured to? HOT 2
- change default ssh port HOT 3
- environment when running docker... HOT 1
- FortiOS changes private key encryption every time config is downloaded
- Strip uptime from D-Link 3130 configs HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oxidized.