the whole width was barred off by an endless line of security gates : lights swapping from red to green , and rows of deviated vehicles on either side were lined up for searching ; sgs in full gear , barring off checkpoints .