Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

430 lines
18 KiB

  1. use frsobjsup;
  2. package main;
  3. my ($__HashRef, $__k, $__v);
  4. ## Processing file hubspoke.mrs Modify Time: Tue Apr 3 13:30:15 2001
  5. ## use Time::Local;
  6. use Time::Local;
  7. ## printf "Configuration generated at %s\n\n", scalar localtime;
  8. printf "Configuration generated at %s\n\n", scalar localtime;
  9. ## $stage = "D:\\staging";
  10. $stage = "D:\\staging";
  11. ## $DC_OU_DN = "ou=domain controllers,dc=frs1221,dc=nttest,dc=microsoft,dc=com";
  12. $DC_OU_DN = "ou=domain controllers,dc=frs1221,dc=nttest,dc=microsoft,dc=com";
  13. ## HUB: FRS_SERVER (/RP="E:\RSB" /SP="$stage" /COMPUTER='frs1221\sudarctest1$'
  14. ## /DNS_NAME="sudarctest1.frs1221.nttest.microsoft.com" /MNAME="hub0")
  15. $__HashRef = FRS_SERVER->New(
  16. ## ArgIndex for parameter: 'RP'
  17. ## ArgType found for parameter: 'RP' is 'VALUE_STR'
  18. ## ArgIndex for parameter: 'SP'
  19. ## ArgType found for parameter: 'SP' is 'VALUE_STR'
  20. ## ArgIndex for parameter: 'COMPUTER'
  21. ## ArgType found for parameter: 'COMPUTER' is 'VALUE_STR'
  22. ## ArgIndex for parameter: 'DNS_NAME'
  23. ## ArgIndex for parameter: 'MNAME'
  24. RP=>"E:\\RSB", SP=>"$stage", COMPUTER=>'frs1221\\sudarctest1$', DNS_NAME=>"sudarctest1.frs1221.nttest.microsoft.com", MNAME=>"hub0"
  25. );
  26. &FRSSUP::AddToSet("HUB", $__HashRef);
  27. ## HUB: FRS_SERVER (/RP="E:\RSB" /SP="$stage" /COMPUTER='frs1221\sudarctest2$'
  28. ## /DNS_NAME="sudarctest2.frs1221.nttest.microsoft.com" /MNAME="hub1")
  29. $__HashRef = FRS_SERVER->New(
  30. ## ArgIndex for parameter: 'RP'
  31. ## ArgType found for parameter: 'RP' is 'VALUE_STR'
  32. ## ArgIndex for parameter: 'SP'
  33. ## ArgType found for parameter: 'SP' is 'VALUE_STR'
  34. ## ArgIndex for parameter: 'COMPUTER'
  35. ## ArgType found for parameter: 'COMPUTER' is 'VALUE_STR'
  36. ## ArgIndex for parameter: 'DNS_NAME'
  37. ## ArgIndex for parameter: 'MNAME'
  38. RP=>"E:\\RSB", SP=>"$stage", COMPUTER=>'frs1221\\sudarctest2$', DNS_NAME=>"sudarctest2.frs1221.nttest.microsoft.com", MNAME=>"hub1"
  39. );
  40. &FRSSUP::AddToSet("HUB", $__HashRef);
  41. ## foreach $b ("sudarctest4", "DREWSAM-SRV", "sudarctest3", "DREWSAM-SRV" ) {
  42. foreach $b ("sudarctest4", "DREWSAM-SRV", "sudarctest3", "DREWSAM-SRV" ) {
  43. ## $Nt4Acct = "frs1221\\$b\$";
  44. $Nt4Acct = "frs1221\\$b\$";
  45. ## BCH: FRS_SERVER (/RP="D:\RSB" /SP="D:\staging"
  46. ## /COMPUTER=$Nt4Acct
  47. ## /id="-$b"
  48. ## /DNS_NAME="$b.frs1221.nttest.microsoft.com"
  49. ## )
  50. $__HashRef = FRS_SERVER->New(
  51. ## ArgIndex for parameter: 'RP'
  52. ## ArgType found for parameter: 'RP' is 'VALUE_STR'
  53. ## ArgIndex for parameter: 'SP'
  54. ## ArgType found for parameter: 'SP' is 'VALUE_STR'
  55. ## ArgIndex for parameter: 'COMPUTER'
  56. ## ArgType found for parameter: 'COMPUTER' is 'VALUE_STR'
  57. ## ArgIndex for parameter: 'id'
  58. ## ArgIndex for parameter: 'DNS_NAME'
  59. RP=>"D:\\RSB", SP=>"D:\\staging", COMPUTER=>$Nt4Acct, id=>"-$b", DNS_NAME=>"$b.frs1221.nttest.microsoft.com"
  60. );
  61. &FRSSUP::AddToSet("BCH", $__HashRef);
  62. ## }
  63. }
  64. ## PRIMARY_SCH: FRS_SCHEDULE (/REPL_INTERVAL=4 /REPL_DURATION="1:30"
  65. ## /TIME_ZONE="+1" /REPL_OFFSET=0 /STAGGER=2
  66. ## /METHOD=1 /NAME='Primary Sched'
  67. ## /DISABLE="mo:07:30-mo:18:00,tu:07:30-tu:18:00,we:07:30-we:18:00,th:07:30-th:18:00,fr:07:30-fr:18:00"
  68. ## )
  69. $__HashRef = FRS_SCHEDULE->New(
  70. ## ArgIndex for parameter: 'REPL_INTERVAL'
  71. ## ArgType found for parameter: 'REPL_INTERVAL' is 'VALUE_TIME_SINGLE'
  72. ## ArgIndex for parameter: 'REPL_DURATION'
  73. ## ArgType found for parameter: 'REPL_DURATION' is 'VALUE_TIME_SINGLE'
  74. ## ArgIndex for parameter: 'TIME_ZONE'
  75. ## ArgType found for parameter: 'TIME_ZONE' is 'VALUE_SIGN_TIME'
  76. ## ArgIndex for parameter: 'REPL_OFFSET'
  77. ## ArgType found for parameter: 'REPL_OFFSET' is 'VALUE_TIME_SINGLE'
  78. ## ArgIndex for parameter: 'STAGGER'
  79. ## ArgType found for parameter: 'STAGGER' is 'VALUE_TIME_SINGLE'
  80. ## ArgIndex for parameter: 'METHOD'
  81. ## ArgType found for parameter: 'METHOD' is 'VALUE_CHOICE_SINGLE'
  82. ## ArgIndex for parameter: 'NAME'
  83. ## ArgType found for parameter: 'NAME' is 'VALUE_STR'
  84. ## ArgIndex for parameter: 'DISABLE'
  85. ## ArgType found for parameter: 'DISABLE' is 'VALUE_TIME_LIST'
  86. REPL_INTERVAL=>4, REPL_DURATION=>"1:30", TIME_ZONE=>"+1", REPL_OFFSET=>0, STAGGER=>2, METHOD=>1, NAME=>'Primary Sched', DISABLE=>"mo:07:30-mo:18:00,tu:07:30-tu:18:00,we:07:30-we:18:00,th:07:30-th:18:00,fr:07:30-fr:18:00"
  87. );
  88. &FRSSUP::AddToSet("PRIMARY_SCH", $__HashRef);
  89. ## FRS_SUB CREATE_HUB_SPOKE_CONN(/HUBSET=SET_REF_SET
  90. ## subname = 'CREATE_HUB_SPOKE_CONN', func = 'FRS_SUB', rest = '(/HUBSET=SET_REF_SET '
  91. ## /BCHSET=SET_REF_SET
  92. ## /SC1=SCHEDULE )
  93. sub CREATE_HUB_SPOKE_CONN {
  94. my %__args = (@_);
  95. my ($__HashRef, $__k, $__v);
  96. while ( ($__k, $__v) = each %__args ) { print "\t$__k => '$__v'\n"; }
  97. ## paramstr: HUBSET=SET_REF_SET /BCHSET=SET_REF_SET /SC1=SCHEDULE
  98. ## new FRS_SUB parameter: 'CREATE_HUB_SPOKE_CONN-HUBSET'
  99. ## new FRS_SUB parameter: 'CREATE_HUB_SPOKE_CONN-BCHSET'
  100. ## new FRS_SUB parameter: 'CREATE_HUB_SPOKE_CONN-SC1'
  101. ## $Hx = 0;
  102. $Hx = 0;
  103. ## $NHub = FRS_COUNT_SET(/SET=%HUBSET%);
  104. ## ExpandArgStr: $NHub = FRS_COUNT_SET(/SET=$__args{HUBSET});
  105. $NHub = scalar @{
  106. ## ArgIndex for parameter: 'SET'
  107. ## ArgType found for parameter: 'SET' is 'SET_REF_SET'
  108. $__args{HUBSET} }
  109. ;
  110. ## print " NHUB = $NHub\n\n";
  111. print " NHUB = $NHub\n\n";
  112. ## print " NBCH FRS _COUNT_SET( /SET= % BCHSET % ) ", FRS_COUNT_SET(/SET= %BCHSET% ), "\n" ;
  113. ## ExpandArgStr: print " NBCH FRS _COUNT_SET( /SET= % BCHSET % ) ", FRS_COUNT_SET(/SET= $__args{BCHSET} ), "\n" ;
  114. print " NBCH FRS _COUNT_SET( /SET= % BCHSET % ) ", scalar @{
  115. ## ArgIndex for parameter: 'SET'
  116. ## ArgType found for parameter: 'SET' is 'SET_REF_SET'
  117. $__args{BCHSET} }
  118. , "\n" ;
  119. ## foreach $bch (FRS_ARRAY(/SET=%BCHSET%)) {
  120. ## ExpandArgStr: foreach $bch (FRS_ARRAY(/SET=$__args{BCHSET})) {
  121. foreach $bch ( @{
  122. ## ArgIndex for parameter: 'SET'
  123. ## ArgType found for parameter: 'SET' is 'SET_REF_SET'
  124. $__args{BCHSET} }
  125. ) {
  126. ## print "working on branch: $bch->{ONAME}\n";
  127. print "working on branch: $bch->{ONAME}\n";
  128. ## $hubsrv = %HUBSET%[$Hx];
  129. ## ExpandArgStr: $hubsrv = $__args{HUBSET}[$Hx];
  130. $hubsrv = $__args{HUBSET}[$Hx];
  131. ## FRS_CONNECTION (/TO=$bch /FROM=%HUBSET%[$Hx] /SCHED=%SC1%
  132. ## ExpandArgStr: FRS_CONNECTION (/TO=$bch /FROM=$__args{HUBSET}[$Hx] /SCHED=$__args{SC1}
  133. ## /ONAME="FROM-".$hubsrv->{MNAME}."-TO-".$bch->{ONAME} )
  134. FRS_CONNECTION->New(
  135. ## ArgIndex for parameter: 'TO'
  136. ## ArgType found for parameter: 'TO' is 'SET_ELEMENT'
  137. ## ArgIndex for parameter: 'FROM'
  138. ## ArgType found for parameter: 'FROM' is 'SET_ELEMENT'
  139. ## ArgIndex for parameter: 'SCHED'
  140. ## ArgType found for parameter: 'SCHED' is 'SCHEDULE'
  141. ## ArgIndex for parameter: 'ONAME'
  142. ## ArgType found for parameter: 'ONAME' is 'VALUE_STR'
  143. TO=>$bch, FROM=>$__args{HUBSET}[$Hx], SCHED=>$__args{SC1}, ONAME=>"FROM-".$hubsrv->{MNAME}."-TO-".$bch->{ONAME}
  144. );
  145. ## FRS_CONNECTION (/TO=%HUBSET%[$Hx] /FROM=$bch /SCHED=%SC1%
  146. ## ExpandArgStr: FRS_CONNECTION (/TO=$__args{HUBSET}[$Hx] /FROM=$bch /SCHED=$__args{SC1}
  147. ## /ONAME="FROM-".$bch->{ONAME}."-TO-".$hubsrv->{MNAME} )
  148. FRS_CONNECTION->New(
  149. ## ArgIndex for parameter: 'TO'
  150. ## ArgType found for parameter: 'TO' is 'SET_ELEMENT'
  151. ## ArgIndex for parameter: 'FROM'
  152. ## ArgType found for parameter: 'FROM' is 'SET_ELEMENT'
  153. ## ArgIndex for parameter: 'SCHED'
  154. ## ArgType found for parameter: 'SCHED' is 'SCHEDULE'
  155. ## ArgIndex for parameter: 'ONAME'
  156. ## ArgType found for parameter: 'ONAME' is 'VALUE_STR'
  157. TO=>$__args{HUBSET}[$Hx], FROM=>$bch, SCHED=>$__args{SC1}, ONAME=>"FROM-".$bch->{ONAME}."-TO-".$hubsrv->{MNAME}
  158. );
  159. ## $Hx=($Hx+1) % $NHub;
  160. $Hx=($Hx+1) % $NHub;
  161. ## if ($Hx == 0) {
  162. if ($Hx == 0) {
  163. ## FRS_STAGGER (/SCHED=%SC1%)
  164. ## ExpandArgStr: FRS_STAGGER (/SCHED=$__args{SC1})
  165. FRS_SCHEDULE::FRS_STAGGER(
  166. ## ArgIndex for parameter: 'SCHED'
  167. ## ArgType found for parameter: 'SCHED' is 'SCHEDULE'
  168. SCHED=>$__args{SC1} );
  169. ## }
  170. }
  171. ## }
  172. }
  173. ## FRS_END_SUB
  174. } # FRS_END_SUB
  175. ## FRS_SUB CREATE_RING_CONN(/HUBSET=SET_REF_SET )
  176. ## subname = 'CREATE_RING_CONN', func = 'FRS_SUB', rest = '(/HUBSET=SET_REF_SET )'
  177. sub CREATE_RING_CONN {
  178. my %__args = (@_);
  179. my ($__HashRef, $__k, $__v);
  180. while ( ($__k, $__v) = each %__args ) { print "\t$__k => '$__v'\n"; }
  181. ## paramstr: HUBSET=SET_REF_SET
  182. ## new FRS_SUB parameter: 'CREATE_RING_CONN-HUBSET'
  183. ## FRS_SHOW(/SET=%HUBSET%)
  184. ## ExpandArgStr: FRS_SHOW(/SET=$__args{HUBSET})
  185. FRSSUP::FRS_SHOW(
  186. ## ArgIndex for parameter: 'SET'
  187. ## ArgType found for parameter: 'SET' is 'SET_REF_SET'
  188. SET=>$__args{HUBSET} );
  189. ## $Ringx = 0;
  190. $Ringx = 0;
  191. ## $RingCount = FRS_COUNT_SET(/SET=%HUBSET%);
  192. ## ExpandArgStr: $RingCount = FRS_COUNT_SET(/SET=$__args{HUBSET});
  193. $RingCount = scalar @{
  194. ## ArgIndex for parameter: 'SET'
  195. ## ArgType found for parameter: 'SET' is 'SET_REF_SET'
  196. $__args{HUBSET} }
  197. ;
  198. ## print " RingCount = $RingCount\n\n";
  199. print " RingCount = $RingCount\n\n";
  200. ## for ($Ringx=0; $Ringx < $RingCount-1; $Ringx++) {
  201. for ($Ringx=0; $Ringx < $RingCount-1; $Ringx++) {
  202. ## $RM1 = %HUBSET%[$Ringx];
  203. ## ExpandArgStr: $RM1 = $__args{HUBSET}[$Ringx];
  204. $RM1 = $__args{HUBSET}[$Ringx];
  205. ## $RM2 = %HUBSET%[($Ringx+1) % $RingCount];
  206. ## ExpandArgStr: $RM2 = $__args{HUBSET}[($Ringx+1) % $RingCount];
  207. $RM2 = $__args{HUBSET}[($Ringx+1) % $RingCount];
  208. ## FRS_CONNECTION (/TO=$RM1 /FROM=$RM2 /SCHED=ON
  209. ## /ONAME="FROM-".$RM2->{MNAME}."-TO-".$RM1->{MNAME} )
  210. FRS_CONNECTION->New(
  211. ## ArgIndex for parameter: 'TO'
  212. ## ArgType found for parameter: 'TO' is 'SET_ELEMENT'
  213. ## ArgIndex for parameter: 'FROM'
  214. ## ArgType found for parameter: 'FROM' is 'SET_ELEMENT'
  215. ## ArgIndex for parameter: 'SCHED'
  216. ## ArgType found for parameter: 'SCHED' is 'SCHEDULE'
  217. ## ArgIndex for parameter: 'ONAME'
  218. ## ArgType found for parameter: 'ONAME' is 'VALUE_STR'
  219. TO=>$RM1, FROM=>$RM2, SCHED=>ON, ONAME=>"FROM-".$RM2->{MNAME}."-TO-".$RM1->{MNAME}
  220. );
  221. ## FRS_CONNECTION (/TO=$RM2 /FROM=$RM1 /SCHED=ON
  222. ## /ONAME="FROM-".$RM1->{MNAME}."-TO-".$RM2->{MNAME} )
  223. FRS_CONNECTION->New(
  224. ## ArgIndex for parameter: 'TO'
  225. ## ArgType found for parameter: 'TO' is 'SET_ELEMENT'
  226. ## ArgIndex for parameter: 'FROM'
  227. ## ArgType found for parameter: 'FROM' is 'SET_ELEMENT'
  228. ## ArgIndex for parameter: 'SCHED'
  229. ## ArgType found for parameter: 'SCHED' is 'SCHEDULE'
  230. ## ArgIndex for parameter: 'ONAME'
  231. ## ArgType found for parameter: 'ONAME' is 'VALUE_STR'
  232. TO=>$RM2, FROM=>$RM1, SCHED=>ON, ONAME=>"FROM-".$RM1->{MNAME}."-TO-".$RM2->{MNAME}
  233. );
  234. ## }
  235. }
  236. ## FRS_END_SUB
  237. } # FRS_END_SUB
  238. ## FRS_SUB CREATE_HUB_SPOKE(/HUBSET=SET_REF_SET
  239. ## subname = 'CREATE_HUB_SPOKE', func = 'FRS_SUB', rest = '(/HUBSET=SET_REF_SET '
  240. ## /BCHSET=SET_REF_SET
  241. ## /SC1=SCHEDULE
  242. ## /REPSETDN=SET_ELEMENT)
  243. sub CREATE_HUB_SPOKE {
  244. my %__args = (@_);
  245. my ($__HashRef, $__k, $__v);
  246. while ( ($__k, $__v) = each %__args ) { print "\t$__k => '$__v'\n"; }
  247. ## paramstr: HUBSET=SET_REF_SET /BCHSET=SET_REF_SET /SC1=SCHEDULE /REPSETDN=SET_ELEMENT
  248. ## new FRS_SUB parameter: 'CREATE_HUB_SPOKE-HUBSET'
  249. ## new FRS_SUB parameter: 'CREATE_HUB_SPOKE-BCHSET'
  250. ## new FRS_SUB parameter: 'CREATE_HUB_SPOKE-SC1'
  251. ## new FRS_SUB parameter: 'CREATE_HUB_SPOKE-REPSETDN'
  252. ## FRSSUP::PrintHash(\%__args);
  253. FRSSUP::PrintHash(\%__args);
  254. ## FRS_SHOW(/SET=%HUBSET%)
  255. ## ExpandArgStr: FRS_SHOW(/SET=$__args{HUBSET})
  256. FRSSUP::FRS_SHOW(
  257. ## ArgIndex for parameter: 'SET'
  258. ## ArgType found for parameter: 'SET' is 'SET_REF_SET'
  259. SET=>$__args{HUBSET} );
  260. ## # Restriction: All subroutine argument refs are surrounded by "%"
  261. # Restriction: All subroutine argument refs are surrounded by "%"
  262. ## # notation "->{...}"
  263. # notation "->{...}"
  264. ## foreach $hub (FRS_ARRAY(/SET=%HUBSET%)) {
  265. ## ExpandArgStr: foreach $hub (FRS_ARRAY(/SET=$__args{HUBSET})) {
  266. foreach $hub ( @{
  267. ## ArgIndex for parameter: 'SET'
  268. ## ArgType found for parameter: 'SET' is 'SET_REF_SET'
  269. $__args{HUBSET} }
  270. ) {
  271. ## MOBJHUB: FRS_MEMBER (/UNDER=%REPSETDN%
  272. ## ExpandArgStr: MOBJHUB: FRS_MEMBER (/UNDER=$__args{REPSETDN}
  273. ## /SERVER=$hub
  274. ## /COMPUTER=$hub->{COMPUTER}
  275. ## /ONAME=$hub->{MNAME} )
  276. $__HashRef = FRS_MEMBER->New(
  277. ## ArgIndex for parameter: 'UNDER'
  278. ## ArgType found for parameter: 'UNDER' is 'SET_ELEMENT'
  279. ## ArgIndex for parameter: 'SERVER'
  280. ## ArgType found for parameter: 'SERVER' is 'SET_ELEMENT'
  281. ## ArgIndex for parameter: 'COMPUTER'
  282. ## ArgType found for parameter: 'COMPUTER' is 'VALUE_STR'
  283. ## ArgIndex for parameter: 'ONAME'
  284. ## ArgType found for parameter: 'ONAME' is 'VALUE_STR'
  285. UNDER=>$__args{REPSETDN}, SERVER=>$hub, COMPUTER=>$hub->{COMPUTER}, ONAME=>$hub->{MNAME}
  286. );
  287. &FRSSUP::AddToSet("MOBJHUB", $__HashRef);
  288. ## }
  289. }
  290. ## foreach $bch (FRS_SET(/SET=%BCHSET%)) {
  291. ## ExpandArgStr: foreach $bch (FRS_SET(/SET=$__args{BCHSET})) {
  292. foreach $bch ( @{ FRSSUP::FRS_SET(
  293. ## ArgIndex for parameter: 'SET'
  294. ## ArgType found for parameter: 'SET' is 'SET_REF_SET'
  295. SET=>$__args{BCHSET} ) }
  296. ) {
  297. ## MOBJBCH: FRS_MEMBER (/UNDER=%REPSETDN%
  298. ## ExpandArgStr: MOBJBCH: FRS_MEMBER (/UNDER=$__args{REPSETDN}
  299. ## /SERVER=$bch
  300. ## /COMPUTER=$bch->{COMPUTER}
  301. ## /ONAME="B".$bch->{id} )
  302. $__HashRef = FRS_MEMBER->New(
  303. ## ArgIndex for parameter: 'UNDER'
  304. ## ArgType found for parameter: 'UNDER' is 'SET_ELEMENT'
  305. ## ArgIndex for parameter: 'SERVER'
  306. ## ArgType found for parameter: 'SERVER' is 'SET_ELEMENT'
  307. ## ArgIndex for parameter: 'COMPUTER'
  308. ## ArgType found for parameter: 'COMPUTER' is 'VALUE_STR'
  309. ## ArgIndex for parameter: 'ONAME'
  310. ## ArgType found for parameter: 'ONAME' is 'VALUE_STR'
  311. UNDER=>$__args{REPSETDN}, SERVER=>$bch, COMPUTER=>$bch->{COMPUTER}, ONAME=>"B".$bch->{id}
  312. );
  313. &FRSSUP::AddToSet("MOBJBCH", $__HashRef);
  314. ## }
  315. }
  316. ## CREATE_RING_CONN(/HUBSET=<MOBJHUB> )
  317. ## ExpandSetRef: CREATE_RING_CONN(/HUBSET=&FRSSUP::SelectSet(MOBJHUB) )
  318. &CREATE_RING_CONN (
  319. ## ArgIndex for parameter: 'CREATE_RING_CONN-HUBSET'
  320. ## ArgType found for parameter: 'CREATE_RING_CONN-HUBSET' is 'SET_REF_SET'
  321. HUBSET=>&FRSSUP::SelectSet(MOBJHUB) );
  322. ## CREATE_HUB_SPOKE_CONN(/HUBSET=<MOBJHUB>
  323. ## ExpandSetRef: CREATE_HUB_SPOKE_CONN(/HUBSET=&FRSSUP::SelectSet(MOBJHUB)
  324. ## /BCHSET=<MOBJBCH>
  325. ## ExpandSetRef: /BCHSET=&FRSSUP::SelectSet(MOBJBCH)
  326. ## /SC1=%SC1% )
  327. ## ExpandArgStr: /SC1=$__args{SC1} )
  328. &CREATE_HUB_SPOKE_CONN (
  329. ## ArgIndex for parameter: 'CREATE_HUB_SPOKE_CONN-HUBSET'
  330. ## ArgType found for parameter: 'CREATE_HUB_SPOKE_CONN-HUBSET' is 'SET_REF_SET'
  331. ## ArgIndex for parameter: 'CREATE_HUB_SPOKE_CONN-BCHSET'
  332. ## ArgType found for parameter: 'CREATE_HUB_SPOKE_CONN-BCHSET' is 'SET_REF_SET'
  333. ## ArgIndex for parameter: 'CREATE_HUB_SPOKE_CONN-SC1'
  334. ## ArgType found for parameter: 'CREATE_HUB_SPOKE_CONN-SC1' is 'SCHEDULE'
  335. HUBSET=>&FRSSUP::SelectSet(MOBJHUB), BCHSET=>&FRSSUP::SelectSet(MOBJBCH), SC1=>$__args{SC1} );
  336. ## FRS_END_SUB
  337. &FRSSUP::DeleteSet("MOBJHUB");
  338. &FRSSUP::DeleteSet("MOBJBCH");
  339. } # FRS_END_SUB
  340. ## SETTINGS: FRS_SETTINGS (/DN="cn=services,cn=configuration,dc=frs1221,dc=nttest,dc=microsoft,dc=com"
  341. ## /ONAME="cn=ntfrs test settings")
  342. $__HashRef = FRS_SETTINGS->New(
  343. ## ArgIndex for parameter: 'DN'
  344. ## ArgType found for parameter: 'DN' is 'VALUE_STR'
  345. ## ArgIndex for parameter: 'ONAME'
  346. ## ArgType found for parameter: 'ONAME' is 'VALUE_STR'
  347. DN=>"cn=services,cn=configuration,dc=frs1221,dc=nttest,dc=microsoft,dc=com", ONAME=>"cn=ntfrs test settings"
  348. );
  349. &FRSSUP::AddToSet("SETTINGS", $__HashRef);
  350. ## SET: FRS_REPLICASET (/UNDER=<SETTINGS> /TYPE=DFS /ONAME="HubSpokeRepSet")
  351. ## ExpandSetRef: SET: FRS_REPLICASET (/UNDER=&FRSSUP::SelectSet(SETTINGS) /TYPE=DFS /ONAME="HubSpokeRepSet")
  352. $__HashRef = FRS_REPLICASET->New(
  353. ## ArgIndex for parameter: 'UNDER'
  354. ## ArgType found for parameter: 'UNDER' is 'SET_ELEMENT'
  355. ## ArgIndex for parameter: 'TYPE'
  356. ## ArgType found for parameter: 'TYPE' is 'VALUE_CHOICE_SINGLE'
  357. ## ArgIndex for parameter: 'ONAME'
  358. ## ArgType found for parameter: 'ONAME' is 'VALUE_STR'
  359. UNDER=>&FRSSUP::SelectSet(SETTINGS)->[0], TYPE=>DFS, ONAME=>"HubSpokeRepSet"
  360. );
  361. &FRSSUP::AddToSet("SET", $__HashRef);
  362. ## CREATE_HUB_SPOKE(/HUBSET=<HUB>
  363. ## ExpandSetRef: CREATE_HUB_SPOKE(/HUBSET=&FRSSUP::SelectSet(HUB)
  364. ## /BCHSET=<BCH>
  365. ## ExpandSetRef: /BCHSET=&FRSSUP::SelectSet(BCH)
  366. ## /SC1=<PRIMARY_SCH>
  367. ## ExpandSetRef: /SC1=&FRSSUP::SelectSet(PRIMARY_SCH)
  368. ## /REPSETDN=<SET>)
  369. ## ExpandSetRef: /REPSETDN=&FRSSUP::SelectSet(SET))
  370. &CREATE_HUB_SPOKE (
  371. ## ArgIndex for parameter: 'CREATE_HUB_SPOKE-HUBSET'
  372. ## ArgType found for parameter: 'CREATE_HUB_SPOKE-HUBSET' is 'SET_REF_SET'
  373. ## ArgIndex for parameter: 'CREATE_HUB_SPOKE-BCHSET'
  374. ## ArgType found for parameter: 'CREATE_HUB_SPOKE-BCHSET' is 'SET_REF_SET'
  375. ## ArgIndex for parameter: 'CREATE_HUB_SPOKE-SC1'
  376. ## ArgType found for parameter: 'CREATE_HUB_SPOKE-SC1' is 'SCHEDULE'
  377. ## ArgIndex for parameter: 'CREATE_HUB_SPOKE-REPSETDN'
  378. ## ArgType found for parameter: 'CREATE_HUB_SPOKE-REPSETDN' is 'SET_ELEMENT'
  379. HUBSET=>&FRSSUP::SelectSet(HUB), BCHSET=>&FRSSUP::SelectSet(BCH), SC1=>&FRSSUP::SelectSet(PRIMARY_SCH)->[0], REPSETDN=>&FRSSUP::SelectSet(SET)->[0] );
  380. __END__