Revision fe6454e7 common.sh

b/common.sh
353 353

  
354 354
}
355 355

  
356
get_ebtables_chains () {
357

  
358
  local iface=$1
359
  FROM=FROM${iface^^}
360
  TO=TO${iface^^}
361

  
362
}
363

  
356 364

  
357 365
# Use environment variables to calculate desired info
358 366
# IP, MAC, LINK, TABLE, BRIDGE,
......
360 368
function get_info {
361 369

  
362 370
  $SNF_NETWORK_LOG $0 "Getting info for $INTERFACE of $GANETI_INSTANCE_NAME"
371
  get_ebtables_chains $INTERFACE
363 372
  get_rev4_info $IP
364 373
  get_eui64 $MAC $NETWORK_SUBNET6
365 374
  get_rev6_info $EUI64

Also available in: Unified diff