74 | | The analysis engine performs four tests: |
75 | | |
76 | | * If the sliver's flowspace includes IP space: Does the new sliver's requested IP space overlap with the IP space of any already-approved slivers? |
77 | | * If the sliver's flowspace includes MAC addresses: Do the new sliver's requested MAC addresses overlap with the MAC addresses of any already-approved slivers? |
78 | | * If the sliver's flowspace includes ethertypes (other than IP and ARP): Do the new sliver's requested ethertypes overlap with the ethertypes of any already-approved slivers? |
79 | | * If there are any port groups defined: Does the new sliver's flowspace include more than one port in a port group? |
80 | | |
81 | | If all of those tests pass (i.e. the answer is "no" for all of those questions), the sliver is automatically approved (when FOAM is in mode 2 -- in the other modes, the analysis is still done, but the results are ignored). |
| 74 | The default value is "0", for safety. You can turn it on with foamctl: |
| 75 | |
| 76 | {{{ |
| 77 | foamctl config:set-value --key="geni.approval.approve-on-creation" --value="2" --passwd-file=/opt/foam/etc/foampasswd |
| 78 | }}} |
| 79 | |
| 80 | The analysis engine performs six tests: |
| 81 | |
| 82 | * If the sliver's flowspace includes IP space: That IP space must not overlap with the IP space of any already-approved slivers. |
| 83 | * If the sliver's flowspace includes MAC addresses: Those MAC addresses must not overlap with the MAC addresses of any already-approved slivers. |
| 84 | * If the sliver's flowspace includes ethertypes (other than IP and ARP): Those ethertypes must not overlap with the ethertypes of any already-approved slivers. |
| 85 | * If there are any port groups defined: The new sliver's flowspace must not include more than one port in any port group. |
| 86 | * The sliver's flowspace must not include any flowspace defined by VLAN. (no 'dl_vlan') |
| 87 | * The sliver's flowspace must include at least one datapath. (no 'any') |
| 88 | |
| 89 | If all of those tests pass, the sliver is automatically approved (when FOAM is in mode 2 -- in the other modes, the analysis is still done, but the results are ignored). |