Changes between Version 33 and Version 34 of OpenFlow/FOAM/Testing
- Timestamp:
- 08/02/12 17:33:16 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenFlow/FOAM/Testing
v33 v34 110 110 (That should generate a "sliver created" and a "sliver approved" e-mail message, one of each to the experimenter and one of each to the FOAM admin.) 111 111 112 Get the sliver URN and FlowVisor slicename from FOAM, and put them into $sliver_urn and $fv_slicename:112 Get the sliver URN from FOAM, and put it into $sliver_urn: 113 113 114 114 {{{ 115 115 sliver_urn=$(ssh $foamserver foamctl geni:list-slivers --passwd-file=/opt/foam/etc/foampasswd | egrep sliver_urn.+$slice_urn_egrep | sed -e 's/ *"sliver_urn": "\(.*\)".*/\1/') 116 fv_slicename=$(echo $sliver_urn | awk -F : '{print $NF}')117 116 }}} 118 117 … … 129 128 {{{ 130 129 ssh $foamserver foamctl geni:disable-sliver -u $sliver_urn --passwd-file=/opt/foam/etc/foampasswd 131 ssh $foamserver foam-confirm-sliver $sliver_urn status pending 132 ssh $fvserver flowvisor-confirm-fvslice-exists $fv_slicename false 133 ssh $fvserver flowvisor-confirm-flowspace-rule-count $fv_slicename 0 130 foam-verify-sliver -q $foamserver $fvserver $sliver_urn status pending false 0 134 131 }}} 135 132 … … 156 153 {{{ 157 154 ssh $foamserver foamctl geni:approve-sliver -u $sliver_urn --passwd-file=/opt/foam/etc/foampasswd 158 ssh $foamserver foam-confirm-sliver $sliver_urn status approved 159 ssh $fvserver flowvisor-confirm-fvslice-exists $fv_slicename true 160 ssh $fvserver flowvisor-confirm-flowspace-rule-count $fv_slicename 2 155 foam-verify-sliver -q $foamserver $fvserver $sliver_urn status approved true 2 161 156 }}} 162 157 … … 165 160 {{{ 166 161 ssh $foamserver foamctl geni:reject-sliver -u $sliver_urn --passwd-file=/opt/foam/etc/foampasswd 167 ssh $foamserver foam-confirm-sliver $sliver_urn status rejected 168 ssh $fvserver flowvisor-confirm-fvslice-exists $fv_slicename false 169 ssh $fvserver flowvisor-confirm-flowspace-rule-count $fv_slicename 0 162 foam-verify-sliver -q $foamserver $fvserver $sliver_urn status rejected false 0 170 163 }}} 171 164 … … 174 167 {{{ 175 168 ssh $foamserver foamctl geni:disable-sliver -u $sliver_urn --passwd-file=/opt/foam/etc/foampasswd 176 ssh $foamserver foam-confirm-sliver $sliver_urn status pending 177 ssh $fvserver flowvisor-confirm-fvslice-exists $fv_slicename false 178 ssh $fvserver flowvisor-confirm-flowspace-rule-count $fv_slicename 0 169 foam-verify-sliver -q $foamserver $fvserver $sliver_urn status pending false 0 179 170 }}} 180 171 … … 183 174 {{{ 184 175 ssh $foamserver foamctl geni:reject-sliver -u $sliver_urn --passwd-file=/opt/foam/etc/foampasswd 185 ssh $foamserver foam-confirm-sliver $sliver_urn status rejected 186 ssh $fvserver flowvisor-confirm-fvslice-exists $fv_slicename false 187 ssh $fvserver flowvisor-confirm-flowspace-rule-count $fv_slicename 0 176 foam-verify-sliver -q $foamserver $fvserver $sliver_urn status rejected false 0 188 177 }}} 189 178 … … 192 181 {{{ 193 182 ssh $foamserver foamctl geni:approve-sliver -u $sliver_urn --passwd-file=/opt/foam/etc/foampasswd 194 ssh $foamserver foam-confirm-sliver $sliver_urn status approved 195 ssh $fvserver flowvisor-confirm-fvslice-exists $fv_slicename true 196 ssh $fvserver flowvisor-confirm-flowspace-rule-count $fv_slicename 2 183 foam-verify-sliver -q $foamserver $fvserver $sliver_urn status approved true 2 197 184 }}} 198 185 … … 201 188 {{{ 202 189 ssh $foamserver foamctl geni:delete-sliver -u $sliver_urn --passwd-file=/opt/foam/etc/foampasswd 203 ssh $foamserver foam-confirm-sliver $sliver_urn deleted true 204 ssh $fvserver flowvisor-confirm-fvslice-exists $fv_slicename false 205 ssh $fvserver flowvisor-confirm-flowspace-rule-count $fv_slicename 0 190 foam-verify-sliver -q $foamserver $fvserver $sliver_urn deleted true false 0 206 191 }}} 207 192