Comments (5)
yea, it works, maybe it's the version..
eos-sw01#sh hostname
Hostname: eos-sw01
FQDN: eos-sw01.ipyandy.local
eos-sw01#sh ver
Arista DCS-7050T-64-R
Hardware version: 00.00
Serial number: JPE13020644
System MAC address: 001c.732e.b558
Software image version: 4.13.2F
Architecture: i386
Internal build version: 4.13.2F-1649184.4132F.2
Internal build ID: eeb3c212-b4bd-4c19-ba34-1b0aa36e43f1
Uptime: 9 hours and 19 minutes
Total memory: 3990500 kB
Free memory: 1291648 kB
but it doesn't work on vEOS, probably why, different versions...
from cpal.
Okay. Was going to say, thought I was losing it. My version doesn't support. All good though.
On Apr 2, 2014, at 6:50 PM, Yandy Ramirez [email protected] wrote:
yea, it works, maybe it's the version..
eos-sw01#sh hostname
Hostname: eos-sw01
FQDN: eos-sw01.ipyandy.local
eos-sw01#sh ver
Arista DCS-7050T-64-R
Hardware version: 00.00
Serial number: JPE13020644
System MAC address: 001c.732e.b558Software image version: 4.13.2F
Architecture: i386
Internal build version: 4.13.2F-1649184.4132F.2
Internal build ID: eeb3c212-b4bd-4c19-ba34-1b0aa36e43f1Uptime: 9 hours and 19 minutes
Total memory: 3990500 kB
Free memory: 1291648 kB
—
Reply to this email directly or view it on GitHub.
from cpal.
The string parsing one wasn't working either, would return "local inf" or something like that. I can create a getHostnameOld() to support the old and new style for now.
what do you think?
from cpal.
Why don't you get fancy and check OS first so the user doesn't have to know which to call?? :) If it's 4.12. or earlier, execute getHostnameOld() else getHostname. Mine is 4.12+ right now.
from cpal.
not a bad idea, lets see how that plays out.. BOOM!
from cpal.
Related Issues (11)
- Standardized classes for inter-vendor data structures HOT 9
- method for arg parsing HOT 5
- Using cpal as standalone program HOT 3
- Move device to it's own module (device.py) HOT 6
- changes to main.py --> device() as testing HOT 6
- Attribute License HOT 1
- What's the Plan? HOT 12
- Please consider an explicit license for the repo HOT 2
- Use a bit of Inheritance? - Open discussion HOT 3
- added: Initial command-line parsing
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 cpal.