Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ set security zones security-zone <xxx> interfaces <xxx> host-inbound-traffic sys

### Authentication Methods
There are two different ways you can authenticate against to device. Standard username/password combination, or use SSH keys.
There is an [AuthMethod][authmethod] struct which defines these methods that you will need to use in your code. Here is an example of
connecting to a device using only a username and password.
There is an [AuthMethod][authmethod] struct which defines these methods that you will need to use in your code. Here is an example of connecting to a device using only a username and password.

```Go
auth := &junos.AuthMethod{
Expand Down
1 change: 1 addition & 0 deletions views.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ type PhysicalInterface struct {
Name string `xml:"name"`
AdminStatus string `xml:"admin-status"`
OperStatus string `xml:"oper-status"`
Description string `xml:"description"`
LocalIndex int `xml:"local-index"`
SNMPIndex int `xml:"snmp-index"`
LinkLevelType string `xml:"link-level-type"`
Expand Down