CiscoTestAutomation / genieparser

sub-component of Genie that parse the device output into structured datastructure
Apache License 2.0
252 stars 387 forks source link

Pushing directly to Master #244

Closed itdependsnetworks closed 4 years ago

itdependsnetworks commented 4 years ago

Is this practice to be expected?

I see the following issues with this practice

    golden_output = {'execute.return_value': '''
        pm9010#show sdwan utd engine
        utd-oper-data utd-engine-status version 1.0.6_SV2.9.13.0_XE17.3
        utd-oper-data utd-engine-status profile Cloud-Medium
        utd-oper-data utd-engine-status status utd-oper-status-green
        utd-oper-data utd-engine-status reason ""
        utd-oper-data utd-engine-status memory-usage 11.3
        utd-oper-data utd-engine-status memory-status utd-oper-status-green
        ID  RUNNING  STATUS                 REASON  
        --------------------------------------------
        1   true     utd-oper-status-green       
        2   true     utd-oper-status-green      
        '''
        }

pinging @ahersi2-cisco https://github.com/CiscoTestAutomation/genieparser/commit/35471076b60e2623ce3b860b92f0702fc1de4a8d

jeaubin commented 4 years ago

To give you a better understanding of the internal workflow -

Internally we are using Github enterprise; following same guidelines as here - make sure unittest pass, etc. (Github enterprise doesnt support workflow yet, so we are using jenkins). Once a month at the release time - or close by, we take all that was worked during that month and merge it here.

I also want to iterate, thank you for pushing us towards these changes, I appreciate it; we need to switch more and more towards a more open source model - instead of the cisco model we've been doing for years.

itdependsnetworks commented 4 years ago

Thanks.

Is it possible you are not pulling down from the open source project? There seems to be a gap and that is my only guess.

jeaubin commented 4 years ago

Can you explain what you mean by this ? What is the gap ?

itdependsnetworks commented 4 years ago

Tests are not passing when as an open source contributor I rebase from master.

mgdransfield commented 4 years ago

Is this causing make json to fail as iosxe/show_wireless.py has multiple errors in it?

LenzDong commented 4 years ago

Hi,

We have released latest v20.10 last week. And I don't see the issue with latest release. I will close this thread. Please update with the latest version. Let us know if any other issue with latest.

Thanks,