This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import re | |
import pexpect | |
#----------------------------------------------------------------------- | |
def get_devices_list(): | |
devices_list = [] | |
file = open('devices_iosxr', 'r') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
R9#show debug | |
OSPF: | |
OSPF RIB (Routing Information Base) debugging is on | |
OSPF Local RIB (Routing Information Base) debugging is on | |
OSPF Global RIB (Routing Information Base) debugging is on | |
OSPF Redistribution debugging is on | |
OSPF events debugging is on | |
OSPF flooding debugging is on | |
OSPF LSA generation debugging is on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Injectable} from '@angular/core'; | |
import {FirebaseAuth, AngularFire} from "angularfire2"; | |
import {Subject, Observable, BehaviorSubject} from "rxjs"; | |
import {AuthInfo} from "./auth-info"; | |
@Injectable() | |
export class AuthService { | |
static UNKNOWN_USER = new AuthInfo(null); | |
authInfo$: BehaviorSubject<AuthInfo> = new BehaviorSubject<AuthInfo>(AuthService.UNKNOWN_USER); |