The following series implements automatic FIP VLAN discovery and VLAN
interface creation for fcoemon and fipvlan.

fcoemon gets a new configuration file entry AUTO_VLAN.  If AUTO_VLAN is
set to yes on a non-VLAN network interface, VLAN discovery will be started
instead of creating an FCoE instance.  FCoE instances will be created on
any VLANs reported as having FCF services from the switch.  The VLAN devices
will be created if they do not already exist.

fipvlan gets two new command line options:
  --create (-c) will cause it to create devices for discovered VLANs
  --start  (-s) will cause it to write to the FCoE sysfs create file
                to start FCoE on the discovered VLANs
These new options are intended to be used as part of FCoE boot solutions.

The first few patches move a lot of stuff around to make it easier to share
code between fcoemon and fipvlan.

---

Chris Leech (13):
      fipvlan: make output able to show complete interface names up to IFNAMSIZ
      fcoemon: make AUTO_VLAN="yes" the default in the config file template
      fcoemon: VLAN discovery
      fipvlan: make create and start work together
      fipvlan: add auto start option
      fipvlan: add VLAN creation option
      fipvlan: change how interfaces are tracked internally
      fipvlan: move some fip related fuctions to libutil
      fcoe-utils: make the sa_log functions have a global debug switch
      fcoe-utils: split up fcoemon_utils.c into several parts
      foce-utils: make a real utilities library for shared routines
      fipvlan: convert logging functions to sa_log routines, remove log.[ch]
      fipvlan: convert to <sys/queue.h>, remove include/list.h


 Makefile.am                     |   20 +
 configure.ac                    |    3 
 etc/cfg-ethx                    |    5 
 fcoe_utils.c                    |  191 -----------
 fcoe_utils.h                    |   85 -----
 fcoe_utils_version.h.in         |    6 
 fcoemon.c                       |  200 ++++++++++-
 fcoemon.h                       |    7 
 fcoemon_utils.c                 |  688 ---------------------------------------
 fcoemon_utils.h                 |  268 ---------------
 fipvlan.c                       |  683 ++++++++++++++++-----------------------
 include/fcoe_utils.h            |   85 +++++
 include/fcoe_utils_version.h.in |    6 
 include/fcoemon_utils.h         |  270 +++++++++++++++
 include/fip.h                   |   25 +
 include/list.h                  |  444 -------------------------
 include/log.h                   |   15 -
 include/rtnetlink.h             |   63 ++++
 lib/Makefile.am                 |    3 
 lib/fcoe_utils.c                |  191 +++++++++++
 lib/fip.c                       |  155 +++++++++
 lib/rtnetlink.c                 |  429 ++++++++++++++++++++++++
 lib/sa_log.c                    |  256 +++++++++++++++
 lib/sa_other.c                  |   69 ++++
 lib/sa_select.c                 |  213 ++++++++++++
 lib/sa_timer.c                  |  226 +++++++++++++
 log.c                           |   87 -----
 27 files changed, 2473 insertions(+), 2220 deletions(-)
 delete mode 100644 fcoe_utils.c
 delete mode 100644 fcoe_utils.h
 delete mode 100644 fcoe_utils_version.h.in
 delete mode 100644 fcoemon_utils.c
 delete mode 100644 fcoemon_utils.h
 create mode 100644 include/fcoe_utils.h
 create mode 100644 include/fcoe_utils_version.h.in
 create mode 100644 include/fcoemon_utils.h
 delete mode 100644 include/list.h
 delete mode 100644 include/log.h
 create mode 100644 include/rtnetlink.h
 create mode 100644 lib/Makefile.am
 create mode 100644 lib/fcoe_utils.c
 create mode 100644 lib/fip.c
 create mode 100644 lib/rtnetlink.c
 create mode 100644 lib/sa_log.c
 create mode 100644 lib/sa_other.c
 create mode 100644 lib/sa_select.c
 create mode 100644 lib/sa_timer.c
 delete mode 100644 log.c

-- 
Signature
_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel

Reply via email to