Difference between revisions of "Quattor and IPv6"

From PDP/Grid Wiki
Jump to navigationJump to search
Line 90: Line 90:
 
The interface (Also the alias) need to include an extra IP (Only ''type_ipv6''). The interface includes the gateway for '''IPv6''' and a parameter to initialize '''IPv6''' in that interface. I have bolded the new parameters:
 
The interface (Also the alias) need to include an extra IP (Only ''type_ipv6''). The interface includes the gateway for '''IPv6''' and a parameter to initialize '''IPv6''' in that interface. I have bolded the new parameters:
  
type structure_interface_alias = {
+
type structure_interface_alias = {
"ip"      ? type_ip
+
"ip"      ? type_ip
"ipv6"    ? type_ipv6
+
"ipv6"    ? type_ipv6
"netmask" : type_ip
+
"netmask" : type_ip
"broadcast" ? type_ip
+
"broadcast" ? type_ip
};
+
};
type structure_interface = {
+
type structure_interface = {
  "ip"          ? type_ip
+
  "ip"          ? type_ip
  "gateway"      ? type_ip
+
  "gateway"      ? type_ip
  "ipv6"        ? type_ipv6
+
  "ipv6"        ? type_ipv6
  "gateway6"    ? type_ipv6
+
  "gateway6"    ? type_ipv6
  "ipv6init"    ? string
+
  "ipv6init"    ? string
  "netmask"      ? type_ip
+
  "netmask"      ? type_ip
  "broadcast"    ? type_ip
+
  "broadcast"    ? type_ip
  "driver"      ? string
+
  "driver"      ? string
  "bootproto"    ? string
+
  "bootproto"    ? string
  "onboot"      ? string
+
  "onboot"      ? string
  "type"        ? string
+
  "type"        ? string
  "device"      ? string
+
  "device"      ? string
  "master"      ? string
+
  "master"      ? string
  "mtu"          ? long
+
  "mtu"          ? long
  "route"        ? structure_route[]
+
  "route"        ? structure_route[]
  "aliases"      ? structure_interface_alias{}
+
  "aliases"      ? structure_interface_alias{}
  "set_hwaddr"  ? boolean
+
  "set_hwaddr"  ? boolean
  "bridge"      ? string with exists ("/system/network/interfaces/" + SELF)
+
  "bridge"      ? string with exists ("/system/network/interfaces/" + SELF)
  "bonding_opts" ? structure_bonding_options
+
  "bonding_opts" ? structure_bonding_options
  "offload"      ? structure_ethtool_offload
+
  "offload"      ? structure_ethtool_offload
  "ring"        ? structure_ethtool_ring
+
  "ring"        ? structure_ethtool_ring
  "ethtool"      ? structure_ethtool
+
  "ethtool"      ? structure_ethtool
  "vlan" ? boolean
+
  "vlan" ? boolean
  "physdev"    ? string with exists ("/system/network/interfaces/" + SELF)
+
  "physdev"    ? string with exists ("/system/network/interfaces/" + SELF)
};  
+
};  
 
 
 
This is for the network in general and a default gateway needs to be defined also for IPv6.
 
This is for the network in general and a default gateway needs to be defined also for IPv6.

Revision as of 11:42, 10 October 2012