Project

General

Profile

« Previous | Next » 

Revision ca34010f

Added by Shimon Shtein about 1 month ago

Fixes #37367 - Switch to 'network' directive instead of ifcfg

View differences:

app/models/nic/interface.rb
alias_method :network, :subnet_network
alias_method :network6, :subnet6_network
class Jail < Nic::Base::Jail
allow :mtu, :vlanid, :bridge?, :alias?
end
def vlanid
# Determine a vlanid according to the following cascading rules:
# 1. if the interface has a tag, use that as the vlanid

Also available in: Unified diff