aristalabstatus

package module
v0.0.0-...-bae956b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2015 License: Apache-2.0 Imports: 18 Imported by: 0

README

arista-labstatus

Not for actual use Web application to monitor the status of Arista EOS switches

getSwitchConfigs

  • Grabs switch configs and writes them to files

TODO:

  • Use nested channels to do the write -- pipelining
    • One channel to initiate
    • another channel to do the file writing
  • Allow CLI input of what directory to write to and what file to read in
  • Seperate to a different directory/util

Ideas: For example, when you provision something, the very next thing you do is verify that the step was correct. You might ping an interface, or look at a counter, or view some protocol state. In these moments, the UX is less about the window that shows this to you and more about the workflow that captures validation as a natural next step after provisioning.

In another example, perhaps there is an alarm that indicates an interface is down or some loss threshold has been reached. The very next thing you will do is begin troubleshooting. Again, the wrapper is not so important as the steps it takes to actually capture meaningful information, correlate that information, and take appropriate action.

The point here is that the UX is determined more by the workflow than by the UI. In fact, the best UI is dependent more on a user’s context (where they are performing adjacent task

Add in Git version control of config Add in Gerrit code review of config Use config templates

Check interfaces that are up/down make sure they are as they should be

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckNeutronEOS

func CheckNeutronEOS(url string, uuid string) bool

func CheckNovaEOS

func CheckNovaEOS(url string, uuid string) bool

func CheckRtrEOS

func CheckRtrEOS()

func CheckWebServer

func CheckWebServer() string

func CreateCompute

func CreateCompute(client *gophercloud.ServiceClient, name string, netid string) *servers.Server

func CreateNetwork

func CreateNetwork(client *gophercloud.ServiceClient, name string) *networks.Network

func CreateRouter

func CreateRouter()

func CreateSubnet

func CreateSubnet(client *gophercloud.ServiceClient, name string, netid string, cidr string) *subnets.Subnet

func DeleteCompute

func DeleteCompute(client *gophercloud.ServiceClient, uuid string) bool

func DeleteNetwork

func DeleteNetwork(client *gophercloud.ServiceClient, uuid string) bool

func FetchFlows

func FetchFlows() []eapi.Flow

func FindCompute

func FindCompute(client *gophercloud.ServiceClient, name string) (bool, servers.Server)

func FindFlows

func FindFlows(prefix string) []eapi.Flow

func FindNetwork

func FindNetwork(client *gophercloud.ServiceClient, name string) (bool, networks.Network)

func GetClient

func GetClient() *govmomi.Client

func GetComputeClient

func GetComputeClient() *gophercloud.ServiceClient

func GetFolders

func GetFolders(c *govmomi.Client) *govmomi.DatacenterFolders

func GetNetworkClient

func GetNetworkClient() *gophercloud.ServiceClient

func GetVm

func PanClear

func PanClear()

func PanFlowTest

func PanFlowTest(prefix string) (bool, string)

func PanPause

func PanPause()

func PanResume

func PanResume()

func PingHost

func PingHost(host string) error

func RemoveAllFlows

func RemoveAllFlows(prefix string) []eapi.Flow

func RemoveRouter

func RemoveRouter()

func SendDatagram

func SendDatagram(msg string)

func VmtracerTest

func VmtracerTest(vm string, url string) bool

Test if VM named vm shows up on switch at url

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL