Index: trunk/extensions/OpenStackManager/special/SpecialNovaInstance.php |
— | — | @@ -1,4 +1,17 @@ |
2 | 2 | <?php |
| 3 | + |
| 4 | +/** |
| 5 | + * special for nova instance |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
3 | 16 | class SpecialNovaInstance extends SpecialNova { |
4 | 17 | |
5 | 18 | /** |
Index: trunk/extensions/OpenStackManager/special/SpecialNovaSecurityGroup.php |
— | — | @@ -1,4 +1,17 @@ |
2 | 2 | <?php |
| 3 | + |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
3 | 16 | class SpecialNovaSecurityGroup extends SpecialNova { |
4 | 17 | |
5 | 18 | /** |
Index: trunk/extensions/OpenStackManager/special/SpecialNovaAddress.php |
— | — | @@ -1,4 +1,17 @@ |
2 | 2 | <?php |
| 3 | + |
| 4 | +/** |
| 5 | + * Special page from nova address |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
3 | 16 | class SpecialNovaAddress extends SpecialNova { |
4 | 17 | |
5 | 18 | var $adminNova; |
Index: trunk/extensions/OpenStackManager/special/SpecialNovaProject.php |
— | — | @@ -1,4 +1,17 @@ |
2 | 2 | <?php |
| 3 | + |
| 4 | +/** |
| 5 | + * To do: comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
3 | 16 | class SpecialNovaProject extends SpecialNova { |
4 | 17 | |
5 | 18 | var $adminNova; |
Index: trunk/extensions/OpenStackManager/special/SpecialNovaDomain.php |
— | — | @@ -1,4 +1,17 @@ |
2 | 2 | <?php |
| 3 | + |
| 4 | +/** |
| 5 | + * Special page from nova domain |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
3 | 16 | class SpecialNovaDomain extends SpecialNova { |
4 | 17 | |
5 | 18 | var $adminNova; |
Index: trunk/extensions/OpenStackManager/special/SpecialNovaVolume.php |
— | — | @@ -1,4 +1,17 @@ |
2 | 2 | <?php |
| 3 | + |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
3 | 16 | class SpecialNovaVolume extends SpecialNova { |
4 | 17 | |
5 | 18 | /** |
Index: trunk/extensions/OpenStackManager/special/SpecialNovaKey.php |
— | — | @@ -1,4 +1,17 @@ |
2 | 2 | <?php |
| 3 | + |
| 4 | +/** |
| 5 | + * special page for nova key |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
3 | 16 | class SpecialNovaKey extends SpecialNova { |
4 | 17 | |
5 | 18 | var $userNova; |
Index: trunk/extensions/OpenStackManager/special/SpecialNovaPuppetGroup.php |
— | — | @@ -1,4 +1,17 @@ |
2 | 2 | <?php |
| 3 | + |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
3 | 16 | class SpecialNovaPuppetGroup extends SpecialNova { |
4 | 17 | |
5 | 18 | function __construct() { |
Index: trunk/extensions/OpenStackManager/special/SpecialNova.php |
— | — | @@ -1,5 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * Special page for nova |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
4 | 16 | abstract class SpecialNova extends SpecialPage { |
5 | 17 | |
6 | 18 | /** |
Index: trunk/extensions/OpenStackManager/special/SpecialNovaRole.php |
— | — | @@ -1,4 +1,17 @@ |
2 | 2 | <?php |
| 3 | + |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
3 | 16 | class SpecialNovaRole extends SpecialNova { |
4 | 17 | |
5 | 18 | var $adminNova; |
Index: trunk/extensions/OpenStackManager/special/SpecialNovaSudoer.php |
— | — | @@ -1,4 +1,17 @@ |
2 | 2 | <?php |
| 3 | + |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
3 | 16 | class SpecialNovaSudoer extends SpecialNova { |
4 | 17 | |
5 | 18 | var $userLDAP; |
Index: trunk/extensions/OpenStackManager/OpenStackNovaLdapConnection.php |
— | — | @@ -1,5 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * class for nova ldap |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
4 | 16 | class OpenStackNovaLdapConnection { |
5 | 17 | |
6 | 18 | /** |
Index: trunk/extensions/OpenStackManager/OpenStackNovaSudoer.php |
— | — | @@ -1,5 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * class for nova sudoers |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
4 | 16 | class OpenStackNovaSudoer { |
5 | 17 | |
6 | 18 | var $sudoername; |
Index: trunk/extensions/OpenStackManager/OpenStackNovaRole.php |
— | — | @@ -1,5 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
4 | 16 | class OpenStackNovaRole { |
5 | 17 | |
6 | 18 | var $rolename; |
— | — | @@ -10,7 +22,7 @@ |
11 | 23 | |
12 | 24 | /** |
13 | 25 | * @param $rolename |
14 | | - * @param null $project |
| 26 | + * @param null $project, optional |
15 | 27 | */ |
16 | 28 | function __construct( $rolename, $project=null ) { |
17 | 29 | $this->rolename = $rolename; |
Index: trunk/extensions/OpenStackManager/OpenStackNovaInstance.php |
— | — | @@ -1,5 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * class for NovaInstance |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
4 | 16 | # TODO: Make this an abstract class, and make the EC2 API a subclass |
5 | 17 | class OpenStackNovaInstance { |
6 | 18 | |
— | — | @@ -12,7 +24,7 @@ |
13 | 25 | |
14 | 26 | /** |
15 | 27 | * @param $apiInstanceResponse |
16 | | - * @param bool $loadhost |
| 28 | + * @param bool $loadhost, optional |
17 | 29 | */ |
18 | 30 | function __construct( $apiInstanceResponse, $loadhost = false ) { |
19 | 31 | $this->instance = $apiInstanceResponse; |
Index: trunk/extensions/OpenStackManager/OpenStackNovaKeypair.php |
— | — | @@ -1,5 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
4 | 16 | # TODO: Make this an abstract class, and make the EC2 API a subclass |
5 | 17 | class OpenStackNovaKeyPair { |
6 | 18 | |
Index: trunk/extensions/OpenStackManager/OpenStackNovaInstanceType.php |
— | — | @@ -1,5 +1,18 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
| 16 | + |
4 | 17 | # TODO: Make this an abstract class, and make the EC2 API a subclass |
5 | 18 | class OpenStackNovaInstanceType { |
6 | 19 | |
Index: trunk/extensions/OpenStackManager/OpenStackNovaProject.php |
— | — | @@ -1,5 +1,18 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
| 16 | + |
4 | 17 | class OpenStackNovaProject { |
5 | 18 | |
6 | 19 | var $projectname; |
— | — | @@ -7,6 +20,7 @@ |
8 | 21 | var $projectInfo; |
9 | 22 | var $roles; |
10 | 23 | |
| 24 | + // list of roles |
11 | 25 | static $rolenames = array( 'sysadmin', 'netadmin' ); |
12 | 26 | |
13 | 27 | /** |
Index: trunk/extensions/OpenStackManager/OpenStackNovaVolume.php |
— | — | @@ -1,5 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
4 | 16 | # TODO: Make this an abstract class, and make the EC2 API a subclass |
5 | 17 | class OpenStackNovaVolume { |
6 | 18 | |
Index: trunk/extensions/OpenStackManager/OpenStackNovaDomain.php |
— | — | @@ -1,11 +1,23 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * Class for Nova Domain |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
4 | 16 | class OpenStackNovaDomain { |
5 | 17 | |
6 | 18 | var $domainname; |
7 | 19 | var $domainDN; |
8 | 20 | var $domainInfo; |
9 | | - var $fqdn; |
| 21 | + var $fqdn; // fq domain name |
10 | 22 | |
11 | 23 | /** |
12 | 24 | * @param $domainname |
Index: trunk/extensions/OpenStackManager/OpenStackNovaHostJob.php |
— | — | @@ -1,4 +1,17 @@ |
2 | 2 | <?php |
| 3 | + |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
3 | 16 | class OpenStackNovaHostJob extends Job { |
4 | 17 | |
5 | 18 | /** |
Index: trunk/extensions/OpenStackManager/OpenStackNovaHost.php |
— | — | @@ -1,5 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
4 | 16 | class OpenStackNovaHost { |
5 | 17 | |
6 | 18 | /** |
Index: trunk/extensions/OpenStackManager/OpenStackNovaUser.php |
— | — | @@ -1,5 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
4 | 16 | class OpenStackNovaUser { |
5 | 17 | |
6 | 18 | var $username; |
Index: trunk/extensions/OpenStackManager/OpenStackNovaImage.php |
— | — | @@ -1,5 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
4 | 16 | # TODO: Make this an abstract class, and make the EC2 API a subclass |
5 | 17 | class OpenStackNovaImage { |
6 | 18 | |
Index: trunk/extensions/OpenStackManager/OpenStackNovaController.php |
— | — | @@ -1,5 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
4 | 16 | # TODO: Make this an abstract class, and make the EC2 API a subclass |
5 | 17 | class OpenStackNovaController { |
6 | 18 | |
— | — | @@ -95,6 +107,7 @@ |
96 | 108 | } |
97 | 109 | |
98 | 110 | /** |
| 111 | + * @param $instanceType |
99 | 112 | * @return OpenStackNovaInstanceType |
100 | 113 | */ |
101 | 114 | function getInstanceType( $instanceType ) { |
— | — | @@ -176,6 +189,7 @@ |
177 | 190 | } |
178 | 191 | |
179 | 192 | /** |
| 193 | + * @param $project |
180 | 194 | * @param $groupname |
181 | 195 | * @return OpenStackNovaSecurityGroup |
182 | 196 | */ |
— | — | @@ -504,6 +518,8 @@ |
505 | 519 | } |
506 | 520 | |
507 | 521 | /** |
| 522 | + * Release ip address |
| 523 | + * |
508 | 524 | * @param $ip |
509 | 525 | * @return |
510 | 526 | */ |
— | — | @@ -514,6 +530,8 @@ |
515 | 531 | } |
516 | 532 | |
517 | 533 | /** |
| 534 | + * Attach new ip address to instance |
| 535 | + * |
518 | 536 | * @param $instanceid |
519 | 537 | * @param $ip |
520 | 538 | * @return null|OpenStackNovaAddress |
— | — | @@ -530,6 +548,8 @@ |
531 | 549 | } |
532 | 550 | |
533 | 551 | /** |
| 552 | + * Disassociate address from an instance |
| 553 | + * |
534 | 554 | * @param $ip |
535 | 555 | * @return |
536 | 556 | */ |
Index: trunk/extensions/OpenStackManager/OpenStackNovaArticle.php |
— | — | @@ -1,5 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
4 | 16 | class OpenStackNovaArticle { |
5 | 17 | |
6 | 18 | public static function canCreatePages() { |
Index: trunk/extensions/OpenStackManager/OpenStackNovaSecurityGroup.php |
— | — | @@ -1,5 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * todo comment me |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
4 | 16 | # TODO: Make this an abstract class, and make the EC2 API a subclass |
5 | 17 | class OpenStackNovaSecurityGroup { |
6 | 18 | |
Index: trunk/extensions/OpenStackManager/OpenStackNovaAddress.php |
— | — | @@ -1,5 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * Class for Nova Address |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
4 | 16 | # TODO: Make this an abstract class, and make the EC2 API a subclass |
5 | 17 | class OpenStackNovaAddress { |
6 | 18 | |
Index: trunk/extensions/OpenStackManager/OpenStackNovaPuppetGroup.php |
— | — | @@ -2,7 +2,16 @@ |
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Class for interacting with puppet groups, variables and classes |
| 6 | + * |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
6 | 9 | */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 12 | + echo( "This file is a part of the OpenStackManager extension and cannot be used standalone.\n" ); |
| 13 | + die( 1 ); |
| 14 | +} |
| 15 | + |
7 | 16 | class OpenStackNovaPuppetGroup { |
8 | 17 | |
9 | 18 | private $id, $name, $position, $vars, $classes; |