Skip to content

Credentials Incorrect - Affecting Learning Labs #131

@xanderstevenson

Description

@xanderstevenson

Credentials in this repo are outdated

https://github.com/CiscoDevNet/dne-dna-code

This file specifically,

https://github.com/CiscoDevNet/dne-dna-code/blob/master/env_lab.py

Incorrect

# Values for the Always On IOS XE Sandbox
IOS_XE_1 = {
    "host": "sandbox-iosxe-recomm-1.cisco.com",
    "username": "developer",
    "password": "C1sco12345",
    "netconf_port": 830,
    "restconf_port": 443,
    "ssh_port": 22
}

Correct

# Values for the Always On IOS XE Sandbox
IOS_XE_1 = {
    "host": "sandbox-iosxe-recomm-1.cisco.com",
    "username": "developer",
    "password": "lastorangerestoreball8876",
    "netconf_port": 830,
    "restconf_port": 443,
    "ssh_port": 22
}

See here for details: DevNet Sandbox - Workspace - Lab Catalog - IOS XE on CSR Recommended Code AlwaysOn (cisco.com)

This affects this LL (and probably more):

Python says hello with ncclient - Cisco DevNet Learning Center

In addition, this sandbox, which is listed twice in env_lab.py for a reason unknown to me, has the incorrect SSH port.

Incorrect

NXOS_1 = {
    "host": "sbx-nxos-mgmt.cisco.com",
    "username": "admin",
    "password": "Admin_1234!",
    "netconf_port": 10000,
    "restconf_port": 443,
    "nxapi_port": 80,
    "ssh_port": 8181
}

Correct

NXOS_1 = {
    "host": "sbx-nxos-mgmt.cisco.com",
    "username": "admin",
    "password": "Admin_1234!",
    "netconf_port": 10000,
    "restconf_port": 443,
    "nxapi_port": 80,
    "ssh_port": 22
}

See this page for details: DevNet Sandbox - Workspace - Lab Catalog - Open NX-OS Programmability (cisco.com)

Finally,

We have one more (as far as I can tell) that needs updating. However, this one I'm not sure about, because it's using the 'express' environment.

Incorrect

elif ENVIRONMENT_IN_USE == "express":
DNA_CENTER = {
"host": "sandboxdnac2.cisco.com",
"port": 443,
"username": "dnacdev",
"password": "D3v93T@wK!"
}

Correct

elif ENVIRONMENT_IN_USE == "express":
DNA_CENTER = {
"host": "sandboxdnac2.cisco.com",
"port": 443,
"username": "devnetuser",
"password": "Cisco123!"
}

Details: DevNet Sandbox - Workspace - Lab Catalog - Cisco DNA Center AO2 2.3.3.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions