Skip to content

Latest commit

 

History

911 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Palo Alto Networks pango

Note

This package is auto-generated via pan-os-codegen

Package pango is a golang cross version mechanism for interacting with Palo Alto Networks devices (including physical and virtualized Next-generation Firewalls and Panorama). Versioning support is in place for PANOS 10.1 and above.

Please refer to the godoc reference documentation above to get started.

Using pango

To start, create a client connection with the desired parameters and then initialize the connection:

package main

import (
    "log"
    "github.com/PaloAltoNetworks/pango"
)

func main() {
    var err error

    con = &sdk.Client{
        Hostname: "127.0.0.1",
        Username: "admin",
        Password: "admin",
    }

    if err := con.Setup(); err != nil {
        log.Printf("Failed to setup client: %s", err)
        return
    }

    if err := con.Initialize(ctx); err != nil {
        log.Printf("Failed to initialize client: %s", err)
        return
    }

    log.Printf("Initialize ok")

}

About

pango is the underlying library for the Palo Alto Networks Terraform provider

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

65 stars

Watchers

19 watching

Forks

Releases

Packages

Used by

Contributors

Languages