Skip to content

Commit

Permalink
transfer to edgecast org
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrdadrad committed Jul 2, 2021
1 parent 79067e8 commit 4be6a87
Show file tree
Hide file tree
Showing 23 changed files with 40 additions and 40 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
FROM golang:1.15.3 as builder
WORKDIR /go/src/

RUN mkdir -p github.com/VerizonDigital/vflow
ADD . github.com/VerizonDigital/vflow
WORKDIR /go/src/github.com/VerizonDigital/vflow
RUN mkdir -p github.com/EdgeCast/vflow
ADD . github.com/EdgeCast/vflow
WORKDIR /go/src/github.com/EdgeCast/vflow
RUN make build

# run vFlow within alpine in the second stage
FROM alpine:latest
COPY --from=builder /go/src/github.com/VerizonDigital/vflow/vflow/vflow /usr/bin/
COPY --from=builder /go/src/github.com/EdgeCast/vflow/vflow/vflow /usr/bin/
COPY scripts/dockerStart.sh /dockerStart.sh

EXPOSE 4739 6343 9996 4729 8081
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![vFlow](docs/imgs/vflow_logo.png?raw=true "vFlow logo")
##
[![Build Status](https://github.com/VerizonDigital/vflow/workflows/vflow/badge.svg)](https://github.com/VerizonDigital/vflow/actions?query=workflow%3Avflow) [![Go Report Card](https://goreportcard.com/badge/github.com/VerizonDigital/vflow)](https://goreportcard.com/report/github.com/VerizonDigital/vflow) [![GoDev](https://pkg.go.dev/static/img/badge.svg)](https://pkg.go.dev/github.com/VerizonDigital/vflow)
[![Build Status](https://github.com/EdgeCast/vflow/workflows/vflow/badge.svg)](https://github.com/EdgeCast/vflow/actions?query=workflow%3Avflow) [![Go Report Card](https://goreportcard.com/badge/github.com/EdgeCast/vflow)](https://goreportcard.com/report/github.com/EdgeCast/vflow) [![GoDev](https://pkg.go.dev/static/img/badge.svg)](https://pkg.go.dev/github.com/EdgeCast/vflow)

High-performance, scalable and reliable IPFIX, sFlow and Netflow collector (written in pure Golang).

Expand All @@ -24,7 +24,7 @@ High-performance, scalable and reliable IPFIX, sFlow and Netflow collector (writ
- [JUNOS Integration](/docs/junos_integration.md).
- [Monitoring](/monitor/README.md).
- [Stress / Load Generator](/stress/README.md).
- [Kafka consumer examples](https://github.com/VerizonDigital/vflow/tree/master/consumers).
- [Kafka consumer examples](https://github.com/EdgeCast/vflow/tree/master/consumers).

## Decoded IPFIX data
The IPFIX data decodes to JSON format and IDs are [IANA IPFIX element ID](http://www.iana.org/assignments/ipfix/ipfix.xhtml)
Expand Down Expand Up @@ -52,17 +52,17 @@ The IPFIX data decodes to JSON format and IDs are [IANA IPFIX element ID](http:/
## Build
Given that the Go Language compiler (version 1.14.x preferred) is installed, you can build it with:
```
go get github.com/VerizonDigital/vflow/vflow
cd $GOPATH/src/github.com/VerizonDigital/vflow
go get github.com/EdgeCast/vflow/vflow
cd $GOPATH/src/github.com/EdgeCast/vflow
make build
or
cd vflow; go build
```
## Installation
You can download and install pre-built debian package as below ([RPM and Linux binary are available](https://github.com/VerizonDigital/vflow/releases)).
You can download and install pre-built debian package as below ([RPM and Linux binary are available](https://github.com/EdgeCast/vflow/releases)).

dpkg -i [vflow-0.9.0-x86_64.deb](https://github.com/VerizonDigital/vflow/releases/download/v0.9.0/vflow-0.9.0-x86_64.deb)
dpkg -i [vflow-0.9.0-x86_64.deb](https://github.com/EdgeCast/vflow/releases/download/v0.9.0/vflow-0.9.0-x86_64.deb)

Once you installed you need to configure the below files, for more information check [configuration guide](/docs/config.md):
```
Expand All @@ -76,7 +76,7 @@ service vflow start

## Kubernetes
```
kubectl apply -f https://github.com/VerizonDigital/vflow/blob/master/kubernetes/deploy.yaml
kubectl apply -f https://github.com/EdgeCast/vflow/blob/master/kubernetes/deploy.yaml
```

## Docker
Expand Down
4 changes: 2 additions & 2 deletions docs/quick_start_kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
## Download and install vFlow
### Debian Package
```
wget https://github.com/VerizonDigital/vflow/releases/download/v0.4.1/vflow-0.4.1-amd64.deb
wget https://github.com/EdgeCast/vflow/releases/download/v0.4.1/vflow-0.4.1-amd64.deb
dpkg -i vflow-0.4.1-amd64.deb
```
### RPM Package
```
wget https://github.com/VerizonDigital/vflow/releases/download/v0.4.1/vflow-0.4.1.amd64.rpm
wget https://github.com/EdgeCast/vflow/releases/download/v0.4.1/vflow-0.4.1.amd64.rpm
rpm -ivh vflow-0.4.1.amd64.rpm
or
yum localinstall vflow-0.4.1.amd64.rpm
Expand Down
4 changes: 2 additions & 2 deletions docs/quick_start_nsq.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
## Download and install vFlow
### Debian Package
```
wget https://github.com/VerizonDigital/vflow/releases/download/v0.4.1/vflow-0.4.1-amd64.deb
wget https://github.com/EdgeCast/vflow/releases/download/v0.4.1/vflow-0.4.1-amd64.deb
dpkg -i vflow-0.4.1-amd64.deb
```
### RPM Package
```
wget https://github.com/VerizonDigital/vflow/releases/download/v0.4.1/vflow-0.4.1.amd64.rpm
wget https://github.com/EdgeCast/vflow/releases/download/v0.4.1/vflow-0.4.1.amd64.rpm
rpm -ivh vflow-0.4.1.amd64.rpm
or
yum localinstall vflow-0.4.1.amd64.rpm
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/VerizonDigital/vflow
module github.com/EdgeCast/vflow

go 1.15

Expand Down
2 changes: 1 addition & 1 deletion ipfix/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"io"
"net"

"github.com/VerizonDigital/vflow/reader"
"github.com/EdgeCast/vflow/reader"
)

// Decoder represents IPFIX payload and remote address
Expand Down
2 changes: 1 addition & 1 deletion monitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ vflow_sflow_udp_queue 0
vflow_sflow_workers 200
```

If you configured the [stats-format](https://github.com/VerizonDigital/vflow/blob/master/docs/config.md#Configuration-Keys) to restful then the metrics will be available at http://localhost:8081/flow for flow and system at http://localhost:8081/sys
If you configured the [stats-format](https://github.com/EdgeCast/vflow/blob/master/docs/config.md#Configuration-Keys) to restful then the metrics will be available at http://localhost:8081/flow for flow and system at http://localhost:8081/sys

```json
{
Expand Down
2 changes: 1 addition & 1 deletion monitor/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"log"
"os"

"github.com/VerizonDigital/vflow/monitor/store"
"github.com/EdgeCast/vflow/monitor/store"
)

type options struct {
Expand Down
2 changes: 1 addition & 1 deletion netflow/v5/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"fmt"
"net"

"github.com/VerizonDigital/vflow/reader"
"github.com/EdgeCast/vflow/reader"
)

type nonfatalError error
Expand Down
4 changes: 2 additions & 2 deletions netflow/v9/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
"io"
"net"

"github.com/VerizonDigital/vflow/ipfix"
"github.com/VerizonDigital/vflow/reader"
"github.com/EdgeCast/vflow/ipfix"
"github.com/EdgeCast/vflow/reader"
)

type nonfatalError error
Expand Down
2 changes: 1 addition & 1 deletion scripts/dpkg/DEBIAN/control
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Source: vflow
Maintainer: Mehrdad Arshad Rad <arshad.rad@gmail.com>
Section: net
Priority: optional
Homepage: https://github.com/VerizonDigital/vflow
Homepage: https://github.com/EdgeCast/vflow
Description: High-performance, scalable and reliable IPFIX, sFlow and Netflow collector
Features:
.
Expand Down
2 changes: 1 addition & 1 deletion scripts/dpkg/DEBIAN/copyright
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Upstream-Name: vflow
Source: https://github.com/VerizonDigital/vflow
Source: https://github.com/EdgeCast/vflow

Files: *
Copyright: Copyright (C) 2017 Verizon (www.verizon.com; www.github.com/Verizon)
Expand Down
2 changes: 1 addition & 1 deletion scripts/rpmbuild/SPECS/vflow.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Name: vflow
Version: %VERSION%
Release: 0
Group: Application
URL: https://github.com/VerizonDigital/vflow
URL: https://github.com/EdgeCast/vflow
License: Apache-2
Summary: IPFIX/sFlow/Netflow collector
Source0: vflow
Expand Down
2 changes: 1 addition & 1 deletion sflow/flow_sample.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"io"
"net"

"github.com/VerizonDigital/vflow/packet"
"github.com/EdgeCast/vflow/packet"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion stress/hammer/hammer.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"sync"
"time"

"github.com/VerizonDigital/vflow/mirror"
"github.com/EdgeCast/vflow/mirror"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion stress/stress.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"sync"
"time"

"github.com/VerizonDigital/vflow/stress/hammer"
"github.com/EdgeCast/vflow/stress/hammer"
)

var opts = struct {
Expand Down
4 changes: 2 additions & 2 deletions vflow/ipfix.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
"sync/atomic"
"time"

"github.com/VerizonDigital/vflow/ipfix"
"github.com/VerizonDigital/vflow/producer"
"github.com/EdgeCast/vflow/ipfix"
"github.com/EdgeCast/vflow/producer"
)

// IPFIX represents IPFIX collector
Expand Down
2 changes: 1 addition & 1 deletion vflow/ipfix_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
package main

import (
"github.com/VerizonDigital/vflow/mirror"
"github.com/EdgeCast/vflow/mirror"

"net"
)
Expand Down
4 changes: 2 additions & 2 deletions vflow/netflow_v5.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
"sync/atomic"
"time"

netflow5 "github.com/VerizonDigital/vflow/netflow/v5"
"github.com/VerizonDigital/vflow/producer"
netflow5 "github.com/EdgeCast/vflow/netflow/v5"
"github.com/EdgeCast/vflow/producer"
)

// NetflowV5 represents netflow v5 collector
Expand Down
4 changes: 2 additions & 2 deletions vflow/netflow_v9.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
"sync/atomic"
"time"

netflow9 "github.com/VerizonDigital/vflow/netflow/v9"
"github.com/VerizonDigital/vflow/producer"
netflow9 "github.com/EdgeCast/vflow/netflow/v9"
"github.com/EdgeCast/vflow/producer"
)

// NetflowV9 represents netflow v9 collector
Expand Down
4 changes: 2 additions & 2 deletions vflow/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func GetOptions() *Options {
opts.vFlowPIDWrite()

opts.Logger.Printf("Welcome to vFlow v.%s Apache License 2.0", version)
opts.Logger.Printf("Copyright (C) 2018 Verizon. github.com/VerizonDigital/vflow")
opts.Logger.Printf("Copyright (C) 2018 Verizon. github.com/EdgeCast/vflow")

return opts
}
Expand Down Expand Up @@ -382,7 +382,7 @@ func (opts *Options) flagSet() {
vflow -verbose=true
# for more information
https://github.com/VerizonDigital/vflow/blob/master/docs/config.md
https://github.com/EdgeCast/vflow/blob/master/docs/config.md
`)

Expand Down
4 changes: 2 additions & 2 deletions vflow/sflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import (
"sync/atomic"
"time"

"github.com/VerizonDigital/vflow/producer"
"github.com/VerizonDigital/vflow/sflow"
"github.com/EdgeCast/vflow/producer"
"github.com/EdgeCast/vflow/sflow"
)

// SFUDPMsg represents sFlow UDP message
Expand Down
2 changes: 1 addition & 1 deletion vflow/sflow_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ package main
import (
"net"

"github.com/VerizonDigital/vflow/mirror"
"github.com/EdgeCast/vflow/mirror"
)

func mirrorSFlowDispatcher(ch chan SFUDPMsg) {
Expand Down

0 comments on commit 4be6a87

Please sign in to comment.